# sopops > 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. ## First request 1. Sign in to the hosted app at https://sopops.dev/app ([talk to us](https://calendar.app.google/BUvPrnU1d3Kw57TJ8) for hosted access), or run your own with the [self-hosting quickstart](https://sopops.dev/docs/quickstart.md). 2. In Settings → Access → Tokens, make a token with the `ingest` scope. The page shows it once, with the two variables to export: `SOPOPS_URL` (the workspace's API URL, `https://sopops.dev/api/v1/workspaces/` on the hosted app) and `SOPOPS_TOKEN`. 3. Send one session (a call or chat transcript): ```sh curl -s -X POST -H "Content-Type: application/json" \ -H "Authorization: Bearer $SOPOPS_TOKEN" \ "$SOPOPS_URL/sessions" \ -d '{"platform": "api", "external_id": "first-request-1", "turns": [{"role": "agent", "text": "Thanks for calling. Pickup or delivery?"}, {"role": "user", "text": "Delivery, please."}]}' ``` `201` returns `{id, created: true, updated: false, status, warnings}`. Sending the same body again returns `200` and changes nothing. `401` means a missing or wrong token for the workspace; `403` means the token lacks the `ingest` scope. Request and response schemas are in the [OpenAPI specification](https://sopops.dev/api/openapi.json); the session format is in the [Sessions API reference](https://sopops.dev/docs/api/sessions.md). ## Start here - [Pricing and included calls](https://sopops.dev/pricing) - [Landing page as Markdown](https://sopops.dev/index.md) - [Landing page and all published posts in one file](https://sopops.dev/llms-full.txt) - [Documentation index](https://sopops.dev/docs/llms.txt): all guides and API reference pages as Markdown - [OpenAPI specification](https://sopops.dev/openapi.json) - [Full documentation in one file](https://sopops.dev/docs/llms-full.txt) - [Blog index as Markdown](https://sopops.dev/blog/index.md) Documentation is the reference for setup and API behavior; blog posts are dated explanations and examples. Public content needs no authentication. Application and API access require the credentials described in the docs. How it works: - Instructions and procedures are kept in versions (releases), with two-way sync to a GitHub repo. - At the start of a call the agent fetches its instructions from sopops, or sopops pushes them to the platform when you publish. - Each finished call comes back by webhook or SDK. sopops checks it against the steps that applied: followed, missed, or didn't apply. - The same mistake on many calls becomes a pattern. A person marks it as a real mistake, acceptable, an outdated SOP, or a checker error. A real mistake gets a suggested fix to the instructions. - Mistake rates are tracked by version, procedure and agent, so you can see whether a fix worked. ## Docs - [Quickstart](https://sopops.dev/docs/quickstart.md): run sopops and check your first calls - [Connect your agent](https://sopops.dev/docs/connect.md): LiveKit, ElevenLabs, Vapi, or the API - [All docs](https://sopops.dev/docs) ## Blog - [Best Voice Agent SOP Compliance Tools: Pre-Launch Simulation vs. Production Monitoring](https://sopops.dev/blog/best-voice-agent-sop-compliance-tools.md): Compare the top voice agent SOP compliance tools by category: pre-launch simulation vs. production monitoring, with pricing and a decision guide. - [How sopops compares with Bluejay, Coval and Hamming on a missed call step](https://sopops.dev/blog/how-to-choose-a-qa-tool-for-your-voice-agent.md): Compare how four voice QA tools surface a missed step, help a reviewer investigate it, and check what happens after a prompt edit. - [Why I built sopops: the skipped step is the vulnerability](https://sopops.dev/blog/why-i-built-sopops.md): At DeepTrust we went looking for deepfakes and found something more common: people skipping the procedures they were trained on. Voice agents do it too. sopops catches it on every call. - [Check every call from a LiveKit voice agent with one function](https://sopops.dev/blog/check-every-call-from-a-livekit-agent.md): A walkthrough of connecting a LiveKit agent to sopops with attach(): serve its instructions at call start and send every finished call back to be checked. - [Manual call review vs checking every call: what changes for voice agents](https://sopops.dev/blog/sopops-vs-manual-call-review.md): Sampling calls by hand finds individual bad calls. Checking every call against the agent's procedures finds the patterns behind them. Here's when each one fits. - [What is a voice agent release, and why should you version prompts?](https://sopops.dev/blog/what-is-an-agent-release.md): Treat an agent's instructions like code: version them, tie every call to the version it ran on, and compare versions. Otherwise you can't tell whether a prompt change helped. - [Why voice agents skip steps, and how to catch it on every call](https://sopops.dev/blog/why-voice-agents-skip-steps.md): Voice agents rarely fail loudly. They skip a verification step, a disclosure, or a confirmation, and the call still sounds fine. Here's why it happens and how to find it. ## Optional - [Source code](https://github.com/sopops-dev/sopops) - [Demo](https://sopops.dev/demo/?tour): the app on a sample team's calls, no sign-up - [Talk to us](https://calendar.app.google/BUvPrnU1d3Kw57TJ8)