Find what broke in your agent calls. Pin it so it never ships again. Local call forensics and regression guards for AI agents: turn timing, and whether the agent did what it said. Nothing leaves your machine.
Project description
hotato
Find what broke in your agent calls. Pin it so it never ships again.
pip install hotato
hotato autopsy --demo # a bundled failing call: what broke, and when
hotato autopsy ./call.wav # then your own recording
hotato vapi health # or your last 100 Vapi calls
Zero config. Vapi, Retell, Bland, Synthflow, Millis, or local audio. Timing math, not a judge. Offline. Free. MIT.
What it finds
- Say-do gaps: the caller interrupts to cancel (a barge-in), the agent says "canceled", the booking tool fires anyway. hotato takes the turn timing from the audio and the tool call from your OTel trace.
- Latency spikes: the pause before a reply going from 800 ms to over 2 s.
- Dead air: that pause reaching 5 s, or the line going quiet.
- Talk-over: the agent starts a fresh utterance over the caller.
Quickstart
Vapi
pip install hotato
export VAPI_API_KEY=...
hotato vapi health --last 7d --output report.html
Open report.html: every critical incident, timestamped, and your Voice Stability Score.
Retell
export RETELL_API_KEY=...
hotato retell health --call-id CALL_ID
--call-id is required and repeatable: you name the Retell calls to pull.
hotato bland health, hotato synthflow health, and hotato millis health
follow the Vapi shape. Those stacks mix both voices onto one channel, so
they measure silence timing, dead air and latency gaps, each finding with
its measured confidence; barge-in and talk-over need two channels.
Local audio
hotato autopsy ./call.wav
Writes a self-contained HTML report to hotato-output/, plus the JSON
pin reads. Open the HTML in your browser.
From finding bugs to preventing them
autopsy turns one recording into timestamped incidents. scan reads a
folder and tracks the trend. When you are ready, move a finding into CI:
hotato pin turns one incident into a portable failure check, and hotato prove re-runs every stored check and fails the build rather than pass on
evidence it cannot re-read. Every verdict carries its own evidence across
five dimensions: outcome, policy, conversation, speech, reliability.
For continuous use: run hotato vapi health on a schedule, and open
hotato console --production-db evidence.db to watch calls land live.
Wire it into CI
The exit code is the verdict: 0 pass, 1 fail, 2 refuse (could not tell).
# .github/workflows/voice-qa.yml
on: [pull_request]
jobs:
hotato:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: attenlabs/hotato@v1.18.0
with:
contracts: contracts/
hotato-version: 1.18.0
contracts/ holds what pin wrote. Full workflow: docs/CI.md.
Point your agent at it
Point Claude Code, Cursor, or any coding agent at this repo: it reads
AGENTS.md and runs the loop end to end offline, no key. Over local
stdio the MCP server adds the scorer plus read/verify/propose tools:
uvx --from "hotato[mcp]" hotato-mcp (docs/MCP.md). Deploying is yours.
Nothing leaves your machine
hotato runs offline, on the machine that invokes it. The core is stdlib-only Python: no account, no key, no network call of its own. Your traces, prompts, and audio stay on your disk. Scoring with a language model you host yourself is a separate opt-in add-on, outside that core.
Go deeper
The whole loop, command by command: docs/LIFECYCLE.md.
First touch to a CI gate: docs/GETTING-STARTED.md.
Feed it what you already have: docs/CONNECT.md ·
docs/TRACE.md · docs/SIMULATE.md.
What every verdict stands on: docs/EVIDENCE-CONTRACT.md.
Next to the hosted alternatives: docs/COMPARE.md.
The deep toolkit -- capture, simulation, load, benchmarking, the fix ladder,
the fleet control plane -- lives under hotato lab (hotato lab --help).
The public commands are durable. hotato lab moves faster, and every
command name that worked before 1.17 still runs unchanged.
Specifications
| Property | Value |
|---|---|
| Footprint | ~10 MiB installed, 0 runtime dependencies (stdlib-only) |
| Reproducibility | byte-for-byte: the same recording, the same report |
| Exit codes | 0 pass · 1 fail · 2 refuse |
| Release integrity | OIDC Trusted Publishing + build-provenance attested |
| Runtime | offline, off the production data path |
Verify the measurement yourself
PYTHONPATH=src python3 -m hotato.benchmark \
--scenarios corpus/real/scenarios --audio corpus/real/audio
On 13 recorded AMI Meeting Corpus clips, the median error between measured caller-onset and the human word-alignment label is 20 ms. Provenance: corpus/real/README.md · method: METHODOLOGY.md.
Timing is measurable only when the two voices arrive on separate channels; a mono or mixed export is marked NOT SCORABLE and refused (hotato trust --stereo call.wav). The full four-tier evidence policy (what each verdict stands on, per input) is docs/EVIDENCE-CONTRACT.md.
Contribute
Issues and PRs welcome: CONTRIBUTING.md · SECURITY.md · CHANGELOG · docs/
License
MIT (LICENSE)
mcp-name: io.github.attenlabs/hotato
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hotato-1.18.0.tar.gz.
File metadata
- Download URL: hotato-1.18.0.tar.gz
- Upload date:
- Size: 8.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a712ff294aef6bdbc15de2a6f659f49977e4eff0106cd101ec951510908f48d8
|
|
| MD5 |
1bff28e854df9c24bc37f710bbf14e34
|
|
| BLAKE2b-256 |
81fc27bffbf22bd8b1b53f3bb14362ecd2d9afc613e7c93643ae128270d0f0a5
|
Provenance
The following attestation bundles were made for hotato-1.18.0.tar.gz:
Publisher:
publish-pypi-oidc.yml on attenlabs/hotato
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hotato-1.18.0.tar.gz -
Subject digest:
a712ff294aef6bdbc15de2a6f659f49977e4eff0106cd101ec951510908f48d8 - Sigstore transparency entry: 2282029772
- Sigstore integration time:
-
Permalink:
attenlabs/hotato@a84fb81435ccb3a5676052c07c4bb247f908c3f4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/attenlabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi-oidc.yml@a84fb81435ccb3a5676052c07c4bb247f908c3f4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file hotato-1.18.0-py3-none-any.whl.
File metadata
- Download URL: hotato-1.18.0-py3-none-any.whl
- Upload date:
- Size: 6.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc8274cec97da7c87992b9c06450d55ae24a79b15c964099f62c158887ce2fc0
|
|
| MD5 |
91dbc18720dc7e0638eef4b8d8152992
|
|
| BLAKE2b-256 |
3d56b7fd21894a313df7bee1a4a6b3495beb2063f75475f8fa2feceb4393b141
|
Provenance
The following attestation bundles were made for hotato-1.18.0-py3-none-any.whl:
Publisher:
publish-pypi-oidc.yml on attenlabs/hotato
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hotato-1.18.0-py3-none-any.whl -
Subject digest:
cc8274cec97da7c87992b9c06450d55ae24a79b15c964099f62c158887ce2fc0 - Sigstore transparency entry: 2282029844
- Sigstore integration time:
-
Permalink:
attenlabs/hotato@a84fb81435ccb3a5676052c07c4bb247f908c3f4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/attenlabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi-oidc.yml@a84fb81435ccb3a5676052c07c4bb247f908c3f4 -
Trigger Event:
workflow_dispatch
-
Statement type: