Deployment
The Archestra Platform can be deployed using Docker for development and testing, or Helm for production environments. Both deployment methods provide access to the Admin UI on port 3000 and the API on port 9000.
Docker Deployment
Docker deployment provides the fastest way to get started with Archestra Platform, ideal for tinkering and testing purposes.
Docker Prerequisites
- Docker - Container runtime (Install Docker)
Quickstart Deployment
Run the platform with a single command:
docker pull archestra/platform:latest;
docker run -p 9000:9000 -p 3000:3000 \
-e ARCHESTRA_QUICKSTART=true \
-v /var/run/docker.sock:/var/run/docker.sock \
-v archestra-postgres-data:/var/lib/postgresql/data \
-v archestra-app-data:/app/data \
archestra/platform;
This will start the platform with:
- Admin UI available at http://localhost:3000
- API available at http://localhost:9000
- Auth Secret auto-generated and saved to
/app/data/.auth_secret(persisted across restarts) - MCP Kubernetes Orchestrator via KinD
Note: The -v /var/run/docker.sock:/var/run/docker.sock mount enables the embedded Kubernetes cluster for MCP server execution. This is required for the quick-start Docker deployment. For production, use the Helm deployment with an external Kubernetes cluster instead.
If you have Kubernetes installed locally, you can use it for the MCP orchestrator. Make sure kubectl points to the right cluster and run the container without the socket and without ARCHESTRA_QUICKSTART. The orchestrator will create a cluster in the current context. See Development with Standalone Kubernetes
docker run -p 9000:9000 -p 3000:3000 \
- -e ARCHESTRA_QUICKSTART=true \
- -v /var/run/docker.sock:/var/run/docker.sock \
-v archestra-postgres-data:/var/lib/postgresql/data \
-v archestra-app-data:/app/data \
archestra/platform;
Running the platform without Kubernetes (or its alternatives) is also possible. This just makes MCP orchestrator unavailable in the app.
Using External PostgreSQL
To use an external PostgreSQL database, pass the DATABASE_URL environment variable:
docker pull archestra/platform:latest;
docker run -p 9000:9000 -p 3000:3000 \
-e DATABASE_URL=postgresql://user:password@host:5432/database \
archestra/platform
⚠️ Important: If you don't specify DATABASE_URL, PostgreSQL will run inside the container for you. This approach is meant for development and tinkering purposes only and is not intended for production, as the data is not persisted when the container stops.
Helm Deployment
Helm deployment is our recommended approach for deploying Archestra Platform to production environments.
Helm Prerequisites
- Kubernetes cluster - A running Kubernetes cluster
- Helm 3+ - Package manager for Kubernetes (Install Helm)
- kubectl - Kubernetes CLI (Install kubectl)
Installation
Install Archestra Platform using the Helm chart from our OCI registry:
helm upgrade archestra-platform \
oci://europe-west1-docker.pkg.dev/friendly-path-465518-r6/archestra-public/helm-charts/archestra-platform \
--install \
--namespace archestra \
--set archestra.env.HOSTNAME="0.0.0.0" \
--create-namespace \
--wait
This command will:
- Install or upgrade the release named
archestra-platform - Create the namespace
archestraif it doesn't exist - Wait for all resources to be ready
Configuration
The Helm chart provides extensive configuration options through values. For the complete configuration reference, see the values.yaml file.
Core Configuration
Archestra Platform Settings:
archestra.image- Docker image repository for the Archestra Platform (default:archestra/platform). See available tagsarchestra.imageTag- Image tag for the Archestra Platform. New Helm releases update this value to latest available image tag.archestra.imagePullPolicy- Image pull policy for the Archestra container (default: IfNotPresent). Options: Always, IfNotPresent, Neverarchestra.replicaCount- Number of pod replicas (default: 1). Ignored when HPA is enabledarchestra.env- Environment variables to pass to the container (see Environment Variables section for available options). Supports Kubernetes$(VAR_NAME)expansion syntax.archestra.envWithValueFrom- Environment variables withvalueFromfor Kubernetes downward API (fieldRef,resourceFieldRef) or other sources. Required for defining variables likeNODE_IPthat can be referenced via$(NODE_IP)in other env vars.archestra.envFromSecrets- Environment variables from Kubernetes Secrets (inject sensitive data from secrets)archestra.envFrom- Import all key-value pairs from Secrets or ConfigMaps as environment variables
Example:
helm upgrade archestra-platform \
oci://europe-west1-docker.pkg.dev/friendly-path-465518-r6/archestra-public/helm-charts/archestra-platform \
--install \
--namespace archestra \
--create-namespace \
--wait
Note: ARCHESTRA_AUTH_SECRET is optional and will be auto-generated (64 characters) if not specified. If you need to set it manually, it must be at least 32 characters:
# Generate a secure secret
openssl rand -base64 32
# Then add to your helm command:
--set archestra.env.ARCHESTRA_AUTH_SECRET=<your-generated-secret>
MCP Server Runtime Configuration
Orchestrator Settings:
archestra.orchestrator.baseImage- Base Docker image for MCP server containers (defaults to official Archestra MCP server base image)
Kubernetes Settings:
archestra.orchestrator.kubernetes.namespace- Kubernetes namespace where MCP server pods will be created (defaults to Helm release namespace)archestra.orchestrator.kubernetes.loadKubeconfigFromCurrentCluster- Use in-cluster configuration (recommended when running inside K8s)archestra.orchestrator.kubernetes.kubeconfig.enabled- Enable mounting kubeconfig from a secretarchestra.orchestrator.kubernetes.kubeconfig.secretName- Name of secret containing kubeconfig filearchestra.orchestrator.kubernetes.kubeconfig.mountPath- Path where kubeconfig will be mountedarchestra.orchestrator.kubernetes.serviceAccount.create- Create a service account (default: true)archestra.orchestrator.kubernetes.serviceAccount.annotations- Annotations for cloud integrations (e.g., GKE Workload Identity, AWS IRSA)archestra.orchestrator.kubernetes.serviceAccount.name- Name of the service account (auto-generated if not set)archestra.orchestrator.kubernetes.serviceAccount.imagePullSecrets- Image pull secrets for the service accountarchestra.orchestrator.kubernetes.rbac.create- Create RBAC resources (default: true)archestra.orchestrator.kubernetes.mcpServerRbac.create- Create MCP server RBAC resources (ServiceAccount, Role, RoleBinding) for Kubernetes MCP server (default: true)archestra.orchestrator.kubernetes.mcpServerRbac.additionalClusterRoleBindings- Additional ClusterRoleBindings to attach to the MCP K8s operator service account for cluster-wide permissionsarchestra.orchestrator.kubernetes.mcpServerRbac.additionalRoleBindings- Additional RoleBindings to attach to the MCP K8s operator service account for namespace-scoped permissions
Service, Deployment, & Ingress Configuration
Deployment Settings:
archestra.podAnnotations- Annotations to add to pods (useful for Prometheus, Vault agent, service mesh sidecars, etc.)archestra.nodeSelector- Node selector for scheduling pods on specific nodes (e.g., specific node pools or instance types)archestra.deploymentStrategy- Deployment strategy configuration (default: RollingUpdate with maxUnavailable: 0 for zero-downtime deployments)archestra.resources- CPU and memory requests/limits for the container (default: 2Gi request, 3Gi limit for memory)
Service Settings:
archestra.service.type- Service type: ClusterIP, NodePort, or LoadBalancer (default: ClusterIP)archestra.service.annotations- Annotations to add to the Kubernetes Service for cloud provider integrationsarchestra.service.nodePorts- Node ports for NodePort service type (backend, metrics, frontend)
Ingress Settings:
archestra.ingress.enabled- Enable or disable ingress creation (default: false)archestra.ingress.annotations- Annotations for ingress controller and load balancer behaviorarchestra.ingress.spec- Complete ingress specification for advanced configurations
GKE BackendConfig Settings (Google Cloud only):
archestra.gkeBackendConfig.enabled- Enable or disable GKE BackendConfig resources (default: false)archestra.gkeBackendConfig.backend.timeoutSec- Request timeout for backend API (recommended: 600 for streaming)archestra.gkeBackendConfig.backend.connectionDraining.drainingTimeoutSec- Connection draining timeout for backendarchestra.gkeBackendConfig.backend.healthCheck- Health check configuration for backend (port 9000)archestra.gkeBackendConfig.frontend.timeoutSec- Request timeout for frontendarchestra.gkeBackendConfig.frontend.connectionDraining.drainingTimeoutSec- Connection draining timeout for frontendarchestra.gkeBackendConfig.frontend.healthCheck- Health check configuration for frontend (port 3000)
Cloud Provider Configuration (Streaming Timeout Settings)
⚠️ IMPORTANT: Archestra Platform requires proper timeout settings on the upstream load balancer. Without longer timeouts, streaming responses may end prematurely, resulting in a “network error”
Google Cloud Platform (GKE)
For GKE deployments using the GCE Ingress Controller, configure load balancer timeouts and health checks using BackendConfig resources. The Helm chart can create and manage these resources for you.
Enable the gkeBackendConfig section in your values:
archestra:
gkeBackendConfig:
enabled: true
backend:
timeoutSec: 600 # 10 minutes for streaming responses
connectionDraining:
drainingTimeoutSec: 60
frontend:
timeoutSec: 600
connectionDraining:
drainingTimeoutSec: 60
service:
annotations:
cloud.google.com/backend-config: '{"ports": {"9000":"RELEASE_NAME-archestra-platform-backend-config", "3000":"RELEASE_NAME-archestra-platform-frontend-config"}}'
Apply via Helm (replace RELEASE_NAME with your actual release name, e.g., archestra-platform):
helm upgrade archestra-platform \
oci://europe-west1-docker.pkg.dev/friendly-path-465518-r6/archestra-public/helm-charts/archestra-platform \
--install \
--namespace archestra \
--create-namespace \
--set archestra.gkeBackendConfig.enabled=true \
--set archestra.gkeBackendConfig.backend.timeoutSec=600 \
--set archestra.gkeBackendConfig.frontend.timeoutSec=600 \
--set-string archestra.service.annotations."cloud\.google\.com/backend-config"='{"ports": {"9000":"archestra-platform-archestra-platform-backend-config", "3000":"archestra-platform-archestra-platform-frontend-config"}}' \
--wait
The Helm chart creates two BackendConfig resources with health checks tuned for deployments:
<release>-archestra-platform-backend-config- For the API backend (port 9000)<release>-archestra-platform-frontend-config- For the frontend (port 3000)
Amazon Web Services (AWS EKS)
For AWS EKS with Application Load Balancer (ALB), configure timeout annotations on the Service:
archestra:
service:
annotations:
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "http"
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "600"
Apply via Helm:
helm upgrade archestra-platform \
oci://europe-west1-docker.pkg.dev/friendly-path-465518-r6/archestra-public/helm-charts/archestra-platform \
--install \
--namespace archestra \
--create-namespace \
--set-string archestra.service.annotations."service\.beta\.kubernetes\.io/aws-load-balancer-backend-protocol"=http \
--set-string archestra.service.annotations."service\.beta\.kubernetes\.io/aws-load-balancer-connection-idle-timeout"="600" \
--wait
Microsoft Azure (AKS)
For Azure AKS with Application Gateway Ingress Controller (AGIC), configure timeout annotations on the Ingress:
archestra:
ingress:
enabled: true
annotations:
appgw.ingress.kubernetes.io/request-timeout: "600"
appgw.ingress.kubernetes.io/connection-draining-timeout: "60"
Apply via Helm:
helm upgrade archestra-platform \
oci://europe-west1-docker.pkg.dev/friendly-path-465518-r6/archestra-public/helm-charts/archestra-platform \
--install \
--namespace archestra \
--create-namespace \
--set archestra.ingress.enabled=true \
--set-string archestra.ingress.annotations."appgw\.ingress\.kubernetes\.io/request-timeout"="600" \
--set-string archestra.ingress.annotations."appgw\.ingress\.kubernetes\.io/connection-draining-timeout"="60" \
--wait
Other Ingress Controllers (nginx, Traefik, etc.)
For nginx-ingress:
archestra:
ingress:
enabled: true
annotations:
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
For Traefik:
archestra:
ingress:
enabled: true
annotations:
traefik.ingress.kubernetes.io/service.passhostheader: "true"
# Configure timeout via Traefik IngressRoute or Middleware
Scaling & High Availability Configuration
HorizontalPodAutoscaler Settings:
archestra.horizontalPodAutoscaler.enabled- Enable or disable HorizontalPodAutoscaler creation (default: false)archestra.horizontalPodAutoscaler.minReplicas- Minimum number of replicas (default: 1)archestra.horizontalPodAutoscaler.maxReplicas- Maximum number of replicas (default: 10)archestra.horizontalPodAutoscaler.metrics- Metrics configuration for scaling decisionsarchestra.horizontalPodAutoscaler.behavior- Scaling behavior configuration
Example with CPU-based autoscaling:
archestra:
horizontalPodAutoscaler:
enabled: true
minReplicas: 2
maxReplicas: 10
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 80
behavior:
scaleDown:
stabilizationWindowSeconds: 300
policies:
- type: Percent
value: 10
periodSeconds: 60
scaleUp:
stabilizationWindowSeconds: 0
policies:
- type: Percent
value: 100
periodSeconds: 15
PodDisruptionBudget Settings:
archestra.podDisruptionBudget.enabled- Enable or disable PodDisruptionBudget creation (default: false)archestra.podDisruptionBudget.minAvailable- Minimum number of pods that must remain available (integer or percentage)archestra.podDisruptionBudget.maxUnavailable- Maximum number of pods that can be unavailable (integer or percentage)archestra.podDisruptionBudget.unhealthyPodEvictionPolicy- Policy for evicting unhealthy pods (IfHealthyBudget or AlwaysAllow)
Note: Only one of minAvailable or maxUnavailable can be set.
Example with minAvailable:
archestra:
podDisruptionBudget:
enabled: true
minAvailable: 1
unhealthyPodEvictionPolicy: IfHealthyBudget
Example with maxUnavailable percentage:
archestra:
podDisruptionBudget:
enabled: true
maxUnavailable: "25%"
See the Kubernetes documentation for more details:
Database Configuration
PostgreSQL Settings:
postgresql.external_database_url- External PostgreSQL connection string (recommended for production)postgresql.enabled- Whether to deploy a self-hosted PostgreSQL instance in your Kubernetes cluster (default: true)
For external PostgreSQL (recommended for production):
helm upgrade archestra-platform \
oci://europe-west1-docker.pkg.dev/friendly-path-465518-r6/archestra-public/helm-charts/archestra-platform \
--install \
--namespace archestra \
--create-namespace \
--set postgresql.external_database_url=postgresql://user:password@host:5432/database \
--wait
If you don't specify postgresql.external_database_url, the chart will deploy a managed PostgreSQL instance using the Bitnami PostgreSQL chart. For PostgreSQL-specific configuration options, see the Bitnami PostgreSQL Helm chart documentation.
Accessing the Platform
After installation, access the platform using port forwarding:
# Forward the API (port 9000) and the Admin UI (port 3000)
kubectl --namespace archestra port-forward svc/archestra-platform 9000:9000 3000:3000
Then visit:
- Admin UI: http://localhost:3000
- API: http://localhost:9000
Production Recommendations
PostgreSQL Infrastructure
For production deployments, we strongly recommend using a cloud-hosted PostgreSQL database instead of the bundled PostgreSQL instance. Cloud-managed databases provide:
- High availability with automatic failover
- Automated backups and point-in-time recovery
- Scaling without downtime
- Security with encryption at rest and in transit
- Monitoring and alerting out of the box
To use an external database, specify the connection string via the ARCHESTRA_DATABASE_URL environment variable. When using an external database, the bundled PostgreSQL instance is automatically disabled. See the Environment Variables section for details.
Infrastructure as Code
Terraform
For managing Archestra Platform resources, you can use our official Terraform provider to manage Archestra Platform declaratively.
Provider Configuration:
terraform {
required_providers {
archestra = {
source = "archestra-ai/archestra"
}
}
}
provider "archestra" {
base_url = "http://localhost:9000" # Your Archestra API URL
api_key = "your-api-key-here" # Can also use ARCHESTRA_API_KEY env var
}
Obtaining an API Key: See the API Reference documentation for instructions on creating an API key.
You can also set these values via environment variables instead of hardcoding them:
export ARCHESTRA_API_KEY="your-api-key-here"
export ARCHESTRA_BASE_URL="https://api.archestra.example.com"
For complete documentation, examples, and resource reference, visit the Archestra Terraform Provider Documentation.
Environment Variables
The following environment variables can be used to configure Archestra Platform.
Application & API Configuration
-
ARCHESTRA_DATABASE_URL- PostgreSQL connection string for the database.- Format:
postgresql://user:password@host:5432/database - Default: Internal PostgreSQL (Docker) or managed instance (Helm)
- Required for production deployments with external database
- Format:
-
ARCHESTRA_API_BASE_URL- Archestra API Base URL(s) for connecting to Archestra's LLM Proxy, MCP Gateway and A2A Gateway.This URL is displayed in the UI connection instructions to help users configure their agents. It doesn't affect internal routing (Archestra frontend communicates with backend via
http://localhost:9000).- Default: Falls back to
http://localhost:9000 - Supports multiple comma-separated URLs for different connection options (e.g., internal K8s URL and external ingress)
- Single URL example:
https://api.archestra.com - Multiple URLs example:
http://archestra.default.svc:9000,https://api.archestra.example.com - Use case: Set this when your external access URL differs from the internal service URL (common in Kubernetes with ingress/load balancers)
- Default: Falls back to
-
ARCHESTRA_API_BODY_LIMIT- Maximum request body size for LLM proxy and chat routes.- Default:
50MB(52428800 bytes) - Format: Numeric bytes (e.g.,
52428800) or human-readable (e.g.,50MB,100KB,1GB) - Note: Increase this if you have conversations with very large context windows (100k+ tokens) or large file attachments in chat
- Default:
-
ARCHESTRA_FRONTEND_URL- The URL where users access the frontend application.- Example:
https://frontend.example.com - Required for production deployments when accessing the frontend via a custom domain or subdomain (not localhost), optional for local development
- Example:
-
ARCHESTRA_GLOBAL_TOOL_POLICY- Controls how tool invocation is treated across the LLM proxy.- Default:
permissive - Values:
permissiveorrestrictive permissive: Tools are allowed, unless a specific policy is set for them.restrictive: Tools are forbidden, unless a specific policy is set for them.
- Default:
-
ARCHESTRA_ANALYTICS- Controls PostHog analytics for product improvements.- Default:
enabled - Set to
disabledto opt-out of analytics
- Default:
-
ARCHESTRA_LOGGING_LEVEL- Log level for Archestra- Default:
info - Supported values:
trace,debug,info,warn,error,fatal
- Default:
-
ARCHESTRA_ENTERPRISE_LICENSE_ACTIVATED- Activates enterprise features in Archestra.- Please reach out to sales@archestra.ai to learn more about the license.
Authentication & Security
-
ARCHESTRA_AUTH_SECRET- Secret key used for signing authentication tokens and passwords.- Auto-generated once on first run. Set manually if you need to control the secret value. Must be at least 32 characters long.
- Example:
something-really-really-secret-12345
-
ARCHESTRA_AUTH_ADMIN_EMAIL- Email address for the default Archestra Admin user, created on startup.- Default:
admin@localhost.ai
- Default:
-
ARCHESTRA_AUTH_ADMIN_PASSWORD- Password for the default Archestra Admin user. Set once on first-run.- Default:
password - Note: Change this to a secure password for production deployments
- Default:
-
ARCHESTRA_AUTH_COOKIE_DOMAIN- Cookie domain configuration for authentication.- Should be set to the domain of the
ARCHESTRA_FRONTEND_URL - Example: If frontend is at
https://frontend.example.com, set toexample.com - Required when using different domains or subdomains for frontend and backend
- Should be set to the domain of the
-
ARCHESTRA_AUTH_DISABLE_BASIC_AUTH- Hides the username/password login form on the sign-in page.- Default:
false - Set to
trueto disable basic authentication and require users to authenticate via SSO only - Note: Configure at least one SSO provider before enabling this option. See Single Sign-On for SSO configuration.
- Default:
-
ARCHESTRA_AUTH_DISABLE_INVITATIONS- Disables user invitations functionality.- Default:
false - Set to
trueto hide invitation-related UI and block invitation API endpoints - When enabled, administrators cannot create new invitations, and the invitation management UI is hidden
- Useful for environments where user provisioning is handled externally (e.g., via SSO with automatic provisioning)
- Default:
-
ARCHESTRA_AUTH_ADDITIONAL_TRUSTED_ORIGINS- Additional trusted origins for authentication flows.- Default: None
- Format: Comma-separated list of origins (e.g.,
http://idp.example.com:8080,https://auth.example.com) - Use this to trust external identity providers (IdPs) for SSO OIDC discovery URL validation
- Required when configuring SSO with external identity providers hosted on different domains
-
ARCHESTRA_SECRETS_MANAGER- Secrets storage backend for managing sensitive data (API keys, tokens, etc.)- Default:
DB(database storage) - Options:
DBorVault - Note: When set to
Vault, requiresHASHICORP_VAULT_ADDRandHASHICORP_VAULT_TOKENto be configured
- Default:
-
ARCHESTRA_HASHICORP_VAULT_ADDR- HashiCorp Vault server address- Required when:
ARCHESTRA_SECRETS_MANAGER=Vault - Example:
http://localhost:8200 - Note: System falls back to database storage if Vault is configured but credentials are missing
- Required when:
-
ARCHESTRA_HASHICORP_VAULT_TOKEN- HashiCorp Vault authentication token- Required when:
ARCHESTRA_SECRETS_MANAGER=Vault - Note: System falls back to database storage if Vault is configured but credentials are missing
- Required when:
-
ARCHESTRA_DATABASE_URL_VAULT_REF- Read the database connection string from Vault instead of environment variables.- Optional: Only used when
ARCHESTRA_SECRETS_MANAGER=READONLY_VAULT - Format:
path:keywherepathis the Vault secret path andkeyis the field containing the database URL - KV v2 example:
secret/data/archestra/database:connection_string - KV v1 example:
secret/archestra/database:connection_string
- Optional: Only used when
LLM Provider Configuration
-
ARCHESTRA_OPENAI_BASE_URL- Override the OpenAI API base URL.- Default:
https://api.openai.com/v1 - Use this to point to your own proxy, an OpenAI-compatible API, or other custom endpoints
- Default:
-
ARCHESTRA_ANTHROPIC_BASE_URL- Override the Anthropic API base URL.- Default:
https://api.anthropic.com - Use this to point to your own proxy or other custom endpoints
- Default:
-
ARCHESTRA_GEMINI_BASE_URL- Override the Google Gemini API base URL.- Default:
https://generativelanguage.googleapis.com - Use this to point to your own proxy or other custom endpoints
- Note: This is only used when Vertex AI mode is disabled
- Default:
-
ARCHESTRA_VLLM_BASE_URL- Base URL for your vLLM server.- Required to enable vLLM provider support
- Example:
http://localhost:8000/v1(standard vLLM) - See: vLLM setup guide
-
ARCHESTRA_OLLAMA_BASE_URL- Base URL for your Ollama server.- Required to enable Ollama provider support
- Example:
http://localhost:11434/v1(default Ollama) - See: Ollama setup guide
-
ARCHESTRA_GEMINI_VERTEX_AI_ENABLED- Enable Vertex AI mode for Gemini.- Default:
false - Set to
trueto use Vertex AI instead of the Google AI Studio API - When enabled, uses Application Default Credentials (ADC) for authentication instead of API keys
- Requires
ARCHESTRA_GEMINI_VERTEX_AI_PROJECTto be set - See: Vertex AI setup guide
- Default:
-
ARCHESTRA_GEMINI_VERTEX_AI_PROJECT- Google Cloud project ID for Vertex AI.- Required when:
ARCHESTRA_GEMINI_VERTEX_AI_ENABLED=true - Example:
my-gcp-project-123
- Required when:
-
ARCHESTRA_GEMINI_VERTEX_AI_LOCATION- Google Cloud location/region for Vertex AI.- Default:
us-central1 - Example:
us-central1,europe-west1,asia-northeast1
- Default:
-
ARCHESTRA_GEMINI_VERTEX_AI_CREDENTIALS_FILE- Path to Google Cloud service account JSON key file.- Optional: Only needed when running outside of GCP or without Workload Identity
- Example:
/path/to/service-account-key.json - When not set, uses Application Default Credentials (ADC)
- See: Vertex AI setup guide
-
ARCHESTRA_CHAT_<PROVIDER>_API_KEY- LLM provider API keys for the built-in Chat feature.- Pattern:
ARCHESTRA_CHAT_ANTHROPIC_API_KEY,ARCHESTRA_CHAT_OPENAI_API_KEY,ARCHESTRA_CHAT_GEMINI_API_KEY,ARCHESTRA_CHAT_VLLM_API_KEY,ARCHESTRA_CHAT_OLLAMA_API_KEY - These serve as fallback API keys when no organization default or profile-specific key is configured
- Note:
ARCHESTRA_CHAT_VLLM_API_KEYandARCHESTRA_CHAT_OLLAMA_API_KEYare optional as most vLLM/Ollama deployments don't require authentication - See Chat for full details on API key configuration and resolution order
- Pattern:
-
ARCHESTRA_CHAT_DEFAULT_PROVIDER- Default LLM provider for Chat and A2A features.- Default:
anthropic - Options:
anthropic,openai,gemini - Used when no profile-specific provider is configured
- Default:
MCP Server Orchestrator
-
ARCHESTRA_ORCHESTRATOR_K8S_NAMESPACE- Kubernetes namespace to run MCP server pods.- Default:
default - Example:
archestra-mcporproduction
- Default:
-
ARCHESTRA_ORCHESTRATOR_MCP_SERVER_BASE_IMAGE- Base Docker image for MCP servers.- Default:
europe-west1-docker.pkg.dev/friendly-path-465518-r6/archestra-public/mcp-server-base:0.0.3 - Can be overridden per individual MCP server.
- Default:
-
ARCHESTRA_ORCHESTRATOR_LOAD_KUBECONFIG_FROM_CURRENT_CLUSTER- Use in-cluster config when running inside Kubernetes.- Default:
true - Set to
falsewhen Archestra is deployed in the different cluster and specify theARCHESTRA_ORCHESTRATOR_KUBECONFIG.
- Default:
-
ARCHESTRA_ORCHESTRATOR_KUBECONFIG- Path to the custom kubeconfig file to mount as a volume inside the container.- Optional: Uses default locations if not specified
- Example:
/path/to/kubeconfig
Observability & Metrics
-
ARCHESTRA_OTEL_EXPORTER_OTLP_ENDPOINT- OTEL Exporter endpoint for sending traces.- Default:
http://localhost:4318/v1/traces
- Default:
-
ARCHESTRA_OTEL_EXPORTER_OTLP_AUTH_USERNAME- Username for OTEL basic authentication.- Optional: Only used if both username and password are provided
- Example:
your-username
-
ARCHESTRA_OTEL_EXPORTER_OTLP_AUTH_PASSWORD- Password for OTEL basic authentication.- Optional: Only used if both username and password are provided
- Example:
your-password
-
ARCHESTRA_OTEL_EXPORTER_OTLP_AUTH_BEARER- Bearer token for OTEL authentication.- Optional: Takes precedence over basic authentication if provided
- Example:
your-bearer-token
-
ARCHESTRA_METRICS_SECRET- Bearer token for authenticating metrics endpoint access.- Default:
archestra-metrics-secret - Note: When set, clients must include
Authorization: Bearer <token>header to access/metrics
- Default:
Incoming Email Configuration
These environment variables configure the Incoming Email feature, which allows external users to invoke agents by sending emails. See Agents - Incoming Email for setup instructions.
-
ARCHESTRA_AGENTS_INCOMING_EMAIL_PROVIDER- Email provider to use for incoming email.- Default: Not set (feature disabled)
- Options:
outlook - Required to enable the incoming email feature
-
ARCHESTRA_AGENTS_INCOMING_EMAIL_OUTLOOK_TENANT_ID- Azure AD tenant ID for Microsoft Graph API.- Required when:
ARCHESTRA_AGENTS_INCOMING_EMAIL_PROVIDER=outlook - Example:
eeeee123-2205-4e2f-afb6-f83e5f588f40
- Required when:
-
ARCHESTRA_AGENTS_INCOMING_EMAIL_OUTLOOK_CLIENT_ID- Azure AD application (client) ID.- Required when:
ARCHESTRA_AGENTS_INCOMING_EMAIL_PROVIDER=outlook - Example:
88888dd-d6a1-4fd6-8783-b2f4931be17b
- Required when:
-
ARCHESTRA_AGENTS_INCOMING_EMAIL_OUTLOOK_CLIENT_SECRET- Azure AD application client secret.- Required when:
ARCHESTRA_AGENTS_INCOMING_EMAIL_PROVIDER=outlook - Note: Keep this value secure; do not commit to version control
- Required when:
-
ARCHESTRA_AGENTS_INCOMING_EMAIL_OUTLOOK_MAILBOX_ADDRESS- Email address of the mailbox to monitor.- Required when:
ARCHESTRA_AGENTS_INCOMING_EMAIL_PROVIDER=outlook - Example:
agents@yourcompany.com - This mailbox receives all agent-bound emails via plus-addressing
- Required when:
-
ARCHESTRA_AGENTS_INCOMING_EMAIL_OUTLOOK_EMAIL_DOMAIN- Override the email domain for agent addresses.- Optional: Defaults to domain extracted from
ARCHESTRA_AGENTS_INCOMING_EMAIL_OUTLOOK_MAILBOX_ADDRESS - Example:
yourcompany.com
- Optional: Defaults to domain extracted from
-
ARCHESTRA_AGENTS_INCOMING_EMAIL_OUTLOOK_WEBHOOK_URL- Public webhook URL for Microsoft Graph notifications.- Optional: If set, subscription is created automatically on server startup
- Example:
https://api.yourcompany.com/api/webhooks/incoming-email - If not set, configure the subscription manually via Settings > Incoming Email
ChatOps Configuration
These environment variables configure the ChatOps feature, which allows users to interact with agents through messaging platforms like Microsoft Teams. See Agents - ChatOps: Microsoft Teams for setup instructions.
Microsoft Teams
-
ARCHESTRA_CHATOPS_MS_TEAMS_ENABLED- Enable Microsoft Teams integration.- Default:
false - Set to
trueto enable the MS Teams chatops provider
- Default:
-
ARCHESTRA_CHATOPS_MS_TEAMS_APP_ID- Azure Bot App ID (Client ID).- Required when:
ARCHESTRA_CHATOPS_MS_TEAMS_ENABLED=true - Example:
88888dd-d6a1-4fd6-8783-b2f4931be17b - This is the Application (client) ID from your Azure Bot registration
- Required when:
-
ARCHESTRA_CHATOPS_MS_TEAMS_APP_PASSWORD- Azure Bot App Password (Client Secret).- Required when:
ARCHESTRA_CHATOPS_MS_TEAMS_ENABLED=true - Note: Keep this value secure; do not commit to version control
- This is the client secret from your Azure Bot registration
- Required when:
-
ARCHESTRA_CHATOPS_MS_TEAMS_TENANT_ID- Azure AD tenant ID for single-tenant bots.- Optional: Leave empty for multi-tenant bots (default)
- Set to your Azure AD tenant ID if your Azure Bot is configured as single-tenant
- Example:
eeeee123-2205-4e2f-afb6-f83e5f588f40 - Find in Azure Portal: Azure Bot → Configuration → Microsoft App ID (tenant) or Azure AD → Overview → Tenant ID
-
ARCHESTRA_CHATOPS_MS_TEAMS_GRAPH_TENANT_ID- Azure AD tenant ID for Microsoft Graph API (thread history).- Optional: Only required if you want to fetch conversation history for context
- Example:
eeeee123-2205-4e2f-afb6-f83e5f588f40
-
ARCHESTRA_CHATOPS_MS_TEAMS_GRAPH_CLIENT_ID- Azure AD application (client) ID for Graph API.- Optional: Only required if you want to fetch conversation history for context
- Can be the same as
ARCHESTRA_CHATOPS_MS_TEAMS_APP_IDif using the same app registration
-
ARCHESTRA_CHATOPS_MS_TEAMS_GRAPH_CLIENT_SECRET- Azure AD application client secret for Graph API.- Optional: Only required if you want to fetch conversation history for context
- Note: Keep this value secure; do not commit to version control
Knowledge Graph Configuration
These environment variables configure the Knowledge Graph feature, which automatically ingests documents uploaded via chat into a knowledge graph for enhanced retrieval. See Knowledge Graphs for setup instructions.
-
ARCHESTRA_KNOWLEDGE_GRAPH_PROVIDER- Knowledge graph provider to use.- Default: Not set (feature disabled)
- Options:
lightrag - Required to enable the knowledge graph feature
-
ARCHESTRA_KNOWLEDGE_GRAPH_LIGHTRAG_API_URL- URL of the LightRAG API server.- Required when:
ARCHESTRA_KNOWLEDGE_GRAPH_PROVIDER=lightrag - Example:
http://lightrag:9621 - The LightRAG server must be accessible from the Archestra backend
- Required when:
-
ARCHESTRA_KNOWLEDGE_GRAPH_LIGHTRAG_API_KEY- API key for authenticating with LightRAG.- Optional: Only required if your LightRAG server is configured with authentication
- Note: Keep this value secure; do not commit to version control