The standalone is a single FastAPI process. Anywhere you can run a Python container, you can run Idun. The pages under this section cover the supported deployment surfaces.Documentation Index
Fetch the complete documentation index at: https://docs.idun-group.com/llms.txt
Use this file to discover all available pages before exploring further.
Pick a target
Google Cloud Run
Managed container with HTTPS, autoscaling, and Cloud SQL Postgres. The shortest path to a production deployment.
Docker on any host
Dockerfile.example + cloud-run.example.yaml adapt to AWS Fargate, Azure Container Apps, GKE, a VM with Docker, or any container host.Engine-only mode
Skip the DB and admin REST. Use
idun agent serve --source file --path config.yaml when you have your own admin stack and only need the runtime.Production hardening
The minimum production checklist: admin auth, TLS termination, bind address, Postgres, secrets management.
What you’re deploying
pip install idun-agent-engine produces one wheel containing:
- The engine runtime (
idun-agent-engine) - The standalone admin / chat / traces app (
idun-agent-standalone) - The shared schema (
idun-agent-schema) - The
idunconsole script
idun serve inside a container, behind a TLS-terminating proxy or managed load balancer. SQLite is the default DB; Postgres is enabled by setting DATABASE_URL.
Docker on any host
The standalone wheel installs cleanly into any minimal Python 3.12 image. A typical Dockerfile looks like:Dockerfile
Dockerfile.example and a cloud-run.example.yaml you can copy as a starting point. See Deploy to Cloud Run for the full walkthrough, including secrets management and the Cloud SQL annotations.
For any other container host:
- AWS Fargate / ECS: build the image, push to ECR, point the task definition at the image. Set
IDUN_HOST=0.0.0.0and the$PORTmapping to whatever the load balancer expects. - Azure Container Apps: same shape; set
IDUN_HOST=0.0.0.0andIDUN_PORT=80. - Kubernetes: a
Deploymentwith one replica, aServicefor the port, and aSecretforIDUN_ADMIN_PASSWORD_HASH+IDUN_SESSION_SECRET+DATABASE_URLis enough. Mount the secret as env. Scale to one replica per agent (the standalone is single-tenant). - A VM with Docker or Podman: copy the image,
docker runwith the env file and a reverse proxy in front.
Engine-only mode
If you have your own admin stack, your own observability, and your own deployment platform, skip the standalone DB / admin REST entirely:/agent/run. Use this for CI/CD pipelines, headless integrations, or thin runtime workers that sit behind a control plane you already operate.
Next steps
Deploy to Cloud Run
The shortest managed path with HTTPS, autoscaling, and Cloud SQL Postgres.
Production hardening
Lock down admin auth, TLS, secrets, and trace retention before exposing the service.
CLI reference
Every flag and env var for
idun serve, idun setup, and engine-only mode.