Claude Code session
claude-tap
Intercepts and inspects API traffic from Claude Code and other agent CLIs.
Install
uv tool install claude-tapgit clone https://github.com/liaohch3/claude-tap.gitFrom the README
claude-tap
中文文档
claude-tap is a local proxy and trace viewer for AI coding agents. Run your CLI through it, or listen to local app transcripts, then inspect the real API traffic and agent context: system prompts, conversation history, tool schemas, tool calls, streaming responses, token usage, and request diffs.
Website: Local AI Agent Trace Viewer · Guide: How to view agent traces locally
It works with Claude Code, Codex CLI, Codex App, Gemini CLI, Grok Build CLI, Kimi CLI, MiMo Code, OpenCode, OpenClaw, Pi, Hermes Agent, Cursor CLI, Qoder CLI, Antigravity CLI, and CodeBuddy CLI.
Open a real agent run, inspect every request, and compare how context changes between turns.
Light viewer overview
Dark mode for long review sessions
Structured diff across adjacent requests
Built with claude-tap
Phistory archives versioned system prompt snapshots from agent CLIs such as Claude Code, Codex, Kimi, opencode, and Pi. It uses claude-tap's capture-only prompt export to preserve raw HTTP trace evidence and generate comparison-friendly prompt snapshots.
Open the prompt diff viewer · View repository
Why use it
- 👀 See the exact context: inspect prompts, messages, tool definitions, tool calls, tool results, reconstructed streaming responses, and token usage.
- 🔎 Debug behavior with evidence: compare adjacent requests and pinpoint which prompt, message, tool, or parameter changed.
- 📦 Share one portable artifact: each run writes a local trace session that can be exported to a self-contained HTML viewer for review or archiving.
- 🔒 Keep traces on your machine: no hosted dashboard is required, and common auth headers are redacted before recording.
- 🧩 Use one workflow across clients: trace Claude Code, Codex CLI, Codex App, Gemini CLI,…Details
- Repository
- liaohch3/claude-tap
- Language
- Python
- License
- MIT
- Last updated
- 3 November 2026
- Topics
- agent-debuggingagent-observabilityai-agentsai-toolsapi-debuggingclaude-codecodexcodex-clicursor-clideveloper-toolsgemini-clihermes-agent
- Listed in
- jqueryscript/awesome-claude-code
FAQ
What is claude-tap?
Intercepts and inspects API traffic from Claude Code and other agent CLIs. It is a session for Claude Code, from liaohch3/claude-tap on GitHub.
How do I install claude-tap?
Run uv tool install claude-tap, then follow the setup in the README.
Is claude-tap popular?
liaohch3/claude-tap has 3,324 GitHub stars and 286 forks, and is included in 1 curated Claude Code list. It was last updated on 3 November 2026.
More sessions & history
claude-devtools
4kmatt1398/claude-devtools
DevTools-style inspector for Claude Code session logs, tool calls, tokens, subagents and context.
CLI
5.3kentireio/cli
Entire CLI hooks into your Git workflow to capture AI agent sessions as you work. Sessions are indexed alongside commits, creating a searchable record of how code was written in your repo.
agentsview
6.3kkenn-io/agentsview
Local-first session search and analytics across Claude Code and other coding agents.
Omnara
3.3komnara-ai/omnara
The open-source managed agent platform. A self-hostable alternative to Claude Managed Agents and OpenAI's Agents API.
AI Job Search
69kai-job-search-dev/ai-job-search
The job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Claude Code History Viewer
2.3kjhlee0409/claude-code-history-viewer
Desktop app and web server to browse, search and analyse Claude Code conversation history.
Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.