Skip to main content

Services

ServiceDefault PortURLDescription
Runtime8080http://localhost:8080Event-driven agent execution platform. Orchestrates multi-agent LLM runs (prompting, memory, tool execution, and retrieval flows).
Twyd8000http://localhost:8000Knowledge base service — topics, files, vector search.
Studio3001http://localhost:3001Agent builder. Login via Keycloak or Lite. In-app metrics dashboards for agents (OpenTelemetry; Prometheus-backed).
Insight Hub3000http://localhost:3000Knowledge exploration app — Topics, document ingestion, and streaming AI chat over the Alquimia runtime.
MongoDB27017Studio’s database (models, MCP, embeddings, settings).
Ollama11434http://localhost:11434Local LLM inference (with-local-models profile only).

Environment variables

All configuration lives in .env in the alquimia-local directory.

Shared

VariableDescription
API_TOKENInternal API token shared between services
AUTH_PROVIDERAuthentication provider identifier
ASSISTANT_BASEURLRegistry API base URL (used by Studio)

Models (cloud & custom endpoints)

Cloud providers, API keys, and Base URL overrides (including OpenAI-compatible proxies and local inference URLs) are configured in Studio → Settings → Models Registry, not via provider blocks in .env.

Runtime

VariableDescription
RUNTIME_HOST_PORTExternal port for the Runtime service (default: 8080)
K_SINKEvent sink URL for async messaging
ALQUIMIA_REGISTRY_DIRDirectory for local registry storage

Router

VariableDescription
ROUTER_HOST_PORTExternal port for the Router service (default: 8081)
ALQUIMIA_RUNTIME_URLURL the Router uses to reach the Runtime
ROUTER_RUNTIME_TIMEOUT_SECONDSRequest timeout in seconds

Studio

VariableDescription
STUDIO_HOST_PORTExternal port for Studio (default: 3001)
AUTH_KEYCLOAK_IDKeycloak client ID
AUTH_KEYCLOAK_SECRETKeycloak client secret
AUTH_KEYCLOAK_ISSUERKeycloak issuer URL
STUDIO_NEXTAUTH_SECRETNextAuth.js session secret

Database

VariableDescription
POSTGRES_USERPostgres username
POSTGRES_PASSWORDPostgres password
POSTGRES_DBPostgres database name
MONGO_INITDB_ROOT_USERNAMEMongoDB root username
MONGO_INITDB_ROOT_PASSWORDMongoDB root password

MinIO

VariableDescription
MINIO_ROOT_USERMinIO admin username
MINIO_ROOT_PASSWORDMinIO admin password
BLOB_S3_*S3-compatible storage configuration for Twyd

Ollama (local models profile)

VariableDescription
OLLAMA_MODELSSpace-separated model names to pull and register
OLLAMA_HOST_PORTExternal port for Ollama (default: 11434)
OLLAMA_BASE_URLBase URL used by the Runtime to call Ollama

Insight Hub

Insight Hub is the knowledge-exploration UI (topics, documents, streaming chat). It is not the observability surface for agents — that lives in Studio (see Studio row above).
VariableDescription
INSIGHT_HUB_HOST_PORTExternal port for Insight Hub (default: 3000)
INSIGHT_HUB_AUTH_PROVIDERAuth provider for Insight Hub
All port variables follow the pattern {SERVICE}_HOST_PORT. Override them in .env before running docker compose up — changing them after containers are created requires docker compose down first.