Alpha install
From wheels to a logged-in administrator who can create a project and a prompt: install, migrate, start MLflow, configure roles and providers, verify.
Historical page. This is the install of the
0.1.0a1alpha and stays as written. It starts the defaultdevelopmentprofile, in which no adapter is reportedsupported: the capability report sayspreviewfor the document-request connector, andprevieworunavailable(while its area flag or evaluator is off, as it is by default) for the release evaluation and the MCP and OpenAPI integrations. The supported shape is the reference profile; Beta scope says what it supports, with the evidence.
This page takes you from nothing to a logged-in administrator who can create a project and a prompt. It needs no Docker and no checkout.
CALIBER is alpha software. The packages are not on PyPI yet, so pip install caliber-sdk returns "no matching distribution". Install from the release's wheels, either with the installer below or by hand.
One-command install
With Python 3.10–3.12 and curl:
curl -fsSL https://raw.githubusercontent.com/rrahimi-uci/caliber-suite/main/scripts/install.sh | bash
scripts/install.sh downloads the caliber-v0.1.0a1 wheels from the GitHub release, checks them against the release's SHA256SUMS, installs them into ~/.caliber/venv, migrates the database, generates an admin password and starts MLflow and CALIBER. It prints the address, normally http://127.0.0.1:5001/caliber/. Sign in as admin with the password from caliber password.
It also installs a caliber command in ~/.local/bin:
| Command | What it does |
|---|---|
caliber up / caliber down | start or stop MLflow and CALIBER in the background (data stays in ~/.caliber/data) |
caliber status | show whether they are running |
caliber logs [caliber|mlflow] | follow a log |
caliber password | print the generated admin password |
caliber open | open the UI in a browser |
Configuration is in ~/.caliber/caliber.env. Useful options: --with-llm installs the OpenAI and Anthropic extras so that, with your key in that file, models and evaluation are real; --prefix DIR, --port and --mlflow-port change where it lives and listens; --no-start installs without starting. Run the installer again to upgrade in place: it keeps your data, configuration and password. To remove everything: caliber down && rm -rf ~/.caliber ~/.local/bin/caliber. scripts/verify-installer.sh checks this path end to end in CI.
The rest of this page does the same by hand, which is what to read if you want to see each step or run CALIBER differently. That path is checked by scripts/verify-alpha-install.sh.
What you get
| Piece | Where it runs |
|---|---|
| CALIBER (the control plane and API) | uvicorn on 127.0.0.1:5001 |
| MLflow (the prompt registry) | mlflow server on 127.0.0.1:5000, its own SQLite file |
| CALIBER's database | one SQLite file, separate from MLflow's |
The LLM and the evaluator are simulated in this setup. That is the honest offline default: calibration runs and returns candidates, but the evaluation scores are canned and every screen that shows them says so. See Real LLM and evaluation to change that.
1. Get the wheels
Download caliber_sdk, caliber_cli and caliber_suite (all 0.1.0a1) from the caliber-v0.1.0a1 release into wheels/ and check them with shasum -a 256 -c SHA256SUMS. Those wheels include the web UI. Or build them from a source checkout:
python3.12 -m venv build-venv && build-venv/bin/pip install build
for pkg in sdk/caliber-sdk sdk/caliber-cli caliber; do
build-venv/bin/python -m build --wheel --outdir wheels "$pkg"
done
A wheel built this way has no bundled web UI. To include the UI, use the build procedure in Releasing, or download the release's wheels instead.
2. Create a virtual environment and install
Python 3.13 is not supported yet. Use 3.10, 3.11 or 3.12.
python3.12 -m venv alpha
source alpha/bin/activate
pip install --find-links ./wheels caliber-sdk caliber-cli caliber-suite
3. Migrate the database
The server never creates its own tables. Run the migration before the first start, and after every upgrade:
export CALIBER_DATABASE_URL=sqlite:///$PWD/caliber.db
caliber-migrate
Without this step the server starts and /health looks fine, but every login fails with no such table: caliber_user_accounts. caliber-migrate works from any directory and never prints the database URL.
4. Start MLflow
In a second terminal, with the same virtual environment active:
mlflow server \
--backend-store-uri sqlite:///$PWD/mlflow.db \
--default-artifact-root $PWD/mlflow-artifacts \
--host 127.0.0.1 --port 5000
Keep MLflow on its own SQLite file. Sharing one file with CALIBER works, but SQLite allows one writer at a time, and the server warns at startup if you do.
5. Configure and start CALIBER
The server reads its configuration from the process environment. It does not read a .env file itself; the Docker stack and scripts/cookbook-env.sh do. If you keep your keys in a .env (copy .env.example), load them into the shell before starting the server, so the same file serves every way of running CALIBER:
set -a; . ./.env; set +a # exports every KEY=value line of .env into this shell
(.env lines must be plain KEY=value without spaces around the =; quote any value that contains spaces.)
export MLFLOW_TRACKING_URI=http://127.0.0.1:5000
export CALIBER_ADMIN_USERS=admin
export CALIBER_OPERATOR_USERS=admin
export CALIBER_APPROVER_USERS=admin
export CALIBER_PROMOTER_PROVIDER=mlflow
export CALIBER_ARTIFACT_STORE_PROVIDER=mlflow
export CALIBER_EVAL_PROVIDER=fake
export CALIBER_LOG_SINK=stderr
export CALIBER_AUTH_SESSION_COOKIE_SECURE=false
export CALIBER_AUTH_BOOTSTRAP_ALLOW_INSECURE_DEFAULT=true
uvicorn caliber.server:create_app --factory --host 127.0.0.1 --port 5001
What each group does:
- Roles. An account holds a password only.
CALIBER_ADMIN_USERS,CALIBER_OPERATOR_USERSandCALIBER_APPROVER_USERSdecide what that user may do. Leave all three empty and the first login is a viewer who cannot create a project. The server logs an error when that happens. - Providers. The promoter and artifact store are the real MLflow ones, so Apply changes the registry.
CALIBER_EVAL_PROVIDER=fakeis written out so the simulated evaluator is a choice you can see. - Bootstrap login. With the last two lines, the first start creates one account,
adminwith passwordadmin. They are for a machine only you can reach. Change the password under Administration straight away, and never carry these lines into a network-reachable deployment. With neither a password source nor these lines, no account is created and the server logs a warning saying nobody can log in.
6. Verify
curl -s http://127.0.0.1:5001/ajax-api/2.0/mlflow/caliber/readiness
Expect "ready":true. The simulated list should contain at most llm and eval. If it lists promoter or artifact_store, the release path is simulated and Apply will not change MLflow.
Then sign in and create a project:
B=http://127.0.0.1:5001/ajax-api/2.0/mlflow/caliber
curl -s -c jar -X POST $B/auth/login -H 'content-type: application/json' \
-d '{"user_id":"admin","password":"admin"}'
curl -s -b jar $B/auth/session # "is_admin": true
curl -s -b jar -X POST $B/projects -H 'content-type: application/json' \
-d '{"name":"my-first-project"}'
curl -s -b jar -X POST $B/prompts -H 'content-type: application/json' \
-d '{"name":"my-first-prompt","template":"Answer briefly: {{question}}"}'
With a wheel built using the bundled UI procedure, open http://127.0.0.1:5001/caliber/ and sign in as admin / admin. On an empty install the Dashboard shows a New here? Start with the core loop panel with four steps (Write a prompt, Add a test set, Run an evaluation, Release it), each a link to the page that does it.
For the Python SDK or caliberctl, create a token under Settings → API tokens in the UI and use it as CALIBER_TOKEN. The command line cannot issue the first one.
Real LLM and evaluation
The steps above run simulated providers on purpose: they need no key, so the install is reproducible offline. Evidence you can trust needs a real model and a real evaluator. Put your keys in .env (OPENAI_API_KEY=..., and optionally ANTHROPIC_API_KEY=...), install the provider extras, and let auto choose real providers because a key is present:
pip install --find-links ./wheels "caliber-suite[llm,anthropic]"
set -a; . ./.env; set +a
export CALIBER_LLM_PROVIDER=auto CALIBER_EVAL_PROVIDER=auto CALIBER_WORKFLOW_LLM_JUDGE_ENABLED=auto
(Replace the CALIBER_EVAL_PROVIDER=fake line of step 5 with these.) auto means "real when the key is present": the workflow agents, calibration, judges and the evaluator become real, and CALIBER logs which it chose. To require a real provider instead, set CALIBER_LLM_PROVIDER=openai and CALIBER_EVAL_PROVIDER=mlflow: the server then refuses to start without the key rather than quietly falling back. A real model with the fake evaluator is refused at startup unless you set CALIBER_ALLOW_SIMULATED_PROVIDERS=true.
Which key drives what. OPENAI_API_KEY drives everything: workflow agents, prompt/skill/tool calibration, judges, evaluation and Aria. ANTHROPIC_API_KEY is optional: Aria and knowledge-base answers use Claude when there is no OpenAI key (CALIBER_ASSISTANT_ENGINE=auto prefers OpenAI, then Anthropic). Workflow agents and calibration are OpenAI-only in this alpha, so an Anthropic key alone cannot run them.
Check that nothing is simulated. After restarting, read /readiness:
curl -s http://127.0.0.1:5001/ajax-api/2.0/mlflow/caliber/readiness | python3 -m json.tool
simulated should be empty, all_real true, and ai_components lists each AI-backed part as real, simulated, unconfigured or off with a one-line reason; all_ai_real is true when none is simulated or unconfigured. (The workflow LLM judge shows off until you enable it; that is a choice, not a fault.)
Waits, approvals and queued runs
Three settings are off in the steps above. They decide whether a workflow run can pause:
export CALIBER_WORKFLOW_RUN_QUEUE_ENABLED=true
export CALIBER_WORKFLOW_RUN_CHECKPOINTING_ENABLED=true
export CALIBER_WORKFLOW_RUN_RUNTIME_APPROVALS_ENABLED=true
With them off, runs execute synchronously and a Human Approval, Wait Until or Wait For Event node cannot pause the run. GET /capabilities reports workflow_runs.approval_readiness.status as configuration_required, naming each missing setting under blockers, and the workflow palette marks those nodes "Needs the run queue". Turning them on lets a run stop at an approval, an event or a time and resume later. Each Human Approval node's own required_role still decides who may approve; with CALIBER_APPROVAL_ALLOW_SELF_APPROVAL unset, the person who started a run cannot approve it. The docker stack sets all three.
Knowledge bases need more than this page sets up
A knowledge base reads its sources from an S3-compatible object store and embeds them with a local model, and neither comes with the steps above:
- An object store. Run MinIO or point at S3 (
CALIBER_OBJECT_STORE_ENDPOINT_URLand credentials). Without one, creating a knowledge base answers 503 and names the object store. - The embedding libraries.
pip install --find-links ./wheels "caliber-suite[s3,knowledge,knowledge-local]"(s3bringsboto3for the object store). Withoutknowledge-localevery embedding model shows as unavailable, with this extra named. The default docker image installsknowledgeonly, so addknowledge-localtoCALIBER_INSTALL_EXTRASwhen you build it. - The model. The first build downloads it from Hugging Face; pre-cache it into
HF_HOMEon an offline host. The docker stack already pointsHF_HOMEat the persistent/data/huggingfacevolume (deploy/caliber/compose.yaml), so a native install should setHF_HOMEto somewhere durable too, or the model re-downloads on every fresh venv. - PostgreSQL with pgvector only if you turn on ANN search; Apache AGE only for graph retrieval.
The full list, and what is and is not verified, is on Knowledge bases.
Enabling preview areas
The install above leaves most preview areas off: MCP servers, OpenAPI integrations, cookbooks, and release-candidate signoff with workspace releases. Their navigation entries are hidden and their routes answer 404 with reason_code: feature_disabled. The Aria assistant and plans is the one exception — it ships on. To try one of the others, export its variable next to the other settings in step 5 and restart CALIBER:
export CALIBER_FEATURE_INTEGRATIONS=true # MCP servers and OpenAPI integrations (preview)
export CALIBER_FEATURE_COOKBOOKS=true # Cookbooks (preview)
export CALIBER_FEATURE_RELEASE_CANDIDATES=true # release-candidate signoff and workspace releases
export CALIBER_WORKSPACE_RELEASE_EVALUATOR_ENABLED=true # execute release-local pinned evaluations
To turn Aria off instead, set CALIBER_FEATURE_ARIA=false and restart.
Turn on only what you want to try. Each variable is read once at startup and accepts true, 1, yes or on. Enabling one means you accept that area's preview behavior (it may change, a signoff records a decision and deploys nothing, and a workspace release evaluation runs only while the evaluator variable above is also on); see Feature flags. Enabling one promotes nothing: a development deployment reports every adapter preview or unavailable, never supported (Beta scope). Some cookbooks need more than the cookbooks flag, for example the Aria labs need CALIBER_FEATURE_ARIA (already on by default); each lab's README names its flags.
To confirm what the server picked up, sign in as in step 6 and read features from the capabilities response. Each of the four ids carries enabled, env_var, label and stability. The same response carries adapters, the per-adapter support status (supported, preview or unavailable, with a reason and the setting that changes it):
curl -s -b jar $B/capabilities
Docker instead
If you would rather run the whole stack in containers, do this from a source checkout (it needs Docker with Compose v2, and no Python or Node on the host):
cp .env.example .env # then put OPENAI_API_KEY (and optionally ANTHROPIC_API_KEY) in .env
./start.sh # builds the images on first run, then starts everything
The container entrypoint runs the migration and sets the roles and providers for you, and the compose defaults are auto, so the keys in .env make the LLM, the evaluator and Aria real with no other setting. See the README and Local bring-up.
The four CALIBER_FEATURE_* variables pass through from .env to the container with the same defaults (Aria on, the other three off); edit .env and run ./start.sh again, because the container reads them at startup.
Check it yourself
From a source checkout, this script runs the steps above in a scratch directory and fails if any of them stops working:
scripts/verify-alpha-install.sh --python python3.12
# or against downloaded release wheels:
scripts/verify-alpha-install.sh --wheel-dir ./wheels
If something is wrong
| Symptom | Cause | Fix |
|---|---|---|
/readiness is not ready with a schema blocker, or login returns 500 and the log says no such table | the migration never ran, or the database is behind this release | run caliber-migrate with the same CALIBER_DATABASE_URL and restart |
| Login works but "create project" is refused with 403 | no role list names you | set CALIBER_ADMIN_USERS and restart |
admin/admin is rejected | no account was created | set the two bootstrap lines in step 5, or a password source, on a fresh database |
| Creating a prompt or applying answers 503 "MLflow tracking server unreachable" | MLflow is not running, or MLFLOW_TRACKING_URI is wrong | start MLflow (step 4) or correct the URI, then retry; nothing was changed |
/readiness lists promoter | a fake promoter was configured | set CALIBER_PROMOTER_PROVIDER=mlflow |
/readiness says "registered tool modules are unrestricted" | CALIBER_REGISTERED_TOOL_MODULE_ALLOWLIST is empty, so any importable module can be registered as a tool | set it to the module prefixes you trust, for example caliber.*,mycompany.tools.*; see Who is trusted to write tools |
pip install caliber-sdk finds nothing | the packages are not on PyPI | install from the wheels as in step 2 |