CALIBER
Quickstart
Reference

Config and environment reference

The operator and integrator lookup surface for the configuration families exposed in the current repository.

OperatorDeveloperReferenceGA
PrerequisitesA CALIBER deployment or integration configuration question
Reviewed 2026-10-15 · current main branch docs contract

This page is the operator and integrator lookup surface for the configuration families that are exposed in the current repository. Use it as the fast index, then move into the deeper runtime docs when you need subsystem detail.

At a glance

FamilyRepresentative settingsUse when
Local ports and launchCALIBER_PORT, MLFLOW_PORT, MLFLOW_GATEWAY_PORTbringing up the local suite
Core runtimeCALIBER_DATABASE_URL, CALIBER_LOG_SINKwiring the control plane and logging
Access and authCALIBER_AUTH_MODE, CALIBER_ADMIN_USERS, CALIBER_CSRF_ENABLEDwho may sign in and what each user may do
LLM provider and gatewayCALIBER_LLM_PROVIDER, CALIBER_LLM_BASE_URLchoosing provider routing
Release pathCALIBER_PROMOTER_PROVIDER, CALIBER_ARTIFACT_STORE_PROVIDER, CALIBER_EVAL_PROVIDER, CALIBER_ALLOW_SIMULATED_PROVIDERSchoosing whether Apply performs a real MLflow release (the default) and whether evaluation scores are real
Object storeCALIBER_OBJECT_STORE_*uploads, extraction, previews, log mirroring
Workflow storageCALIBER_WORKFLOW_STORAGE_*run workspaces, limits, retention, signed URLs
Event backendCALIBER_WORKFLOW_RUN_EVENT_BACKENDworkflow queue and runtime eventing
Feature flagsCALIBER_FEATURE_ARIA, CALIBER_FEATURE_INTEGRATIONS, CALIBER_FEATURE_COOKBOOKS, CALIBER_FEATURE_RELEASE_CANDIDATESturning on the preview, record-only and experimental areas the alpha leaves off
Deep reference · data models, APIs & lifecycle

Reference

1. Local launch and ports

SettingPurpose
CALIBER_PORThost port for the CALIBER UI/API service
MLFLOW_PORThost port for the MLflow UI; start.sh guards common collisions
MLFLOW_GATEWAY_PORThost port for the MLflow AI Gateway surface

2. Core runtime

SettingPurpose
CALIBER_DATABASE_URLSQLAlchemy URL for the CALIBER metadata store; sqlite:///./caliber.db when unset. The server never creates its own tables: run caliber-migrate before the first start and after every upgrade
CALIBER_LOG_SINKs3 (the default) keeps stderr and mirrors JSONL to the object store when available; stderr disables the mirroring
CALIBER_STATIC_PREFIXserve behind a reverse-proxy prefix when applicable

3. LLM and gateway

SettingPurpose
CALIBER_LLM_PROVIDERselect the default provider implementation; fake (a deterministic stub) when unset, openai needs the llm extra
CALIBER_LLM_DIAGNOSIS_MODELdefault OpenAI model; gpt-5.6-luna when unset
CALIBER_LLM_REASONING_EFFORTplatform-wide reasoning default; high when unset
CALIBER_GEPA_REFLECTION_MODELGEPA reflection model; inherits the Luna default
CALIBER_MEMORY_LLM_MODELmemory extraction model; inherits the Luna default
CALIBER_LLM_BASE_URLoverride the OpenAI-compatible base URL
CALIBER_GATEWAY_URIdiscover an MLflow AI Gateway surface
CALIBER_PROMOTER_PROVIDERmlflow (default) registers a new prompt version and moves the live alias on Apply; fake only simulates and needs the opt-in below
CALIBER_ARTIFACT_STORE_PROVIDERmlflow (default) reads prompts from the registry; fake needs the opt-in below
CALIBER_EVAL_PROVIDERfake (the default) returns canned scores that are marked simulated everywhere they are shown or stored; mlflow wraps mlflow.genai.evaluate
CALIBER_ALLOW_SIMULATED_PROVIDERSset true to permit a fake promoter or artifact store, or a real LLM provider combined with the fake evaluator (tests, demos); startup refuses each of those otherwise, and every simulated Apply is marked simulated

