{"slug": "show-hn-agenttrace-observability-and-runtime-self-healing-engine-for-ai-agents", "title": "Show HN: AgentTrace–Observability and runtime self-healing engine for AI agents", "summary": "AgentTrace launched as an open-source observability SDK and dashboard that monitors multi-step tool calls in autonomous AI agent pipelines and automatically repairs malformed LLM tool arguments at runtime. The tool catches common LLM failures — passing strings instead of floats such as \"1200 INR\" instead of 1200.0, inventing key names like \"user_identifier\" instead of \"user_id\", and omitting required schema fields — and uses Groq-based fast inference to repair payloads before they crash workflows. The stack pairs a Python/Pydantic decorator SDK with a FastAPI and SQLite collector backend and a Next.js, Tailwind CSS dashboard featuring a Payload Diff Inspector.", "body_md": "**Live Production Demo:**\n\n- 🖥️\n**Interactive Web Dashboard:** [https://agent-trace-zeta.vercel.app/](https://agent-trace-zeta.vercel.app/)- ⚙️\n**FastAPI Swagger Docs:** [https://agenttrace-api-cdav.onrender.com/docs](https://agenttrace-api-cdav.onrender.com/docs)\n\nAn end-to-end observability SDK and dashboard for autonomous AI agent pipelines. It monitors multi-step tool calls, visualizes latency bottlenecks, and automatically repairs malformed LLM tool arguments at runtime without crashing workflows.\n\nLLMs frequently hallucinate tool arguments during multi-step runs:\n\n- Passing strings instead of floats (e.g. `\"1200 INR\"` instead of`1200.0` )\n- Inventing key names (e.g. `\"user_identifier\"` instead of`\"user_id\"` )\n- Omitting required schema fields\n\nNormally, these cause immediate runtime crashes. AgentTrace catches these failures and auto-repairs them at runtime.\n\n- **Decorator SDK:** Python, Pydantic (Validates schema before tool run)\n- **Self-Healing Layer:** Fast inference via Groq to repair payloads on failure\n- **Collector Backend:** FastAPI with SQLite persistence (`traces.db` )\n- **Live Dashboard:** Next.js, Tailwind CSS with Payload Diff Inspector\n\n```\n# In project root\npython -m uvicorn main:app --reload --port 8000\n```\n\n", "url": "https://wpnews.pro/news/show-hn-agenttrace-observability-and-runtime-self-healing-engine-for-ai-agents", "canonical_source": "https://github.com/mohitkumar188/AgentTrace", "published_at": "2026-09-20 21:24:17+00:00", "updated_at": "2026-09-20 21:53:00.580774+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "mlops", "ai-infrastructure"], "entities": ["AgentTrace", "Groq", "FastAPI", "SQLite", "Next.js", "Tailwind CSS", "Pydantic", "Python"], "alternates": {"html": "https://wpnews.pro/news/show-hn-agenttrace-observability-and-runtime-self-healing-engine-for-ai-agents", "markdown": "https://wpnews.pro/news/show-hn-agenttrace-observability-and-runtime-self-healing-engine-for-ai-agents.md", "text": "https://wpnews.pro/news/show-hn-agenttrace-observability-and-runtime-self-healing-engine-for-ai-agents.txt", "jsonld": "https://wpnews.pro/news/show-hn-agenttrace-observability-and-runtime-self-healing-engine-for-ai-agents.jsonld"}}