Common errors and how to fix them.
You need to install the provider SDK for models in your paths.
pip install anthropic # For Claude models pip install openai # For GPT models pip install huggingface_hub # For HuggingFace models
Kalibr requires Python 3.10 or higher.
python --version # Check your version
If you're on 3.9, upgrade Python or use pyenv/conda to manage versions.
KALIBR_API_KEY is set correctlyecho $KALIBR_API_KEY # Should show your key
Your provider API key is missing or invalid.
echo $OPENAI_API_KEY # For GPT models echo $ANTHROPIC_API_KEY # For Claude models echo $HF_API_TOKEN # For HuggingFace models (or $HUGGING_FACE_HUB_TOKEN)
This warning appears if you call report() more than once for the same request. It's usually harmless but indicates a logic issue in your code.
Fix: Make sure you only call report() once per completion() call.
Kalibr needs ~20-50 outcomes per path before routing becomes stable. During the "Learning" phase, it explores randomly.
Check: Go to Dashboard → your agent → verify sample counts are increasing.
KALIBR_TENANT_ID matches what's shown in Dashboard → Settingsreport() is being called after each completionHard refresh the page (Cmd+Shift+R on Mac, Ctrl+Shift+R on Windows).
ValueError when calling report() or report_outcome()failure_category valueFAILURE_CATEGORIES: timeout, context_exceeded, tool_error, rate_limited, validation_failed, hallucination_detected, user_unsatisfied, empty_response, malformed_output, auth_error, provider_error, unknownupdate_outcome()trace_id + goal combinationreport_outcome() or router.report()"insufficient_data"