agent-trace

Session recorder and replay tool for coding agents

Image 1 of 1: agent-trace replaying a Claude Code session in the terminal, with tool calls and timings

Captures what a coding agent did, including tool calls, file operations, commands and errors, and replays the session later. Works through CLI hooks, an MCP proxy or a Python decorator, and exports to observability backends. Experimental.

  • 0Dependencies

Trade-offs

  • Python standard library only. Installing it pulls in no dependencies.
  • Capture limited to what each provider exposes through hooks. A published matrix lists the gaps per tool, not treating every adapter as equivalent.
  • Anonymous product telemetry on by default, disclosed once and off in CI. It never sends trace contents, and one command disables it.

Q&A4

Tool calls, file operations, decision points, error recovery and the commands the agent ran. Sessions can be exported to Datadog, Honeycomb, New Relic or Splunk.

Reviews

Loading reviews

    More in Observability

    See all 33 →
    • cerberusPrometheus, Loki and Tempo HTTP gateway for ClickHouse
    • rocketplaneIOSelf-hosted Kubernetes observability with transaction-gated agent actions
    • QueueScopeNative macOS dashboard for BullMQ queues on Redis
    • NerdlogMulti-host TUI log viewer with a timeline histogram and no central server
    • duckdb-otlpOpenTelemetry ingest and SQL queries in DuckDB
    • ProcInShWeb-based Linux process inspector with a 3D process space

    More in AI agents

    See all 99 →
    • HashCortxLocal-first desktop workspace for chat, coding agents and agent teams
    • ZeroboxDeny-by-default process sandbox with per-host secret injection
    • DeftSelf-hosted workspace shared by people and AI agents
    • EntrolyLocal context layer that picks what coding agents send to the model
    • Active GraphEvent-sourced graph runtime for long-running, auditable agents
    • AgenvoySelf-hosted agent harness in one Go binary, running around the clock

    More in Python

    See all 162 →
    • jobdGPU-aware job broker for a few personal machines, with an MCP server
    • RaspiMIDIHubRaspberry Pi as a plug-and-play USB MIDI hub with virtual instruments
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • gnss_gpuGPU GNSS positioning for urban canyons with particle filters and ray-traced NLOS
    • SnitchPer-app network monitor and outbound firewall for the desktop
    • HisabDouble-entry ledger kept by texting a WhatsApp agent, in Urdu or English