The assistant uses the same OpenAI default through CALIBER_ASSISTANT_MODEL and CALIBER_ASSISTANT_REASONING. Explicit per-asset and per-call selections remain supported overrides.

4. Object store

SettingPurpose
CALIBER_OBJECT_STORE_ENDPOINT_URLobject-store endpoint
CALIBER_OBJECT_STORE_REGIONobject-store region
CALIBER_OBJECT_STORE_ACCESS_KEY_SOURCEsecret source for access key
CALIBER_OBJECT_STORE_SECRET_KEY_SOURCEsecret source for secret key
CALIBER_OBJECT_STORE_FORCE_PATH_STYLEpath-style S3/MinIO behavior

5. Workflow storage

SettingPurpose
CALIBER_WORKFLOW_STORAGE_BACKENDlocal or s3
CALIBER_WORKFLOW_STORAGE_BASE_URIlocal workspace root when using local backend
CALIBER_WORKFLOW_STORAGE_BUCKETS3/MinIO bucket for workflow files
CALIBER_WORKFLOW_STORAGE_PREFIXkey prefix for workflow files
CALIBER_WORKFLOW_STORAGE_INTERNAL_ENDPOINT_URLinternal endpoint for worker-side access
CALIBER_WORKFLOW_STORAGE_PUBLIC_ENDPOINT_URLpublic endpoint for signed URLs
CALIBER_WORKFLOW_STORAGE_MAX_UPLOAD_BYTESper-upload limit
CALIBER_WORKFLOW_STORAGE_MAX_RUN_BYTESper-run total byte limit
CALIBER_WORKFLOW_STORAGE_MAX_FILES_PER_RUNper-run file-count limit
CALIBER_WORKFLOW_STORAGE_SIGNED_URL_TTL_SECONDSdefault signed URL lifetime
CALIBER_WORKFLOW_STORAGE_RETENTION_*run-artifact retention policy

6. Event backend

SettingPurpose
CALIBER_WORKFLOW_RUN_EVENT_BACKENDin_process (the default), database, nats or redis
CALIBER_WORKFLOW_RUN_QUEUE_ENABLEDfalse by default; the run queue that wait and human-approval nodes need, together with CALIBER_WORKFLOW_RUN_CHECKPOINTING_ENABLED
CALIBER_EVIDENCE_RETENTION_DAYSscope-authorized evidence-archive lifetime in days; defaults to 365, and 0 expires immediately after export

7. Access and auth

