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.2.0.tar.gz (1.3 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.2.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agentautopsy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 71d8bfa55791c9581b10e91ad4cfe77973a4e70da9632134bac6150023d5bd68
MD5 b5e0edf6eee3bff77151b63d36bcf0a7
BLAKE2b-256 5e8090fc4cdd7480a071a8b6b75f56703f0f7cde6398c1e2906afe44da00967a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentautopsy-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c43ba43abe7fde2e3a6e285b16a1e43ad4d37475d76752517fc77963e34057d5
MD5 4277968875a8c9fc6bf3a05a5388c5df
BLAKE2b-256 bb5d36062057c38d141159e74961adebce72dc94a51f9f341d2be7fbd0aba841

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