TL;DR: Open-source toolkit for debugging LangChain, CrewAI, and AutoGen agents in one unified dashboard. Self-hosted, <1% overhead, MIT license.
Building an agent system with multiple frameworks? You're flying blind.
- LangSmith only sees LangChain
- CrewAI has limited observability
- AutoGen logs to console
You need visibility across ALL frameworks.
A framework-agnostic tracing toolkit that:
✅ Auto-detects LangChain, CrewAI, AutoGen
✅ Unified tracing - All frameworks in one timeline
✅ Self-hosted - Your data stays local
✅ <1% overhead - Production-ready
✅ MIT license - No vendor lock-in
Install:
pip install agent-observability
python -m agent_observability.serverOpen http://localhost:5001 → Done.
from agent_observability import trace
with trace("customer_support"):
# 1. LangChain: Intent classification
intent = langchain_chain.run(message)
# 2. CrewAI: Execute task
result = crew.kickoff(intent)
# 3. AutoGen: Refine response
final = autogen_agents.chat(result)Dashboard shows:
🟦 LangChain → Intent (45ms, $0.0012)
🟩 CrewAI → Task Execution (230ms, $0.0089)
🟧 AutoGen → Refinement (180ms)
Total: 455ms | Cost: $0.0101 | Status: ✅
One trace. Three frameworks. Complete visibility.
- Framework badges - Color-coded 🟦 🟩 🟧
- Smart filters - Filter by framework
- Insights dashboard - Framework distribution, performance metrics
- Adapter status - See which frameworks are active
from agent_observability import init_tracer
# Auto-detects installed frameworks
tracer = init_tracer(auto_detect_frameworks=True)
# Your code just works - no changes needed!Benchmark: 1,000 agent runs
| Metric | Baseline | With Tracing | Overhead |
|---|---|---|---|
| Latency | 450ms | 453ms | +0.67% |
| Memory | 125 MB | 128 MB | +2.4% |
| Throughput | 45 req/s | 44.7 req/s | -0.67% |
Simple, powerful design:
Your Code → Framework Adapters → Tracer → File Storage → Web UI
Why file storage?
- No database setup
- Plain JSON (readable, portable)
- Fast direct I/O
- Copy traces between machines
Step 1: Remove LangSmith
# Before
import langsmith
langsmith.init(api_key="...")
# After
from agent_observability import init_tracer
tracer = init_tracer()Step 2: Done. (Auto-detection handles the rest)
What you gain:
- ✅ Multi-framework support
- ✅ Self-hosted
- ✅ No usage limits
- ✅ Full data control
"We use LangChain + CrewAI + custom code. Before this toolkit, we had zero visibility into their interactions. Now we see the full pipeline."
— AI startup dev team
Impact: Found 500ms bottleneck, reduced latency by 40%
"Toolkit showed 80% of our OpenAI costs came from one CrewAI agent in a loop. Fixed it, saved $1,200/month."
— B2B SaaS engineering lead
Impact: 60% cost reduction
| Feature | Agent Obs. Kit | LangSmith | LangFuse |
|---|---|---|---|
| Multi-Framework | ✅ | ❌ | |
| Self-Hosted | ✅ | ❌ | ✅ |
| Open Source | ✅ MIT | ❌ | ✅ MIT |
| Setup Time | 30s | 5min | 15min |
| Pricing | Free | $39/mo | Free tier |
# Install
pip install agent-observability
# Run example
git clone https://github.com/openclaw/agent-observability-kit
cd agent-observability-kit/examples
python multi_framework_example.py
# Start dashboard
python -m agent_observability.server
# Open http://localhost:5001langchain_example.py- RAG pipelinecrewai_example.py- Multi-agent crewautogen_example.py- Agent conversationsmulti_framework_example.py- All three frameworks
- 🔄 Real-time streaming (WebSocket)
- 🔄 Distributed tracing
- 🔄 Custom metrics & alerts
- 📋 Team collaboration
- 📋 Cloud-hosted option
- 📋 Advanced analytics
We're looking for:
- Framework adapter contributors (LlamaIndex, Haystack, etc.)
- UI/UX improvements
- Performance optimizations
PRs welcome!
- GitHub: https://github.com/openclaw/agent-observability-kit
- Docs: [Coming soon]
- Discord: [Join us]
- Examples:
/examplesdirectory
Stop being locked into one framework's observability.
Agent Observability Kit gives you:
- ✅ Full visibility across frameworks
- ✅ Self-hosted control
- ✅ Production performance
- ✅ Zero vendor lock-in
Try it now:
pip install agent-observabilityQuestions?
- Comment below
- GitHub Issues
- Discord community
Built with ❤️ by OpenClaw. MIT License.
#ai #agents #observability #langchain #opensource #python