Skip to main content

When your agent fails, this tells you exactly why.

Project description

AgentAutopsy

When your agent fails, this tells you exactly why.

demo

Python License Zero Config Works with

CLI

agentautopsy runs # see all agent runs agentautopsy replay # replay any failure agentautopsy stats # fix cache stats

Install

pip install agentautopsy

Usage

import agentautopsy
agentautopsy.watch()
# your existing agent code here — nothing else changes

AgentAutopsy automatically intercepts every LLM call, detects failures, finds root cause, outputs a verified fix, and caches it for next time.

Setup

Windows: set ANTHROPIC_API_KEY=your-key-here Mac/Linux: export ANTHROPIC_API_KEY=your-key-here Get your free key at console.anthropic.com

Quick start

Create test_agent.py and paste this:

import agentautopsy
agentautopsy.watch()

Run: python test_agent.py

Works with

OpenAI, Anthropic, LangChain, any framework using openai or anthropic

Requirements

Python 3.11+, ANTHROPIC_API_KEY

License

Apache 2.0

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

agentautopsy-0.4.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

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

agentautopsy-0.4.0-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file agentautopsy-0.4.0.tar.gz.

File metadata

  • Download URL: agentautopsy-0.4.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for agentautopsy-0.4.0.tar.gz
Algorithm Hash digest
SHA256 aba0d054214eb2bba1bf19739d284b45fcbe70259449b9ab1c39192a0094f73e
MD5 081755f10b8c95c60d0cbd53e2818d48
BLAKE2b-256 cdc305d9565a2f80d7391d1f7b2dd759fc1e0a3d8c839363b0ffadc9cdba2716

See more details on using hashes here.

File details

Details for the file agentautopsy-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: agentautopsy-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for agentautopsy-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a5f35ad9e46fc10a7f4910ac92e9d0e7ac4c0cdb6d5e545f0db4cfd06042c51
MD5 8081c7588edbb42be6030d344af875e5
BLAKE2b-256 237bbd2f012b80467e7d9de8b46955d19993956d0ec0a6a9b2455cacaf260b4a

See more details on using hashes here.

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