trace-multi-agent-system
/trace-multi-agent-system
Use this to add observability to a multi-agent or agentic system (multiple agents, sub-agents, tool loops, handoffs). Trigger on "trace my agents", "my agent crew is a black box", "which agent failed", "debug my LangGraph/CrewAI/AutoGen/agent workflow", "the agents loop forever". Get a clear span tree across agents and tool calls so you can see who did what.
- Author
- ContextJet-ai ↗
- Repository
- awesome-llm-observability ↗
- Licence
- CC0-1.0
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
CC0-1.0, otwarta.
What it does and when to use it
Use this to add observability to a multi-agent or agentic system (multiple agents, sub-agents, tool loops, handoffs). Trigger on "trace my agents", "my agent crew is a black box", "which agent failed", "debug my LangGraph/CrewAI/AutoGen/agent workflow", "the agents loop forever". Get a clear span tree across agents and tool calls so you can see who did what.
Triggers from the description
Original author description
Use this to add observability to a multi-agent or agentic system (multiple agents, sub-agents, tool loops, handoffs). Trigger on "trace my agents", "my agent crew is a black box", "which agent failed", "debug my LangGraph/CrewAI/AutoGen/agent workflow", "the agents loop forever". Get a clear span tree across agents and tool calls so you can see who did what.
How it works
- Get the structure right
- What to capture per agent
- Debug the common failures
- Verify
- Anti-patterns
SKILL.md preview
--- name: trace-multi-agent-system description: Use this to add observability to a multi-agent or agentic system (multiple agents, sub-agents, tool loops, handoffs). Trigger on "trace my agents", "my agent crew is a black box", "which agent failed", "debug my LangGraph/CrewAI/AutoGen/agent workflow", "the agents loop forever". Get a clear span tree across agents and tool calls so you can see who did what. license: CC0-1.0 --- # Trace a multi-agent system Multi-agent systems fail in ways single calls do not: an agent hands off bad state, a tool loop never terminates, a sub-agent silently fails and the orchestrator carries on. You cannot debug that from the final output. You need the full tree of who called whom. ## Get the structure right Model the run as a nested span tree: - **One root span** per user request or task. - **One span per agent turn** (which agent, its role, its input state). - **Child spans** for each tool call, retrieval, and LLM call inside that turn. - **Handoff spans / events** when one agent passes control or state to another (record what was passed). Most agent frameworks emit this if you turn on their tracing (LangGraph, CrewAI, AutoGen, OpenAI Agents SDK, LlamaIndex) or add OpenTelemetry instrumentation (OpenLLMetry, OpenInference auto-instrument several agent frameworks). Prefer the framework's built-in tracing, then fill gaps with manual spans (see `instrument-llm-observability`). ## What to capture per agent - **Identity + role** (`agent.name`, `agent.role`) so spans are attributable. - **Input state and output** at each handoff (the #1 source of multi-agent bugs is corrupted or lost state between agents). - **Tool calls** with args + results + errors. - **Loop/iteration count** so runaway loops are visible. - **Tokens + latency + cost per agent** (rolled up to the whole run) so you can see which agent is the expensive/slow one. ## Debug the common failures | Symptom | Look at | |---|---| | Wrong final result | Walk the tree to the first agent whose output diverges from intent. Fix there. | | Infinite / long loops | Iteration counts + repeated identical tool spans. Add a max-iterations guard. | | One agent "did nothing" | A missing or errored subtree. A swallowed exception in a sub-agent. | | Blows the budget | Per-agent token rollup. Usually one agent re-sending full context each turn. | | Non-deterministic flakiness | Compare two traces of the same input side by side. | ## Verify - Run one task and confirm the trace shows every agent turn, every tool call, and every handoff, nested correctly. - Confirm per-agent cost + latency roll up to a run total. - Break a sub-agent on purpose and confirm the failure is visible in the tree (not swallowed). ## Anti-patterns - Logging only the orchestrator, so sub-agent behavior is invisible. - No handoff/state capture, so you cannot tell where state got corrupted. - No iteration count, so a runaway loop just looks like "it is slow and expensive." - Treating a multi-agent bug as a prompt bug when it is really a state-passing bug between agents.
Versions
The database has no other skills named trace-multi-agent-system.
Database snapshot: 13.11.2026 · package version ad4e64c1e830 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 3 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100crewai-and-autogen-multi-agent-frameworks
Guides building multi-agent systems with role-based frameworks — CrewAI's crew/task/process model and Microsoft AutoGen's conversable-agent model — as opinionated implementations of multi-agent orchestration patterns. Use when a user asks to "build this with CrewAI," "set up a… - 100agent-architecture-patterns
Choose the right architecture for an LLM agent or multi-agent system. Use when the user is designing, comparing, or debugging agentic workflows and mentions ReAct, Reflexion, Plan-and-Execute, Router, Supervisor, Hierarchical, multi-agent, tool-use loop, agent graph, LangGraph,… - 90multi-agent-orchestration
Decide when to split work across multiple agents vs one agent with tools, and design the handoffs when you do. Use when the user is sketching a multi-agent system or debugging one, and mentions handoff, delegation, supervisor, swarm, crew, sub-agent, agent-to-agent, A2A,… - 95ai-multi-agent-systems
Use this skill when the user says 'multi-agent system', 'LangGraph multi-agent', 'AutoGen', 'CrewAI', 'OpenAI Agents SDK handoffs', 'agents sharing state', 'blackboard', 'human approval in agent graph', 'A2A protocol'. Builds the runtime for several cooperating agents:… - 100agentic-ai-developer
Guides hands-on development of agentic AI systems—agent loops (plan → act → observe), tool and MCP schemas, multi-agent orchestration and handoffs, state/checkpointing, HITL gates, agent prompts, reliability (retries, idempotency, cancellation), observability, trajectory… - 90debug-agent-from-traces
Use this to diagnose WHY an LLM agent or chain produced a wrong, empty, slow, or expensive result, by reading its observability trace. Trigger on "my agent gave the wrong answer", "the chain returned nothing", "why is this so slow/expensive", "debug this trace/run", or when a…