
Latitude
The Open-Source Prompt Engineering Platform
minio-provision
minio/mc
Just deployed
minio-console
railwayapp-templates/minio-console
Just deployed
Redis
bitnami/redis:7.2.5
Just deployed
/bitnami
gateway
latitude-dev/gateway:latest
Just deployed
migrations
latitude-dev/migrations:latest
Just deployed
web
latitude-dev/web:latest
Just deployed
workers
latitude-dev/workers:latest
Just deployed
websockets
latitude-dev/websockets:latest
Just deployed
minio-bucket
minio/minio:latest
Just deployed
/data
Postgres
railwayapp-templates/postgres-ssl:16
Just deployed
/var/lib/postgresql/data
Deploy and Host Latitude on Railway
Latitude is an open-source prompt engineering platform that provides complete lifecycle management for AI applications. It enables teams to collaboratively design, test, deploy, and evaluate prompts with advanced versioning, monitoring, and deployment capabilities.
About Hosting Latitude
Hosting Latitude provides a comprehensive platform for AI prompt engineering that spans the entire development lifecycle from creation to production monitoring. Built for cross-functional teams, it offers collaborative prompt development with PromptL language support, interactive testing playgrounds, API deployment capabilities, and systematic evaluation tools. The self-hosted version gives you complete control over your AI development process while maintaining data privacy and security. With features like automatic logging, batch evaluations, dataset management, and seamless integrations, Latitude transforms how teams build and maintain reliable AI applications.
Common Use Cases
- Enterprise AI Development: Centralize prompt engineering workflows for teams building AI-powered applications with version control, collaboration, and deployment management
- AI Application Testing: Create systematic evaluation pipelines for AI models using LLM-as-judge, programmatic rules, and human review processes before production deployment
- Prompt API Management: Deploy and maintain prompt-based APIs with automatic updates, monitoring, and performance tracking for production AI services
- Cross-functional AI Collaboration: Enable developers, product managers, and domain experts to collaborate on AI prompt development through shared workspaces and evaluation frameworks
Dependencies for Latitude Hosting
- PostgreSQL: Primary database for storing prompts, evaluations, logs, and user data
- Redis: Caching and session management for improved performance
Deployment Dependencies
Implementation Details
Key environment variables for deployment:
# Database Configuration
DATABASE_URL=postgresql://user:password@host:port/database
REDIS_URL=redis://host:port
# Application Configuration
NEXTAUTH_SECRET=your-nextauth-secret
NEXTAUTH_URL=https://your-domain.com
# AI Provider Configuration
OPENAI_API_KEY=your-openai-key
ANTHROPIC_API_KEY=your-anthropic-key
# Email Configuration (Optional)
[email protected]
SMTP_HOST=your-smtp-host
SMTP_PORT=587
SMTP_USER=your-smtp-user
SMTP_PASSWORD=your-smtp-password
# Security
ENCRYPTION_KEY=your-encryption-key
JWT_SECRET=your-jwt-secret
Basic workflow after deployment:
- Create prompts using the PromptL editor
- Test prompts in the interactive playground
- Run batch evaluations on datasets
- Deploy prompts as API endpoints
- Monitor performance through logs and evaluations
Why Deploy Latitude on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Latitude on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
minio-provision
minio/mcminio-console
railwayapp-templates/minio-consoleRedis
bitnami/redis:7.2.5DEFAULT_PROVIDER_API_KEY
Default OpenAI API key for providers
migrations
ghcr.io/latitude-dev/migrations:latestDEFAULT_PROVIDER_API_KEY
Default OpenAI API key for providers
DEFAULT_PROVIDER_API_KEY
Default OpenAI API key for providers
DEFAULT_PROVIDER_API_KEY
Default OpenAI API key for providers
websockets
ghcr.io/latitude-dev/websockets:latestDEFAULT_PROVIDER_API_KEY
Default OpenAI API key for providers
minio-bucket
minio/minio:latest