SettingPurpose
CALIBER_PROFILEdevelopment (the default: start with whatever is set) or reference (refuse to start while any setting breaks the reference deployment: a SQLite database, CSRF off, the dev identity fallback, the admin/admin bootstrap, trusted_header without a proxy secret, egress policy off, plain-HTTP MCP, any MCP stdio command or remote host on the two MCP allowlists, self-approval, an armed fault barrier; every violation is listed with the variable to change)
CALIBER_MCP_STDIO_COMMAND_ALLOWLIST, CALIBER_MCP_REMOTE_HOST_ALLOWLISTComma lists of the stdio executables (default ${PYTHON}, the CALIBER interpreter) and exact remote hosts (default localhost,127.0.0.1,::1) the MCP gateway may start or reach; a server outside them is mcp_server_not_ready. Under CALIBER_PROFILE=reference both must be set to the empty string: the profile lists no MCP command or host for the Beta, so any entry (the defaults included) refuses startup with mcp_allowlist_not_in_profile, and no MCP server is reachable. The development profile is unchanged. See MCP allowlists.
CALIBER_FAULT_BARRIERSTest only. A comma list of fault-barrier names (before_dispatch, after_downstream_commit, before_receipt_persist, after_outbox_commit, after_evaluation_claim); a process that reaches an armed barrier exits at once with status 137, like a crash, so the scenario tests can kill a worker at an exact point. Unset (the default) makes every barrier a no-op. The reference profile refuses to start while it is set. Not a setting in CaliberConfig: it is read straight from the environment.
CALIBER_AUTH_MODEsession (the default: server-side sessions and personal access tokens) or trusted_header (trusts X-CALIBER-User; only behind a proxy)
CALIBER_ADMIN_USERS, CALIBER_OPERATOR_USERS, CALIBER_APPROVER_USERScomma-separated user ids granted caliber.admin, caliber.operator and caliber.approver; all empty by default, so a first login is a viewer. These are global scopes, not project roles, and caliber.admin is not an implicit project member
CALIBER_CSRF_ENABLEDfalse by default; when true, every POST, PATCH, PUT and DELETE (bearer-token calls included) needs an X-CALIBER-CSRF token, signed with the secret named by CALIBER_CSRF_SIGNING_SECRET_ENV and valid for CALIBER_CSRF_TOKEN_TTL_SECONDS (3600 by default)
CALIBER_REFERENCE_MAX_BODY_BYTES1048576 (1 MiB) by default. Under CALIBER_PROFILE=reference only: the largest request body accepted, enforced on the declared Content-Length and on the bytes actually streamed (a chunked or understated body is bounded too); a larger one gets 413 with {"reason": "request_too_large", "max_bytes": N}. The development profile installs no limit.
CALIBER_REFERENCE_MAX_UPLOAD_BYTES268435456 (256 MiB) by default. Under CALIBER_PROFILE=reference only: the largest multipart/form-data request body accepted (the file-upload routes), which replaces CALIBER_REFERENCE_MAX_BODY_BYTES for those requests when larger. Raise it together with CALIBER_WORKFLOW_STORAGE_MAX_UPLOAD_BYTES. A larger body gets 413. The GitHub webhook route keeps its own CALIBER_GITHUB_WEBHOOK_MAX_BODY_BYTES.
CALIBER_EXECUTION_LEASE_SECONDS30 by default (3 to 3600). Reference profile only: how long the execution-owner lease lasts. The process that holds it runs the background loops and renews it every third of this; a process that cannot renew stops the loops (/readiness execution_role becomes secondary), and when the holder dies a secondary becomes the owner within about this long. Every other process serves HTTP only.
CALIBER_EFFECT_RECONCILER_ENABLEDtrue by default. Reference profile only: run the effect reconciler loop in the execution owner. It asks each connector bound in CALIBER_EFFECT_CALLBACK_CONNECTORS about the effects nobody recorded the outcome of, by their logical key, and records unknown for a dispatch stuck in flight; it never re-sends an effect. Turn it off only if another process under the same lease does that work: without it an effect whose settle failed stays blocked until an operator reconciles it. See The reconciler loop.
CALIBER_EFFECT_RECONCILER_INTERVAL_SECONDS15 by default (1 to 3600). Seconds between reconciler passes.
CALIBER_EFFECT_RECONCILER_BUDGET_SECONDS20 by default (1 to 600). A pass stops starting lookups after this long; a lookup in progress finishes (its own timeout applies) and the next pass continues after the last proposal it looked at.
CALIBER_EFFECT_IN_FLIGHT_MAX_SECONDS900 by default (300 to 86400). How long an effect may stay dispatched under the lease that is still current before the loop records it unknown and asks the downstream. It must exceed the longest a dispatch can legitimately take: the executor's timeout (30 s by default) times its attempts (at most 5), its backoff (under 4 s) and the receipt lookup (30 s) come to about 3 minutes with the defaults, which the 300 s floor covers. A connector configured with a longer timeout needs a larger value; a dispatcher that is merely slow finds its row unknown and the reconciler settles it by lookup instead.
CALIBER_AGENT_STEP_MAX_TURNS25 by default (1 to 1000). The most provider turns one governed agent step may be given; a step's own limit is capped at this before it runs. See Central step limits.
CALIBER_AGENT_STEP_MAX_TOOL_CALLS50 by default (0 to 1000). The most read-tool calls one governed agent step may make; the platform counts them and refuses the one past the limit. 0 allows none.
CALIBER_AGENT_STEP_MAX_TOKENS200000 by default (1 to 10000000). The most tokens (prompt plus completion) one governed agent step may use.
CALIBER_AGENT_STEP_MAX_SECONDS600 by default (1 to 86400, finite). The longest window from the moment a governed agent step is asked that its deadline may reach; a later deadline is brought forward to it.
CALIBER_AGENT_RUN_MAX_TOKENS2000000 by default (1 to 1000000000). The most tokens one run's governed agent steps may reserve and be charged in total. A step's max_tokens ceiling is reserved against it, under the run's row lock, before the adapter is called; a step that would take the run past it is refused (token_budget_exhausted) and its adapter is never called. A ceiling larger than the whole budget refuses every step. See Token reservations.
CALIBER_AGENT_RESERVATION_GRACE_SECONDS300 by default (1 to 86400, finite). How long past its step's deadline an open token reservation (a worker died or was cancelled mid-call) is left before the execution owner's reconciler loop finalizes it as abandoned, at its whole reservation: a reservation is never released, so this only moves when the row stops being open.
CALIBER_EFFECT_HTTP_VERIFIERS[] by default. A JSON array of the generic http endpoints (governed webhook and API-request nodes) whose downstream has a read-by-key lookup the platform can call (#1055): each row is {"project_id": ..., "resource": <the exact URL a node sends to>, "lookup_url": <where the downstream is asked>}. The platform asks GET <lookup_url>?idempotency_key=<key> to confirm a 2xx and to settle an effect that ended unknown, and believes only a stored request whose key, method, URL and body are the proposal's; a 404 is never read as "it did not happen". It is the only way a workflow node's http effect is dispatched in the reference profile: a URL that is not listed is refused (no_authoritative_verifier) before it is recorded. No credentials are sent with the lookup; the reference profile requires every lookup_url to be https, and each lookup has a 5 s timeout. A manifest, a tool call and a model cannot write it. See Reference profile.
CALIBER_AGENT_STEP_TOOL_BACKENDS[] by default. A JSON array of the registered tools whose protected action a governed agent step may propose (#1051): each row is {"tool": <registry name>, "version": <registry version>, "backend": "document_request"}. This is the trusted map from a tool's registry identity to the backend its effect is sent through; a manifest, a tool call and a model cannot write it. In the reference profile an agent node bound to a mapped tool runs as a governed step (its protected action becomes an approvable proposal, sent once after the exact approval, under the execution-owner lease); every other agent node runs as before. Empty governs no agent node. Only document_request is accepted, the one backend with an authoritative lookup by key. The downstream is the base_url of that connector's binding in CALIBER_EFFECT_CALLBACK_CONNECTORS for the run's project; a mapped tool with no binding is refused before anything is claimed. See Reference profile.
CALIBER_EVENT_OUTBOX_ENABLEDfalse by default; always on under CALIBER_PROFILE=reference. Record every run event in the transactional outbox in the same transaction as the event and deliver it (at least once) to the registered consumers; see Events: the outbox.
CALIBER_EVENT_OUTBOX_POLL_SECONDS1 by default (0.05 to 60). How long the publisher waits when nothing is due.
CALIBER_EVENT_OUTBOX_MAX_ATTEMPTS20 by default (1 to 1000). Delivery attempts before an event is marked dead and kept for an operator.
CALIBER_EVENT_OUTBOX_RETENTION_DAYS7 by default (0 to 3650). How long delivered events are kept before they are pruned.
CALIBER_ADMISSION_ENABLEDfalse by default; always on under CALIBER_PROFILE=reference. Admit every run a user starts (the create-run route, the event trigger and the assistant's run tool), and admit scheduler/service-token runs through server-created typed service principals: resolve and pin everything the run depends on, issue its grant, decide it under the policy and store its immutable run manifest in the transaction that creates the run (see Admitting a run). A refusal stores nothing. Scheduler/service-token lineage is resolved from the deployment's persisted environment class and exactly one active environment with a current release; there is no prod or sole-row fallback. Off elsewhere, scheduler/service paths remain explicitly labelled legacy and user paths retain their existing legacy behavior.
CALIBER_ADMISSION_GRANT_TTL_SECONDS86400 by default (60 to 2592000). How long the grant issued to an admitted run lasts.
CALIBER_APPLY_REQUIRE_DISTINCT_APPROVERfalse by default (a single-operator or development install keeps applying its own candidates); required true under CALIBER_PROFILE=reference, which refuses to start without it (apply_distinct_approver_disabled) and enforces the rule at request time even so. The two-person rule for POST /jobs/{id}/apply: the account that requested the job (its recorded triggered_by) cannot apply its candidate (403, reason_code apply_self_approval), and a job with no recorded requester is refused (403, apply_creator_unknown) rather than passed. Both are refused before any claim, approval record or promotion, and the claim repeats the check on the row-locked job together with the caller's current project permission and the exact candidate digest recorded by the eval gate; each refusal is audited. See Apply: a distinct approver and Apply: the claim rechecks everything.
CALIBER_APPROVAL_TTL_SECONDS86400 by default (1 to 31536000). How long an approval request bound to an effect proposal stays answerable: its expires_at is requested_at plus this many seconds, and a request at or past it is refused with the reason code expired (see Approval requests). Read by the caller that creates the request (configured_ttl_seconds); a change affects only requests created afterwards.
CALIBER_RULE_BUNDLE_PATHEmpty by default. Path of the rule bundle every admitted run is pinned to; set together with CALIBER_RULE_BUNDLE_SHA256 (one without the other fails startup). Admission verifies the file's bytes against the digest, records the absolute path and digest in the run manifest, and refuses to admit while the file is missing or changed. Each agent step of an admitted run re-verifies the bytes at the recorded path against the recorded digest and cites the bundle in its context manifest; changed bytes refuse the step (context_denied with rule_bundle_changed). Changing these settings affects only runs admitted afterwards, and a run whose bundle changed stays failed (resubmit; set path and digest together). The recorded path is the symlink-resolved one and must exist with the same bytes on every node that can execute the run (a ConfigMap/Secret ..data/<timestamp> mount or a Docker secret does not qualify). Use versioned, content-addressed file names and keep the old file until old runs drain. Admission refuses a bundle whose context citation exceeds 256 KiB. See docs/operate/reference-profile.md, "The rule bundle at context use".
CALIBER_RULE_BUNDLE_SHA256Empty by default. The full lowercase SHA-256 of the rule bundle's exact bytes (see CALIBER_RULE_BUNDLE_PATH).

Optimizer plugins are enabled by a separate allowlist; see Writing a CALIBER plugin.

8. Feature flags

Four settings gate the areas the alpha does not stand behind. Three are off by default; CALIBER_FEATURE_ARIA is the exception and defaults on. Each is read once at startup, so restart CALIBER after changing one. A set variable accepts true, 1, yes or on (any case) as true and anything else as false (so a typo turns a flag off, even Aria's); leaving it unset falls back to the field's own default. Each is a feature_<id>_enabled field in config.py.

SettingDefaultWhat it turns on
CALIBER_FEATURE_ARIAtrueThe Aria assistant and plans (preview): the /assistant/* and /aria/* routes and the Plans page. CALIBER_ASSISTANT_ENABLED still decides whether an enabled assistant accepts requests
CALIBER_FEATURE_INTEGRATIONSfalseMCP servers and OpenAPI integrations (preview): the /mcp-servers* and /openapi-integrations* routes and their pages. While it is off, a workflow MCP node is reported as unavailable ("A registered MCP server that CALIBER can reach (needs CALIBER_FEATURE_INTEGRATIONS=true)")
CALIBER_FEATURE_COOKBOOKSfalseCookbooks (preview): the /cookbooks* routes and the Cookbooks page. A lab can need another flag as well; its README says which
CALIBER_FEATURE_RELEASE_CANDIDATESfalseRelease-candidate signoff and workspace releases (record-only and experimental): the /releases/candidates*, /releases/report-jobs* and /projects/{id}/releases* routes and the candidate UI. The live board, the timeline and release operations are core and always on

While a flag is off, every route of its area answers HTTP 404 with reason_code: feature_disabled, and the web app hides the area's navigation entries. GET /capabilities reports all four under features (enabled, env_var, label, stability). In the Docker Compose stack the four variables pass through from the environment with the same defaults; .env.example documents them. See Feature flags for what changing one means.

9. Secret-source convention

Prefer settings ending in *_SOURCE for credentials and sensitive values. The current runtime is designed around secret sources rather than spreading literal keys throughout deployment files.

CALIBER : Contextual Adaptive Lifecycle for Intelligent Build, Evaluation, and Refinement — this page is generated from the authoritative Markdown sources in docs/ and the repository-level ARCHITECTURE.md.