Skip to content

feat: add kalibr-resilient-crew — production reliability layer for CrewAI agents#355

Open
devonakelley wants to merge 8 commits intocrewAIInc:mainfrom
devonakelley:feat/kalibr-resilient-crew
Open

feat: add kalibr-resilient-crew — production reliability layer for CrewAI agents#355
devonakelley wants to merge 8 commits intocrewAIInc:mainfrom
devonakelley:feat/kalibr-resilient-crew

Conversation

@devonakelley
Copy link
Copy Markdown

What this adds

A production-ready CrewAI crew that wraps the job-posting workflow with Kalibr — an execution path router that automatically routes LLM calls to the optimal model based on real-time outcome signals.

Most CrewAI crews in this repo are hardcoded to a single LLM (typically GPT-4o). That works in demos. In production, a single provider going down or degrading means your crew fails silently. Kalibr solves this without changing how you write agents.

What Kalibr does:

  • Instruments every LLM call the moment you add import kalibr before your OpenAI/Anthropic import
  • Captures outcome signals (success, quality score 0–1) from each run
  • Routes the next call to whichever model+path is currently succeeding
  • Falls open: if Kalibr backend is unreachable, model calls still work

Benchmark:

Setup Task Success Rate During Degradation
Hardcoded GPT-4o 16–36%
Kalibr-routed (GPT-4o + Claude Sonnet) 88–100%

Key changes vs. base job-posting crew

  1. import kalibr added as the first import in main.py
  2. KalibrCrewAIInstrumentor instruments the entire crew automatically
  3. pyproject.toml adds kalibr as a dependency
  4. .env.example adds KALIBR_API_KEY and KALIBR_TENANT_ID
  5. Both OpenAI and Anthropic keys in .env.example — Kalibr routes between them

Why it belongs here

CrewAI examples teach patterns. This one teaches the production reliability pattern — the step teams take when moving from demo to deployed.

Docs: https://kalibr.systems/docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant