Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Coding Agent Trajectory ViewerNew to Visual Studio Code? Get it now.
Coding Agent Trajectory Viewer

Coding Agent Trajectory Viewer

wuwendyy

|
4 installs
| (0) | Free
Visualize coding agent conversation trajectories from JSONL session files with full API capture. Supports Claude Code and Codex.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Claude Code Trajectory Viewer

A VS Code extension that captures, visualizes, and explores Claude Code (and Codex) conversation trajectories — including full API request/response capture.

Features

  • Trajectory Explorer — Browse all Claude Code and Codex sessions from the sidebar, organized by project
  • API Capture Proxy — Transparent HTTP proxy that intercepts Claude API calls, capturing full request/response data with streaming support
  • Cross-Window Capture — Proxy auto-discovery via lock file; any VS Code window can capture, and others sync automatically
  • Unified Timeline — View conversations with user prompts, assistant responses, tool calls, thinking blocks, and linked API captures in one timeline
  • Remote SSH Support — Works on remote servers via VS Code Remote SSH; captures stored on the remote machine

Getting Started

  1. Install the extension
  2. Click the capture button in the status bar (or use the command palette: "Trajectory: Start Capture Proxy")
  3. Use Claude Code in any terminal — API calls are automatically captured
  4. Browse sessions in the Trajectory Viewer sidebar
  5. Click a session to view the full conversation timeline with linked API data

How It Works

The extension runs a local HTTP proxy on 127.0.0.1:9876 and sets ANTHROPIC_BASE_URL in your terminal environment. Claude Code sends API requests through the proxy, which forwards them to api.anthropic.com while capturing the full request and response.

Captures are stored in ~/.claude/recorder/captures/ organized by project and session.

Cross-Window Support

  • Any window can start the proxy; others auto-discover it via ~/.claude/recorder/proxy.lock
  • If the proxy owner window closes, another window takes over automatically
  • Each window's status bar shows the live call count (polled every 1 second)

Remote SSH

The extension runs on the remote server via extensionKind: ["workspace"]. Local and remote captures are fully independent — each machine has its own proxy and storage.

Commands

Command Description
Trajectory: Start Capture Proxy Start the API capture proxy
Trajectory: Stop Capture Proxy Stop capturing
Trajectory: Toggle Capture Proxy Toggle capture on/off
Trajectory: Copy Proxy Env Variable Copy ANTHROPIC_BASE_URL to clipboard
Trajectory: Reset Capture Proxy Env Clean up stale proxy environment
Trajectory: View Captured API Calls Open all captured calls in a panel
Trajectory: Export Unified Session Export session + captures as unified JSON

Requirements

  • VS Code 1.85+
  • Claude Code CLI (for capturing API calls)

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft