Deploy & Configure
This section is for the DevOps, IT, and AI engineers in charge of setting up auxilia for a team (or for a solo developer running it on their own infrastructure). Everything a workspace admin needs to get auxilia running, connected to your data, and observable lives here.
If you only need a quick local run to try the product, head to Get Started. For how to build and configure agents once auxilia is up, see Build Agents.
What “deploying auxilia” actually involves
auxilia is composed of four services. You’ll decide where each one runs, how they talk to each other, and which external integrations are turned on.
| Service | Technology | Purpose |
|---|---|---|
| Backend | FastAPI + LangGraph | Agent runtime, MCP client, auth, API |
| Web | Next.js 16 + React 19 | User interface and backend proxy |
| Database | PostgreSQL 17 + Redis 7 | Persistence, checkpoints, OAuth token storage |
| Sandbox | OpenSandbox (optional) | Isolated code execution for agents |
The repository ships with everything you need to build and run these:
backend/Dockerfile # FastAPI backend
web/Dockerfile # Next.js frontend
docker-compose.yml # production compose file
docker-compose.dev.yml # postgres + redis for local devThe full setup checklist
A typical deployment goes through these steps — each one has its own page:
- Environment variables — pick a database, configure secrets, choose at least one LLM provider
- Deploy the services — Cloud Run or VM / Docker host
- User management — create the first admin, invite teammates, set up Google OAuth, mint personal access tokens
- MCP servers — register the tools (Notion, HubSpot, BigQuery, …) you want agents to use
- Sandbox — run OpenSandbox if you want agents to execute code
- Observability (Langfuse) — trace LLM calls and tool calls
- Slack integration — connect your Slack workspace
Steps 1–3 are mandatory. Steps 4–7 are additive — enable only what your team needs.
Migrations
Alembic migrations run automatically at backend startup (alembic upgrade head is invoked by the entrypoint). No extra step is needed on deploy — just restart the backend when pulling a new image.
Reverse proxy / HTTPS
The web container listens on port 3000 and proxies /api/backend/* to the backend on port 8000. Put a TLS-terminating reverse proxy in front (Cloud Run, Nginx, Caddy, Cloudflare, …) and set COOKIE_SECURE=true, FRONTEND_URL=https://your-domain.