OopsTrace gives you a live trace tree for every agent run. Error spans light up the moment they fail — click one to open an AI chat pre-loaded with full context and fix the bug instantly.
Works with every major AI framework
Everything you need to observe, debug, and improve your agents — in one place.
No complex setup. Add two lines, open the dashboard, and start debugging.
from oopstrace import OopsTrace OopsTrace.init(api_key="ot_...") @OopsTrace.trace async def my_agent(query: str): result = await llm_call(query) return result
# Spans appear as your agent runs: # # ● my_agent 2.4s ✓ # ● retrieve_context 320ms ✓ # ● llm_call 1.1s ✗ ← Oops! # ● tool_execution 240ms ✗ # ● generate_response 680ms ✓
# AI assistant context (auto-injected): # Span: llm_call # Error: RateLimitError — quota exceeded # Input: { model: "gpt-4o", messages: [...] } # Parent: my_agent → retrieve_context # > Why did this span fail? > Suggest a retry strategy with backoff.
Run OopsTrace on your own servers. Your traces stay in your environment — no data leaves your infrastructure. Full control, no vendor lock-in.
$ git clone github.com/oopstrace/oopstrace $ docker compose up -d $ # Dashboard ready at localhost:3000
Free plan available. No credit card required. Up and running in under 5 minutes.