Trace agent execution by collecting spans and building a trace tree for a task
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-observe-trace-88177d7cf90b ,按照其中的说明把「observe-trace」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Collect distributed trace spans for a task and build a visual trace tree showing the execution flow, timing, and bottlenecks.
When you need to understand how a task was executed across agents -- which spans ran, how long each took, where bottlenecks occurred, and how agents coordinated.
mcp__plugin_ruflo-core_ruflo__memory_search --namespace observability (or memory_list) to retrieve all spans matching the <task-id>. The memory_* tool family routes by namespace; agentdb_hierarchical-* does NOT (it routes by tier working|episodic|semantic), so use memory_* here. See ruflo-agentdb ADR-0001 §"Namespace convention".parentSpanId references, with the root span at the topmcp__plugin_ruflo-core_ruflo__agentdb_context-synthesize to combine span metadata into a narrative summary of the execution flownpx @claude-flow/cli@latest memory search --query "trace spans for task TASK_ID" --namespace observability