{"id":50413677,"url":"https://github.com/mesedi-ai/mesedi","last_synced_at":"2026-05-31T05:01:55.381Z","repository":{"id":360065454,"uuid":"1241740072","full_name":"mesedi-ai/mesedi","owner":"mesedi-ai","description":"Guardians for autonomous AI agents. Detect loops, crashes, prompt injection, validator failures, drift, and runaway costs in production. Python + TypeScript SDKs, Go backend, drop-in adopt.","archived":false,"fork":false,"pushed_at":"2026-05-24T21:25:49.000Z","size":12394,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-24T21:29:53.488Z","etag":null,"topics":["agent-guardrails","agent-observability","ai-agents","anthropic","crewai","golang","langchain","llm-monitoring","llm-observability","observability","prompt-injection","python","typescript","vercel-ai-sdk"],"latest_commit_sha":null,"homepage":"https://mesedi.vercel.app","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mesedi-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-17T18:56:59.000Z","updated_at":"2026-05-24T21:25:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mesedi-ai/mesedi","commit_stats":null,"previous_names":["mesedi-ai/mesedi"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mesedi-ai/mesedi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesedi-ai%2Fmesedi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesedi-ai%2Fmesedi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesedi-ai%2Fmesedi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesedi-ai%2Fmesedi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mesedi-ai","download_url":"https://codeload.github.com/mesedi-ai/mesedi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesedi-ai%2Fmesedi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33719601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-guardrails","agent-observability","ai-agents","anthropic","crewai","golang","langchain","llm-monitoring","llm-observability","observability","prompt-injection","python","typescript","vercel-ai-sdk"],"created_at":"2026-05-31T05:01:54.773Z","updated_at":"2026-05-31T05:01:55.376Z","avatar_url":"https://github.com/mesedi-ai.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mesedi\n\n**Guardians for autonomous AI agents.**\n\nMesedi observes agent executions in production, detects when an agent is going wrong (loops, crashes, runaway costs, prompt-injection attacks, validator failures, drift, silent tool failures), 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 via webhook the first time a new failure class appears.\n\nThe Mesedi v1 surface is \"detect, cluster, optionally stop, escalate, drop-in adopt.\" Per-failure-class canonical fix descriptions (Tier 1 Playbooks) ship in the dashboard; auto-fix (Tier 3) is on the v2 roadmap.\n\n## Repository layout\n\nThis is a monorepo. Each top-level directory is independently buildable; cross-directory changes (e.g. backend wire-format updates that ripple to both SDKs) land as single atomic commits.\n\n```\nbackend/         Go HTTP service. Ingests telemetry, runs the seven\n                 failure-class detectors, dedupes into failure_groups,\n                 serves the dashboard, fires webhooks on first\n                 occurrence of a new failure class. SQLite today,\n                 Postgres migration on the roadmap.\nsdk-python/      Python SDK shipped to PyPI as `mesedi`. @wrap +\n                 @tool decorators, AsyncShipper, Anthropic auto-\n                 instrument, hard-halt with budgets + SSE remote\n                 channel. Optional `[langchain]` / `[crewai]`\n                 extras for framework adapters.\nsdk-typescript/  TypeScript / Node SDK shipped to npm as `mesedi`.\n                 Feature-parity with Python: wrap()/tool(),\n                 AsyncShipper, Anthropic patch, hard-halt + SSE.\n                 `mesedi/integrations/vercel_ai` adapter for Vercel\n                 AI SDK's generateText.\nbranding/        Logo and favicon assets.\n```\n\nThe customer-facing marketing site, pricing, signup, and live dashboard live in a separate repository (the Next.js front end at https://mesedi.vercel.app).\n\n## Local quickstart\n\nPrerequisites:\n\n- Go 1.22+\n- Python 3.9+\n- Node 18+\n- A local SQLite (bundled, no install)\n\nStart the backend (Terminal 1):\n\n```bash\ncd backend\ngo run ./cmd/api\n```\n\nRun a sample Python agent (Terminal 2):\n\n```bash\ncd sdk-python\npython3 -m pip install -e .\npython3 sandbox/real_agent.py\n```\n\nOr run a sample TypeScript agent (Terminal 2):\n\n```bash\ncd sdk-typescript\nnpm install\nnpm run build\nnpm run test:sandbox\n```\n\nOpen the dashboard:\n\n```\nhttp://localhost:8080/ui/\n```\n\nYou should see executions, events, failure groups, the playbook surface per failure class, the webhook escalation page, and the API-key management page. Default bootstrap API key for local dev: `mesedi_sk_dev_local_only`.\n\n## Status\n\nAll seven failure-class detectors are live, plus failure-group deduplication, hard-halt with local budgets plus SSE remote channel, dashboard with collapse-by-class view, operator Halt button, webhook escalation on first-occurrence, framework adapters for LangChain / CrewAI / Vercel AI SDK, and Tier 1 Playbooks v1 covering every detector-signature shape.\n\nThe hosted Cloud version runs on Fly.io. Self-host instructions are in `backend/README.md`.\n\n## Documentation\n\nEach subdirectory has its own README:\n\n- [`backend/README.md`](backend/README.md): backend runbook, configuration, schema versioning, rate limiting\n- [`sdk-python/README.md`](sdk-python/README.md): Python SDK API, framework adapters, hard-halt\n- [`sdk-typescript/README.md`](sdk-typescript/README.md): TypeScript SDK API, Vercel AI SDK adapter\n\n## License\n\nMIT. See [`LICENSE`](LICENSE). Mesedi is operated by Verdifax, LLC d/b/a Mesedi, a Delaware limited liability company.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesedi-ai%2Fmesedi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmesedi-ai%2Fmesedi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesedi-ai%2Fmesedi/lists"}