# Find the steps your voice agent skips

> sopops is open-source QA for voice agents. It checks calls against the agent's standard operating procedures (SOPs), groups recurring mistakes, and drafts fixes to the agent's instructions. It works with LiveKit, ElevenLabs and Vapi. Self-host it under Apache-2.0, or use the hosted version.

Bring one agent, its prompt, and a few recent calls. [Book a call review](https://calendar.app.google/BUvPrnU1d3Kw57TJ8) or [see a sample review](https://sopops.dev/demo/?tour).

## How it works

1. Choose one procedure from the instructions your agent uses.
2. Capture or import calls. Agents can keep getting their prompts from your existing system.
3. Send finished calls through a webhook or SDK. Check each applicable step.
4. Group recurring mistakes across calls. Review the finding and a suggested instruction fix.
5. Publish a release and compare mistake rates to see whether the fix worked.

## Review findings

- **Real mistake:** sopops drafts a fix to your agent's instructions and tracks the mistake until it stops.
- **Acceptable:** Fine in this situation. Calls like these stop counting as mistakes.
- **SOP is wrong:** The instruction itself is out of date. sopops drafts a rewrite of it.
- **Checker is wrong:** Dismiss the finding and record why the checker got it wrong.

## Platforms

| Platform | Instructions | Checking calls after they end | Streaming transcripts |
| --- | --- | --- | --- |
| LiveKit | One line of code. Add attach() where the agent starts a call. | No code. Add a project key and a webhook. | No code. sopops joins each call to listen. |
| ElevenLabs | No code. sopops updates the agent when you publish. | No code. Add a post-call webhook. | No code. Live phone calls on an Enterprise plan. |
| Vapi | No code. sopops updates the assistant when you publish. | No code. Point the Server URL at sopops. | No code. Turn on live updates in Vapi. |

Chat agents can also send transcripts through the sessions API.

## LiveKit example

```python
from sopops.livekit import attach

ins = await attach(ctx, session)

# (optional) use sopops instructions instead of writing your own
await session.start(agent=Agent(instructions=ins.text))
```

Read [Connect your agent](https://sopops.dev/docs/connect.md) for setup, credentials and complete examples.

## Open source

- Instructions and procedures, in versions
- Two-way sync with a GitHub repo
- Every call checked, with your own model keys
- Mistakes grouped, with suggested fixes
- Mistake rates by version, procedure and agent
- Team sign-in with email or GitHub

```sh
git clone https://github.com/sopops-dev/sopops
cd sopops && docker compose up --build
```

See the [self-hosting quickstart](https://sopops.dev/docs/quickstart.md) for prerequisites and configuration.

## Hosted pricing

| Plan | Monthly price | Yearly price | Included calls | Additional details |
| --- | --- | --- | --- | --- |
| Free | $0 | $0 | 500 calls a month | Calls past 500 wait until you upgrade |
| Dev | $39 | $300 | 1,000 calls a month | $0.01 a call after |
| Pro | $399 | $3,000 | 30,000 calls a month | $0.01 a call after |
| Enterprise | Custom | Custom | Volume pricing | Invoicing, SSO and SCIM |

[Compare plans](https://sopops.dev/pricing)

## Hosted features

- Everything in open source, run by us
- Runtime enforcement during calls (coming soon)
- Fine-tuned models for SOP capture, tracking and iteration, for higher accuracy and lower costs
- An MCP server for your QA data
- SSO, SCIM and audit export
- Data retention controls
- Model keys managed for you

[Talk to us](https://calendar.app.google/BUvPrnU1d3Kw57TJ8) about hosted access.

## Read more

- [Documentation index](https://sopops.dev/docs/llms.txt)
- [Complete documentation](https://sopops.dev/docs/llms-full.txt)
- [Blog index](https://sopops.dev/blog/index.md)
- [Source code](https://github.com/sopops-dev/sopops)
