Docs
Everything you need to ship with Mesedi.
Mesedi observes agent executions in production, detects when an agent is going wrong, clusters related failures so the same problem doesn't page you a hundred times, optionally halts a misbehaving execution before it burns more budget, and notifies you out-of-band the first time a new failure class appears. Pick a section below to dive in.
5 min
Quickstart
Install the SDK, wrap your agent, see the first execution land in the dashboard. The fastest way to confirm Mesedi is observing your workload.
Python
Python SDK
@wrap and @tool decorators, AsyncShipper, Anthropic auto-instrumentation, hard-halt with budgets, and the LangChain / CrewAI framework adapters.
TypeScript
TypeScript SDK
wrap() and tool(), AsyncShipper, Anthropic patching, hard-halt + SSE remote channel, and the Vercel AI SDK adapter for generateText.
HTTP
API reference
Authentication, the executions and events ingest endpoints, schema versioning, rate limiting, and the webhook delivery contract.
Concepts
Failure classes and playbooks
The seven detector signatures (crashes, time-budget, step-count, tool failures, validator failures, prompt injection, cost velocity, drift, identical and similar-call loops) and what each Tier 1 Playbook recommends.
Self-host
Self-hosting guide
Run the Go backend behind your own infrastructure. SQLite for single-instance, Postgres on the production-hardening roadmap. The repo is MIT-licensed.
Prefer the source?
Every line of the backend, both SDKs, and the playbook content is on GitHub under MIT license. If you'd rather read the code than the docs, the repo is at github.com/mesedi-ai/mesedi. Each subdirectory has its own README, which is what most of these docs pages are built from.
Questions or corrections? Open an issue on GitHub or email mesediai@gmail.com.