Skip to main content
Simulate your voice agent making a call to a user.

How it works

  1. Set the agent_url for your websocket endpoint in your config.
  2. Calibrate opens a WebSocket to your agent and connects as a client.
  3. The simulated user (persona + scenario) speaks audio streams to your agent.
  4. Your agent’s audio streams back and Calibrate transcribes it.
  5. The conversation is appended and new simulated user audio is sent to your agent.
  6. Once the call is complete, metrics are computed over the resulting transcript.

Configuration

Your agent must speak Pipecat’s WebSocket frame protocol with the same serializer (protobuf). A non-pipecat socket won’t work.

Example