Skip to main content
The Calibrate CLI provides commands for evaluating Speech to Text, Text to Speech, LLM, and running simulations directly from your terminal.

Installation

pip install calibrate

Environment Variables

The CLI requires certain environment variables to be set for the providers you want to use:
# Speech to Text / Text to Speech Providers
DEEPGRAM_API_KEY=your_key
OPENAI_API_KEY=your_key
CARTESIA_API_KEY=your_key
SMALLEST_API_KEY=your_key
GROQ_API_KEY=your_key
SARVAM_API_KEY=your_key
ELEVENLABS_API_KEY=your_key

# Google Cloud (for Google STT/TTS)
GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json
GOOGLE_API_KEY=your_key
GOOGLE_CLOUD_PROJECT_ID=your_project_id

# LLM Providers
OPENROUTER_API_KEY=your_key
You only need to set the environment variables for the providers you plan to use.

Available Commands

Component Testing

CommandDescription
calibrate stt evalEvaluate Speech to Text provider
calibrate stt leaderboardGenerate Speech to Text comparison
calibrate llm tests runRun LLM test cases
calibrate llm tests leaderboardGenerate LLM tests comparison
calibrate tts evalEvaluate Text to Speech provider
calibrate tts leaderboardGenerate Text to Speech comparison

End to End Tests

CommandDescription
calibrate llm simulations runRun text-only simulations
calibrate llm simulations leaderboardGenerate simulation comparison
calibrate agent simulationRun voice agent simulations
calibrate agent testInteractive voice agent session

Getting Help

Get help for any command by adding --help:
calibrate --help
calibrate stt --help
calibrate stt eval --help