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
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 failecho_autoreport-0.1.1.tar.gz.
File metadata
- Download URL: failecho_autoreport-0.1.1.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dbaae1915482e5bd490fb6e89b68294d99bc2eb40899cf9f4bc83cd35ca9a91
|
|
| MD5 |
ed49d71c95368a341c8722517f2aa6c0
|
|
| BLAKE2b-256 |
3806f21abed9d12f94c0034d295bb347f0d2be097b893448fcd4aa2dcc6d7ae7
|
File details
Details for the file failecho_autoreport-0.1.1-py3-none-any.whl.
File metadata
- Download URL: failecho_autoreport-0.1.1-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2737a3a761622b2d27509696313df426c81fb14c65be4a2a2ff5744d8f92b826
|
|
| MD5 |
7227870657b9f988235c0139dc6a5759
|
|
| BLAKE2b-256 |
5bbe4d43fe7f3400b317b21509526adc0819483f42e389853bf4f9a170909882
|