Skip to main content

Framework for evaluating text and voice AI agents

Project description

Calibrate

WhatsApp codecov CC BY-SA 4.0

Core engine powering Calibrate, a framework for evaluating AI agents which let you move from slow, manual testing to a fast, automated, and repeatable testing process for your entire agent stack:

  • Text to Text (LLMs): Evaluate the response quality and tool calling of your LLMs for multi-turn conversations and find the find LLM for your agent
  • Human alignment: Create LLM judges to make your evaluations scalable and reliable with human in the loop.
  • Speech to Text (STT): Benchmark multiple providers (Google, Sarvam, ElevenLabs and more) on your dataset across 10+ indic languages using metrics optimised for agentic use cases
  • Text to Speech (TTS): Benchmark generated speech by multiple providers automatically using an Audio LLM Judge across 10+ indic languages
  • Simulations: Simulate realistic conversations using realistic user personas and scenarios to test failure modes for your agent (including interruptions for voice agents)

Installation

pip install calibrate-agent

Usage

calibrate-agent              # Interactive main menu
calibrate-agent stt          # Benchmark STT providers
calibrate-agent tts          # Benchmark TTS providers
calibrate-agent llm          # Interactive LLM evaluation
calibrate-agent simulations  # Interactive text or voice simulations

Contributing

For the web version, see the frontend and backend repositories.

Install development dependencies once (requires uv):

uv sync --extra dev

Running tests

Run the full test suite:

uv run pytest tests/

Pre-commit

Enable the project's git hooks so the pre-commit test runner fires on commits to main:

git config core.hooksPath .githooks

Every contributor needs to run it once.

License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

CC BY-SA 4.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

calibrate_agent-0.0.58.tar.gz (18.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

calibrate_agent-0.0.58-py3-none-any.whl (755.3 kB view details)

Uploaded Python 3

File details

Details for the file calibrate_agent-0.0.58.tar.gz.

File metadata

  • Download URL: calibrate_agent-0.0.58.tar.gz
  • Upload date:
  • Size: 18.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for calibrate_agent-0.0.58.tar.gz
Algorithm Hash digest
SHA256 110e2d1e48a49289b9b516638d1d27c1e3190866d8a899d737333a71c23bf445
MD5 35bf7028b83ec2e08705d49b82dd4df7
BLAKE2b-256 90e5ab04c87ea86df392d2c526f5bd3eb303ca4ae0263b01019fe3d230cb6c03

See more details on using hashes here.

Provenance

The following attestation bundles were made for calibrate_agent-0.0.58.tar.gz:

Publisher: publish.yml on ARTPARK-SAHAI-ORG/calibrate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file calibrate_agent-0.0.58-py3-none-any.whl.

File metadata

File hashes

Hashes for calibrate_agent-0.0.58-py3-none-any.whl
Algorithm Hash digest
SHA256 82ab34dd926f0cad9f2608f97614835fddb1427f04b4ff5b246ffdcbfb4cb99a
MD5 ca65f29dc174cebefb5ba2dc65a4f8c9
BLAKE2b-256 7862c3dd5924c9d886d4322538d26c9d61c9fe03dde43fc833ddbb0c610be56c

See more details on using hashes here.

Provenance

The following attestation bundles were made for calibrate_agent-0.0.58-py3-none-any.whl:

Publisher: publish.yml on ARTPARK-SAHAI-ORG/calibrate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page