Description
opentraces is an open-source command-line tool that records what an AI coding agent does during a session and saves the record as structured JSONL traces. It captures prompts, tool calls and edits along with the outcome, so the work behind a change can be reviewed later. The tool works with agents including Claude Code, Codex and pi. Setup installs hooks for session capture and a git watcher that runs after commits. Captured traces stay in a local bucket with content hashes and patch history. A review mode lets you check a trace before anything is shared, and an auto mode captures sessions without that step. Shared traces are published as datasets to the Hugging Face Hub. The site also has a schema explorer and a Hub preview, a web companion for browsing traces, projects and datasets. The Hub is in preview, and early access is offered on the site. opentraces is for developers and researchers who want agent sessions documented or used as training data, and the source is on GitHub.…
Highlights
- Captures agent prompts, tool calls and edits
- Works with Claude Code, Codex and pi
- Auto mode or review mode before sharing
- Local trace bucket with content hashes
- Publishes datasets to Hugging Face Hub
- Schema explorer and Hub preview
Ratings & Reviews
No ratings yet
Be the first to rate Opentraces.
People also visit

agent-pulse
Use Agent Pulse to inspect local AI-agent activity across Hermes, Claude Code
Opentraces FAQ
What is opentraces?
An open-source command-line tool that records what an AI coding agent sees, does and changes in a session, and stores it as structured JSONL traces.
Which agents does it support?
The site names Claude Code, Codex and pi. Setup connects to those agents and turns on session capture.
Are my traces shared automatically?
Traces are kept in a local bucket. Review mode lets you check a trace before it is shared to the Hugging Face Hub.
What is the Hub?
A web companion to the CLI where traces, projects, benches and datasets can be browsed. It is in preview, and early access is offered on the site.
Where is the source code?
On GitHub at JayFarei/opentraces.








