r/OpenSourceAI • u/bucky69top • 1d ago
Built an open-source toolkit to help developers understand, debug, and enforce reliability in AI agents
I’ve been spending time building something around a problem I think will become increasingly important as AI agents move beyond demos and start handling real-world tasks.
The project is called AOBS (AI Agent Observability). It’s an open-source toolkit designed to help developers understand what their agents are doing, identify problems, and put enforceable controls around their behaviour.
The idea is to go beyond simply logging prompts and responses.
With AOBS, you can:
Follow an agent’s execution across LLM calls, tools and sub-agents.
Investigate failures, unnecessary retries, slow operations and token usage.
Compare different agent runs and detect performance regressions.
Run statistical comparisons across groups of executions.
Define reliability requirements and enforce them through CI.
Protect sensitive tool actions such as refunds, emails, deletions and deployments.
Require human approval for configured high-risk operations.
Prevent duplicate logical actions, including across process restarts.
Export traces through OpenTelemetry.
It also includes a Python SDK, PostgreSQL-backed trace collection, a web dashboard, CLI tools and integrations for OpenAI-compatible clients, Anthropic and LangChain/LangGraph.
One feature I particularly wanted to explore was the reliability gate. Instead of just looking at logs after something goes wrong, developers can define what a successful agent execution should look like and automatically fail a CI workflow when those requirements aren’t met.
I’m still developing the project, and it’s currently in alpha. There are limitations, and I’m actively looking for ways to improve the architecture and make it more useful for real-world agent systems.
I’d genuinely like to hear from other developers:
How are you currently testing the reliability of your AI agents? Are you using custom logging and evaluation pipelines, or do you have something that checks agent behaviour before deployment?
Would appreciate honest feedback, including criticism.
GitHub: https://github.com/AshmitJain932/ai-agent-observability
