Skip to main content

failecho-autoreport

Automatic failure reporting for agents that are not Claude Code.

Claude Code reports tool failures through a hook that fires after every call, with no model deciding anything. Everywhere else -- LangChain, LlamaIndex, a cron job, a local model driving a scraper -- reporting depends on the model choosing to call a tool, and a small model reliably will not. This removes the decision: wrap the call site once.

from failecho_autoreport import FailEcho

fe = FailEcho()

tools = fe.wrap(tools, service="github-mcp")          # a framework's tool list

@fe.watch(service="api.github.com", operation="create_issue")
def create_issue(title):                              # or one call site
    ...

fe.recovered("api.github.com", "create_issue", "refresh_schema")  # what fixed it

What it sends is a failure's shape: service, operation, a short error class, an HTTP-ish code when there is one, and duration. Never arguments, never return values, never the prompt, never a credential. Error text is off unless FAILECHO_SEND_ERRORS=1.

Three properties it has, each with a test rather than a promise:

  • Never raises. A reporting bug cannot become your application's exception.
  • Never blocks. Reports go to a worker thread; an unreachable FailEcho costs the caller about 3 ms, not a timeout.
  • Never changes behaviour. Returns and re-raises exactly what your code did.

The recovered() line is the one worth bothering with. Failures alone give the network a failure rate; only an outcome records what fixed it, which is the half another agent can act on. It cannot be inferred, so it stays one explicit call.

Zero dependencies. FAILECHO_DISABLED=1 turns it off. Point endpoint= at your own server to send nothing to anyone else. The network at failecho.com is public and, as of this release, empty -- the front page says so. Works on your own history alone from five recoveries.

MIT. Source: https://github.com/FailEcho/failecho

Download files

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

Source Distribution

failecho_autoreport-0.1.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

failecho_autoreport-0.1.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file failecho_autoreport-0.1.0.tar.gz.

File metadata

  • Download URL: failecho_autoreport-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for failecho_autoreport-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f7fb5a2f98ad06c87730e2847a5a01ad643b39e75df5e9787122d86ce6686c48
MD5 f8613dd2a54bb2adfdcdcbbda0a32f00
BLAKE2b-256 c354a6a84cb71c50fad4edd80da33f5dbdfa5035f9664b852ee2e35c4944b5a4

See more details on using hashes here.

File details

Details for the file failecho_autoreport-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for failecho_autoreport-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 947b54a93707198574ac73dfdec0da1d54f987def5a24311f997c4c302d815f0
MD5 89f4533072e2c5dc3c8b02e2ce1d02ec
BLAKE2b-256 cb396053e3bed9056b99c165ebc267ac350f0e15421979b7a632162d44b15458

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page