Skip to main content

Find what broke in your agent calls. Pin it so it never ships again. Local call forensics and regression guards for AI agents: deterministic, byte-reproducible, free, MIT, CI-native. Nothing leaves your machine.

Project description

hotato

PyPI version Downloads per month Python versions CI status MIT license

hotato

Find what broke in your agent calls. Pin it so it never ships again.

pip install hotato
hotato vapi health              # analyze your last 100 Vapi calls
hotato autopsy ./call.wav       # or analyze one local file

Zero config. Works with Vapi, Retell, Bland, Synthflow, Millis, or local audio. No judges. No cloud. No bill. MIT.

hotato.dev

What it finds

  • Barge-in → Say-do gaps: Caller interrupts to cancel; agent says "canceled" but the booking tool still fires. The most expensive voice AI bug. (Timing from the audio; the tool-fire check reads your call's tool log: hotato ingests Vapi/OTel traces.)
  • Latency spikes: 800ms → 5s unpredictability that makes users hang up.
  • Dead air: Long silences that kill conversation flow.
  • Talk-over: Agent speaks over the caller; never yields.

Quickstart

Vapi

pip install hotato
export VAPI_API_KEY=...
hotato vapi health --last 7d --output report.html

Open report.html. See your Voice Stability Score and every critical incident.

Retell

export RETELL_API_KEY=...
hotato retell health --call-id CALL_ID

--call-id is required and repeatable: Retell has no verified list-recent-calls endpoint, so hotato never guesses one. hotato bland health, hotato synthflow health, and hotato millis health follow the Vapi shape; those stacks export one mixed channel, so their reports carry the measured-confidence mono observations block.

Local audio

hotato autopsy ./call.wav

Writes a detailed, self-contained HTML incident report under hotato-output/; open it in your browser.

From finding bugs to preventing them

autopsy finds bugs. scan tracks trends across a folder of calls. When you are ready, pin incidents to your CI so they never ship again: hotato pin turns one incident into a portable failure check, and hotato prove is the CI check that re-runs every stored piece of evidence and fails closed. Every verdict carries its evidence across five dimensions (outcome, policy, conversation, speech, reliability).

Read more →

For continuous use: run hotato vapi health on a schedule, and open hotato console --production-db DB to inspect stored runs locally.

Wire it into CI

The step's exit code is the verdict: 0 pass, 1 fail, 2 refuse.

# .github/workflows/voice-qa.yml
on: [pull_request]
jobs:
  hotato:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: attenlabs/hotato@v1.16.0
        with:
          contracts: contracts/
          hotato-version: 1.16.0

Copy-paste workflow with a commit-SHA pin: 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. The MCP server exposes the scorer plus read/verify/propose tools over local stdio: uvx --from "hotato[mcp]" hotato-mcp (docs/MCP.md).

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 local, and the local-judge lane is opt-in and quality-gated, separate from the deterministic 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. Next to the hosted alternatives: docs/COMPARE.md.

Specifications

Property Value
Footprint ~10 MiB installed, 0 runtime dependencies (stdlib-only)
Reproducibility byte-for-byte, content-addressed checks
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).

Contribute

Issues and PRs welcome: CONTRIBUTING.md · SECURITY.md · CHANGELOG · docs/

License

MIT (LICENSE)

Know when to pass it on.

mcp-name: io.github.attenlabs/hotato

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hotato-1.16.0.tar.gz (8.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hotato-1.16.0-py3-none-any.whl (6.1 MB view details)

Uploaded Python 3

File details

Details for the file hotato-1.16.0.tar.gz.

File metadata

  • Download URL: hotato-1.16.0.tar.gz
  • Upload date:
  • Size: 8.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for hotato-1.16.0.tar.gz
Algorithm Hash digest
SHA256 23347570200be99ce8f6709b3b555d7dee14e8afba1378abb7281d6bbe4e42fb
MD5 567eba42203bee8fd760cb73c78061f4
BLAKE2b-256 496985a04ff3cd914ce49769319d48881262d40cbc39f52d4bb3904dd60dfdc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for hotato-1.16.0.tar.gz:

Publisher: publish-pypi-oidc.yml on attenlabs/hotato

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hotato-1.16.0-py3-none-any.whl.

File metadata

  • Download URL: hotato-1.16.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

Hashes for hotato-1.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b67089491edcf2f50b3102be4aba1ee0511861d8f4cb82572cd7233f92992483
MD5 1edb6144185baaaf61ed1fdd8747720b
BLAKE2b-256 6060cd09c8fffe315dc45adf2a75f90e16fb2ca0df00da3fa91b798ac5d218cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for hotato-1.16.0-py3-none-any.whl:

Publisher: publish-pypi-oidc.yml on attenlabs/hotato

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page