GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
AI agent observability with deterministic record/replay for debugging agent failures.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"agent-observability": {
"command": "uvx",
"args": [
"agent-observability-trace-cli",
"agent-trace-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add agent-observability -- uvx agent-observability-trace-cli agent-trace-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"agent-observability": {
"command": "uvx",
"args": [
"agent-observability-trace-cli",
"agent-trace-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"agent-observability": {
"type": "stdio",
"command": "uvx",
"args": [
"agent-observability-trace-cli",
"agent-trace-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 RudrenduPaul 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.11)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Record your agent's LLM calls once, replay them offline in under 1 ms, zero API calls, zero cost.
Your LangGraph agent fails after step 8. LangSmith shows you what broke. To reproduce it: 8 more LLM calls. 30 more seconds. $0.15 more in API cost. If the failure was caused by a transient model output, you can't reproduce it at all.
Agent Observability fixes this. Record once. Replay offline in 0.93 ms. Zero API calls. Zero cost.
Recording overhead: 0.011% (0.090 ms added per LLM call)
Replay latency: 0.93 ms mean (vs ~8,500 ms live on GPT-4o × 10 steps) Replay fidelity: 100% (response bytes byte-for-byte identical) CI cost per replay: $0
pip install agent-observability-trace-cli
uv add agent-observability-trace-cli
LangGraph support:
pip install agent-observability-trace-cli[langgraph]
OpenAI Agents SDK support:
pip install agent-observability-trace-cli[openai-agents]
# Record a live run (your script just needs `import agent_trace` somewhere)
agent-trace run --name my_agent -- python my_agent.py
agent-trace list
agent-trace replay run_
agent-trace show run_
list, inspect, diff, replay, and run all support --json for machine-parseable output, so an orchestrating agent or CI job can call any of them the same way a person would and parse the result. (run --json prints its own status to stderr and the child process's output to stdout, ending with one final JSON summary line, since the child's own output can't be made structured.) show has no --json mode of its own. It accepts --errors-only to filter its output to failed spans instead. See the full CLI reference below for every subcommand's flags.
Want programmatic control instead of the CLI? Use the Python API:
from agent_trace import tracer
import httpx
@tracer.instrument(record=True) def fetch_data(query: str) -> dict: with tracer.span("http-call") as span: resp = httpx.get("https://httpbin.org/get", params={"q": query}) span.set_attribute("http.status_code", resp.status_code) return resp.json()
result = fetch_data("hello")
Replay offline, no API calls, no tokens:
from agent_trace import replay
with replay("run_ ") as ctx: result = fetch_data("hello") # served from fixture, zero network print(result) # identical to the original run
[!TIP]
To store the input for later retrieval in replay, call
ctx.fixture.set_metadata('input', query)inside the recording context.
[!NOTE]
Sync and async clients: Agent Observability intercepts
httpx.Client,httpx.AsyncClient, andrequests.Session— including the async client used by default in the OpenAI Python SDK v1.x and Anthropic SDK. The patch is installed at request-dispatch time, so it also covers clients constructed before recording/replay starts (e.g. a module-levelopenai.AsyncOpenAI()instance).
agent-observability ships a Model Context Protocol server so an AI agent (Claude, Cursor, or any MCP-compatible client) can list, inspect, and replay recorded runs directly, without a human invoking the CLI by hand.
Install the extra:
pip install "agent-observability-trace-cli[mcp]"
Add it to your MCP client's config (for Claude Desktop, claude_desktop_config.json):
{
"mcpServers": { "agent-observability": { "command": "uvx", "args": ["--from", "agent-observability-trace-cli", "agent-trace-mcp"] } } }
The server exposes one tool, run, that shells out to the agent-trace CLI with the given subcommand and arguments plus --json, and returns the parsed JSON result:
run(["list"])
run(["replay", "run_abc123def456"])
Transport is stdio, so there is nothing to host: the MCP client spawns the server as a local subprocess. Source: src/agent_trace/mcp_server.py.
LangGraph · OpenAI Agents SDK · CrewAI · AutoGen · LlamaIndex · Haystack · Agno · PydanticAI · Google GenAI Plus: any httpx.Client, httpx.AsyncClient, or requests.Session — no framework required.
agent-trace has 7 subcommands. Every subcommand accepts -h/--help for the same detail shown here.
agent-trace versionPrint the installed version and exit. No arguments.
agent-trace listList all recorded runs in the trace directory (~/.agent-trace/runs by default, or $AGENT_TRACE_TRACE_DIR).
| Flag | Default | Description |
|---|---|---|
--json | off | Print machine-readable JSON instead of a human-readable table. |
agent-trace show Pretty-print the stored trace.json for a run.
| Argument | Required | Description |
|---|---|---|
run_id | yes | Run ID, e.g. run_abc123def456. |
| Flag | Default | Description |
|---|---|---|
--errors-only | off | Only print ERROR-status spans, each with its captured exception text. |
show has no --json mode. It prints the trace (colorized via rich when installed, plain json.dumps otherwise), not a structured summary object.
agent-trace replay Enter replay mode for a run and print the resulting span tree, plus streaming timing, HTTP error exchanges, and the same cross-span diagnostics show prints (error classification, duplicate node spans, retry storms, misattributed spans, checkpoint durability, zero-task updates).
| Argument | Required | Description |
|---|---|---|
run_id | yes | Run ID, e.g. run_abc123def456. |
--json | no | Print a structured JSON summary (fixture path, span/exchange counts, the original trace) instead of the human-readable span tree. |
agent-trace inspect Auto-flag known malformed request/response shapes and cross-span anomalies for a run.
| Argument | Required | Description |
|---|---|---|
run_id | yes | Run ID, e.g. run_abc123def456. |
| Flag | Default | Description |
|---|---|---|
--registered-tools | none | Comma-separated list of registered tool names. Enables the tool-call name fuzzy-match, dotted-compound, ReAct action-name-not-registered, and tool-call-name-not-registered checks. |
--configured-host | none | The framework's configured LLM endpoint host. Enables the endpoint-host-mismatch check. |
--check-kwarg | none | Dotted kwarg path (e.g. extra_body.chat_template_kwargs.thinking) expected to be present on the wire. Flags requests where it's absent. |
--diff-field | none | Response field to check for wire-present-but-downstream-absent: a top-level key (e.g. usage) or a dotted/nested path with numeric list-index segments (e.g. choices.0.message.reasoning_content, for provider fields like DeepSeek's reasoning_content). |
--diff-get-post-field | none | Dotted field path (e.g. instructions) to compare between an earlier GET response and a later, causally-related POST request body referencing the same resource id (see issue #2620). Flags stale-value mismatches, such as a GPTAssistantAgent POST /runs still sending instructions that no longer match what GET /assistants/{id} returns. |
--diff-get-post-id-field | id | Field name the GET response uses for the resource id. |
--diff-get-post-post-id-field | same as --diff-get-post-id-field | Field name the POST request body uses to reference the same resource id, if different (e.g. assistant_id). |
--json | off | Print machine-readable JSON instead of human-readable flag lists. |
agent-trace diff Diff two recorded runs' exchanges, matched by URL, highlighting field-level differences between request/response bodies, plus a restart-vs-resume check for a shared LangGraph thread_id (see issue #161).
| Argument | Required | Description |
|---|---|---|
run_id_a | yes | First run ID. |
run_id_b | yes | Second run ID. |
| Flag | Default | Description |
|---|---|---|
--json | off | Print machine-readable JSON instead of a human-readable diff. |
agent-trace run -- [args...]Exec a child process with recording pre-enabled process-wide (AGENT_TRACE_AUTO_RECORD=1), so the first import agent_trace inside that process, even one owned by a third-party CLI like langgraph dev, starts recording with zero code changes required in your own agent code. Exits with the child process's own exit code.
| Flag | Default | Description |
|---|---|---|
--run-id | random (run_<12-hex-chars>), printed on start | Explicit run ID. |
--name | auto-record | Trace name recorded in trace.json metadata. |
--json | off | Print agent-trace's own status as one final JSON line on stdout (status lines go to stderr instead). Must come before the child command, e.g. agent-trace run --json -- langgraph dev. |
| child_command (positional) | none | Everything after -- is exec'd as the child process, e.g. -- langgraph dev. This captures the remainder of the comma
只显示了开头部分;其余内容请在仓库中阅读