CLI Deployment
Quick Deployment with CLI
The simplest way to deploy your agent is using the NOMOS CLI:CLI Usage Guide
See complete deployment options in the CLI documentation
Docker Base Image
NOMOS provides a base Docker image that you can use to quickly containerize your agents. The base image is available on Docker Hub asdowhiledev/nomos-base
.
1
Create a Dockerfile using the base image
2
Or Build from scratch
3
Build and run your container
Environment Variables
Essential environment variables for deployment:Variable | Description | Required |
---|---|---|
OPENAI_API_KEY | OpenAI API key | If using OpenAI |
ANTHROPIC_API_KEY | Anthropic API key | If using Anthropic |
MISTRAL_API_KEY | Mistral API key | If using Mistral |
GOOGLE_API_KEY | Google API key | If using Gemini |
HUGGINGFACE_API_TOKEN | HuggingFace token | If using HuggingFace |
JWT_SECRET_KEY | JWT secret key | If using JWT auth |
CSRF_SECRET_KEY | CSRF secret key | If using CSRF protection |
API_KEY_VALIDATION_URL | API key validation endpoint URL | If using API key auth |
SESSION_STORE | Session store type | Optional |
DATABASE_URL | Database connection URL | If using production session store |
REDIS_URL | Redis connection URL | If using production session store |
Security Configuration
NOMOS now includes comprehensive security features that can be configured for production deployments:Authentication
Rate Limiting & CSRF Protection
Security Documentation
Complete security configuration guide
Production Considerations
Security
Enable authentication, rate limiting, and CSRF protection
Scaling
Configure multiple workers for high traffic
Monitoring
Enable logging and monitoring for production
Health Checks
Built-in health check endpoints at /health
Cloud Deployment
Docker Compose
For orchestrated deployments:Kubernetes
Basic Kubernetes deployment:Remember to properly manage secrets and API keys in production environments. Use Kubernetes secrets or your cloud provider’s secret management service.