
Agenttrail is a free, MIT-licensed local observability tool whose Map draws a project as a live picture of what each coding agent is working on, in the browser or beside the agents in the Herdr desktop app.

**It reads a plan file, git, and the agents' local logs and controls nothing, so it is the category's clearest split between watching and steering; its evidence window is two hours of logs, which makes it a live board rather than an archive, and a project with no plan gets a map inferred from git instead.**

## What it is

Agenttrail Map opens at `localhost:5330` after `npx agenttrail` in the repository (Node.js 20+), with Claude Code sessions from `~/.claude/projects` and Codex sessions from `~/.codex/sessions` appearing as run cards from their local logs.
With a `PLAN.md` the map combines declared intent with observed file changes: components carry ids, tech notes, file globs, the agent responsible, dependencies, and decisions, and a completed component lights up when its files change again.
With no plan the map is inferred from git, read-only, across every branch and worktree; `npx agenttrail init` adds the convention to `CLAUDE.md` and `AGENTS.md`, creates a starter plan, offers local Claude Code hooks, and adds a `.gitignore` entry.
Claude Code hooks are optional and add events the moment they happen rather than within a few seconds, a reminder to the agent when the plan has fallen behind the code, and a terminal hand-off.
Other agents show up by posting events to the board's local `POST /hook` endpoint, documented with a pi extension as the worked example.
Kelly Sun publishes it as the `agenttrail` npm package, and the README is its only documentation.

## Status

**Young and unreleased on GitHub: created 2026-08-21, no GitHub release, npm at 0.4.1 on 2026-11-06, and no commit since that day at this pass.**
1,096 stars, 83 forks, and 5 open issues, with one contributor, as of 2026-12-05.
The npm package counts five versions between 2026-08-24 and 2026-11-06.
The experimental 3D view, Kitchen, was retired so the project could focus on Map, and its last release stays on npm as `agenttrail-kitchen`.

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=sodiumsun/agenttrail&type=date&theme=dark&legend=top-left" />
  <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=sodiumsun/agenttrail&type=date&legend=top-left" />
  <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=sodiumsun/agenttrail&type=date&legend=top-left" />
</picture>

The Hacker News search I ran on the name returned fifteen fuzzy matches, all about other projects, and no story about the tool.
The README's own FAQ lists what is unverified, which is the most candid self-assessment in this batch of admissions.

## Strengths

- No hooks needed for the two adapters: Claude Code and Codex sessions appear from logs the harnesses already write.
- The plan-versus-code view is its own idea, and the hooks' reminder when the plan has fallen behind the code turns drift into something the agent is told about.
- Local by construction: it binds to 127.0.0.1 and needs no account, telemetry, transcript upload, model call, or cloud service.
- It never sends prompts, approves actions, or marks tasks complete, so a wrong reading cannot change a run.

## Cautions

- It reads logs touched in the last two hours and at most the last 2 MiB of each, so a session silent for two hours drops off and nothing here is a record.
- The plan convention is the bet: `init` writes to `CLAUDE.md` and `AGENTS.md`, so the map is only as good as the plan your agent keeps.
- Codex plans rarely show, because recent versions seldom write an `update_plan` call, and Cursor has no session adapter at all.
- Token billing and full model traces are not implemented, per the README's own FAQ.
- One contributor, no GitHub release, and Windows untested; the README says automated checks run on Linux and macOS.
- Run cards can show shortened command text and search terms, which matters on a shared screen.
- No independent coverage: no Hacker News story, and no review outside the repository that I could find.

## Pricing

Free and MIT licensed, with no paid tier, account, or cloud service.

## Compared to

- [agents-observe](../agents-observe/index.md): the hook-fed live dashboard with multi-agent trees and cost breakdowns; Agenttrail needs no hooks for its two adapters and adds the plan-versus-code map, but reports no cost.
- [claude-replay](../claude-replay/index.md): the after-the-fact replay compiled into one HTML file; Agenttrail is the live view of the same kind of session data.
- [git-ai](../git-ai/index.md): the provenance recorder that writes attribution into git as the agents edit; Agenttrail's file trails stay on the map and answer no commit or line question.

## Bottom line

**Recommended for an engineer running Claude Code or Codex in one repository who keeps a plan file and wants to see which part each session is changing while it runs.**
Not for anyone who needs cost or token reporting, a record older than two hours, or Windows support today.

## Changes

- 2026-12-05 - Created from the cross-category walk's routing of the 1shiharat/awesome-agent-clients list, admitted at 1,096 stars above the zero-coverage band with no Hacker News story; the two-hour log window, the plan-file dependency, the absent GitHub release, and the README's own unverified list recorded; ten fetched sources.

## See also

- [Session Analytics Feature Matrix](../session-analytics-feature-matrix/index.md) - the category comparison this note joins
- [agents-observe](../agents-observe/index.md) - the hook-fed live dashboard with the cost breakdowns Agenttrail omits
- [claude-replay](../claude-replay/index.md) - the after-the-fact replay of the sessions Agenttrail watches live
- [git-ai](../git-ai/index.md) - the git-layer provenance recorder for the commit questions the map does not answer

## References

- https://api.github.com/repos/sodiumsun/agenttrail - 1,096 stars, 83 forks, MIT, created 2026-08-21, pushed 2026-11-06, as of 2026-12-05
- https://api.github.com/repos/sodiumsun/agenttrail/readme - the map, the PLAN.md format, the per-agent table, the two-hour and 2 MiB limits, the Herdr mod, the local-by-construction claims, and the FAQ
- https://api.github.com/repos/sodiumsun/agenttrail/license - the MIT text, Copyright (c) 2026 Kelly Sun
- https://api.github.com/repos/sodiumsun/agenttrail/contents/docs/INGEST.md - the POST /hook ingest endpoint on ports 5330 to 5344 and the pi extension example
- https://api.github.com/repos/sodiumsun/agenttrail/commits - main's newest commit dated 2026-11-06
- https://api.github.com/repos/sodiumsun/agenttrail/releases/latest - 404, no GitHub release <!-- preflight-allow: https://api.github.com/repos/sodiumsun/agenttrail/releases/latest -->
- https://api.github.com/search/issues?q=repo:sodiumsun/agenttrail+type:issue+state:open - 5 open issues
- https://registry.npmjs.org/agenttrail - 0.4.1 as the latest of 5 versions, first published 2026-08-24, last modified 2026-11-06, MIT
- https://hn.algolia.com/api/v1/search?query=agenttrail&tags=story&hitsPerPage=4 - 15 fuzzy hits, none about the tool
- https://herdr.dev - the desktop app the Map mod targets, with 576 mods listed
