Local bring-up
The operator-first path for starting CALIBER locally, verifying readiness, and choosing the next guide based on your job.
This page is the operator-first path for starting CALIBER locally and verifying that the runtime is healthy before you use deeper feature or architecture docs.
At a glance
| Path | Use when | Entry point |
|---|---|---|
| Full suite | You want the complete local stack around CALIBER | make setup, make start |
| Standalone dev | You want the shortest supported CALIBER edit/test loop inside caliber/ | docker compose ... --profile app up -d mlflow, then caliber-migrate, then uvicorn caliber.server:create_app --factory --reload --port 5001 |
| Readiness check | You want to confirm dependency posture after boot | GET /ajax-api/2.0/mlflow/caliber/readiness |
| Recovery path | You need failure handling, not first boot | Operations runbook |
1. Full suite path
Use the full suite when you want the local product as it is usually demonstrated: CALIBER, MLflow, storage, and the surrounding services together.
make setup
make start
make start runs ./start.sh, which brings up the Compose app profile and the NATS bus: MinIO (with its buckets created), PostgreSQL with pgvector and Apache AGE, MLflow on :5000, the MLflow AI Gateway on :5002 and CALIBER on :5001. Every published port is bound to 127.0.0.1. The CALIBER container runs alembic upgrade head before it serves, so this path needs no manual migration. It seeds admin / admin on the first boot only, for loopback use. ./start.sh rebuilds the images and recreates the app containers by default; make start CLEAN_START=0 BUILD=0 reuses them.
Then verify:
- CALIBER UI loads at
http://localhost:5001/caliber/ - login succeeds
- readiness reports a usable local posture. The stack sets the LLM provider to
fake, so expectllmundersimulated; the evaluator, promoter and artifact store aremlflow. - the gateway is serving. With no
OPENAI_API_KEYorANTHROPIC_API_KEYin the suite-root.envthemlflow-gatewaycontainer exits and Compose restarts it in a loop, and the Gateway page reports it unreachable (Operator troubleshooting). CALIBER itself does not depend on it.
The stack starts with most preview areas off: MCP servers, OpenAPI integrations, cookbooks, and release-candidate signoff are off by default, so their navigation entries are hidden. The Aria assistant and plans is the exception and starts on, but it needs an OPENAI_API_KEY or ANTHROPIC_API_KEY in the suite-root .env to answer. To change one, set its variable in the suite-root .env (.env.example documents them) and run make start again; see Preview areas below.
To prove a fresh clone does all of this, scripts/verify-compose-stack.sh builds the CALIBER and MLflow images, starts the stack from the example environment as its own Compose project (caliber-stack-smoke) and checks MLflow, /health, /readiness, the SPA, login, a project and a prompt. .github/workflows/stack-smoke.yml runs it weekly, on manual dispatch and on pull requests that change deploy/. It is not a required check.
2. Standalone development path
Use the standalone path when you are developing CALIBER itself and want the shorter supported inner loop. Start vanilla MLflow and its dependencies from the repository root without starting the containerized CALIBER service:
docker compose -f deploy/compose.yaml --profile app up -d mlflow
cd caliber
make install # creates caliber/.venv with the development extras
source .venv/bin/activate # puts caliber-migrate and uvicorn on PATH
export CALIBER_DATABASE_URL=postgresql+psycopg://caliber:caliber@127.0.0.1:5432/caliber
caliber-migrate # creates or upgrades the tables; the server never does
export MLFLOW_TRACKING_URI=http://127.0.0.1:5000
export CALIBER_ADMIN_USERS=admin CALIBER_OPERATOR_USERS=admin CALIBER_APPROVER_USERS=admin
export CALIBER_AUTH_SESSION_COOKIE_SECURE=false
export CALIBER_AUTH_BOOTSTRAP_ALLOW_INSECURE_DEFAULT=true
uvicorn caliber.server:create_app --factory --reload --host 127.0.0.1 --port 5001
Optional frontend dev loop:
cd caliber/caliber-ui
npm install
npm run dev
caliber-migrate must run before the first start and after upgrades; the server never creates its own tables. The role variables decide what the first login may do. For an install from wheels with no checkout, use Alpha install.
Vite proxies API calls to the standalone CALIBER process on :5001 by default. The insecure bootstrap flags are for trusted loopback use only; change the first-boot password immediately and never use them for a network-reachable deployment.
3. Health and readiness
After either path, do not assume the runtime is usable just because the process started.
Verify both:
- liveness:
/ajax-api/2.0/mlflow/caliber/health - readiness:
/ajax-api/2.0/mlflow/caliber/readiness
The readiness endpoint is the meaningful one for operator decisions.
Then move to:
Preview areas
Four server-side flags gate the areas the alpha does not stand behind, on both paths above. Three are off by default; Aria is the exception and ships on:
| Variable | Default | Turns on |
|---|---|---|
CALIBER_FEATURE_ARIA | on | The Aria assistant and plans |
CALIBER_FEATURE_INTEGRATIONS | off | MCP servers and OpenAPI integrations |
CALIBER_FEATURE_COOKBOOKS | off | Cookbooks |
CALIBER_FEATURE_RELEASE_CANDIDATES | off | Release-candidate signoff and Workspace releases |
Set a variable to true/1/yes/on or false/0/no/off, and restart CALIBER, because the flags are read once at startup. In the full suite, put them in the suite-root .env; Compose passes them through to the CALIBER container with the same defaults. For the standalone path, export them before uvicorn. Confirm with features in GET /ajax-api/2.0/mlflow/caliber/capabilities. Enabling a flag means you accept that area's preview behavior; see Feature flags.
4. First local login
The local bootstrap path is only for loopback bring-up. Rotate any insecure bootstrap defaults before exposing the deployment beyond the local machine.
For the deeper trust boundary and scope model, use:
5. After boot
Once the system is up, the next doc depends on your job:
- using the product: Choose your CALIBER path
- integrating programmatically: Auth and project scoping
- operating and recovering: Operator troubleshooting, Operations runbook
- validating trust and governance: Trust and governance