> ## Documentation Index
> Fetch the complete documentation index at: https://penseapp.vercel.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Outbound voice agent

> Configure Pipecat voice agents deployed over a WebSocket endpoint

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

| Field       | Type   | Required | Description                               |
| ----------- | ------ | -------- | ----------------------------------------- |
| `agent_url` | string | Yes      | WebSocket endpoint, e.g. `ws://host:port` |

<Warning>
  Your agent must speak Pipecat's WebSocket frame protocol with the same
  serializer (`protobuf`). A non-pipecat socket won't work.
</Warning>

## Example

```json theme={null}
{
  "agent_url": "ws://localhost:8765"
}
```
