Mindwalk - Session Replay Visualization for Codebases
Replays coding-agent sessions on a 3D map of your codebase, revealing how the agent understood the task at a glance.
- Source repo
- cosmtrek/mindwalk
- Stars
- ★ 1.4k
- Last updated
- 3mo ago v0.5.0
- FARS reviewed
- Nov 08, 2026
- License
- MIT
- Primary language
- Go
- FA score
- 69/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformChatGPT · Codex · Claude Code
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer wants to assess how a coding agent explored a large repository before making edits, checking if its footprint matches the intended scope. Mindwalk's visualization makes the agent's understanding visible at a glance.
- Not a fit if
- Teams using agents other than Claude Code, Codex, or pi
- Teams unwilling to send session summaries to a model API
- Maintenance
- Commits in the last 6 monthslast commit 2026-08-10latest release v0.5.0 (2026-08-07)
- Source review
- 69/100 · Some gaps
What does this agent do, and when should you use it?
Mindwalk is a visualization tool that replays coding-agent sessions on a 3D map of your codebase, turning raw session logs into an interactive visual story. It reads log files from Claude Code, Codex, and pi (all processed locally), and renders the repository as a 'night map' where file touch intensity (glow) represents how deeply and often each file was accessed. The tool offers tree and terrain views, playback controls with speed adjustment and video export, timeline marks for context compactions, subagent launches, and user turns, plus subagent lenses to replay individual subagent traces. It also includes an optional session evaluation feature that calls your local claude or codex CLI to judge the session against fixed process dimensions and a dynamic task scorecard, with reports cached locally. All processing is fully local, and the only exception is when evaluation is explicitly invoked. The project consists of a Go server and a React/Three.js frontend.
Mindwalk normalizes session logs (e.g., JSONL files from ~/.claude/projects) via adapters in internal/adapter, producing an ordered stream of file-touch events (the trace) and correlating subagent sessions into an agent graph. It generates a deterministic 3D layout of the repository (the citymap) via internal/citymap, encoding touch depth and frequency as glow. Users launch the tool with mindwalk (scans default directories and opens a browser) or mindwalk serve for a custom port, open a specific session with mindwalk open <session.jsonl>, or render a repository map with mindwalk map <repo>. The CLI also offers mindwalk build and mindwalk trace to export citymap and trace JSON. The UI supports playback controls, timeline scrubbing, subagent lenses, file click-to-inspect, and .webm export. The evaluation feature (mindwalk analyze or the UI panel) calls the local claude or codex CLI to draft criteria and score the session, producing a report cached in ~/.mindwalk/reports.
- A developer wants to assess how a coding agent explored a large repository before making edits, checking if its footprint matches the intended scope. Mindwalk's visualization makes the agent's understanding visible at a glance.
- A team reviewing an agent's code changes needs to see where the agent searched, read, and edited, to catch wasted effort or missed critical files.
- When an agent behaves unexpectedly, a user can replay the trace of a subagent independently via agent lenses to diagnose the reasoning path.
- A tech lead compares multiple sessions using the evaluation feature, which scores them on consistent dimensions (exploration, scope, wandering, verification) and task-specific criteria.
- A user wants to explore an unfamiliar repository's structure without any session:
mindwalk map <repo>renders a 3D citymap where height indicates lines of code.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -fsSL https://raw.githubusercontent.com/cosmtrek/mindwalk/master/scripts/install.sh | sh
- Environment variables
INSTALL_DIR- Config files
~/.local/bin~/.claude/projects~/.codex/sessions~/.pi/agent/sessions- Install notes cover
- Windows
How do you install or deploy this agent?
Install via the official script: run curl -fsSL https://raw.githubusercontent.com/cosmtrek/mindwalk/master/scripts/install.sh | sh, then add ~/.local/bin to your PATH (export PATH="$HOME/.local/bin:$PATH") and run mindwalk. The installer verifies checksums and installs to ~/.local/bin (override with INSTALL_DIR, pin a release with VERSION). Windows users can download archives from GitHub Releases. Building from source requires Go and Node.js: run make setup && make build.
How do you use this agent?
Simply run mindwalk with no arguments to scan default session directories (~/.claude/projects, ~/.codex/sessions, ~/.pi/agent/sessions), start a random local port, and open the browser. For more control, use mindwalk serve --port N --no-open to set a port, mindwalk open <session.jsonl> to open a specific session, mindwalk map <repo> to open a repository map, mindwalk build <repo> [-o out] to write a citymap JSON, and mindwalk trace <session> [-o out] to write a normalized trace JSON. To evaluate a session, run mindwalk analyze <session> [--judge claude|codex] [--model name] [--no-rubric]. In the UI, use Space for play/pause, arrow keys to step, S speed, V view, E next edit, X next error, M next mark, and ⌘B to toggle the session rail.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- confirmation before acting
- data-flow disclosure
What are this agent's strengths and limitations?
- Fully local processing: session data never leaves your machine unless you explicitly trigger evaluation, and even then only a summary is sent to your own CLI's model, ensuring privacy.
- Intuitive and unique visualization: the 3D night map with glow intensity and touch states makes agent behavior much easier to grasp than reading raw JSONL.
- Multi-agent support: natively reads logs from Claude Code, Codex, and pi, and allows replaying subagent traces individually.
- Deterministic citymap generation: the same repository always yields the same map, enabling fair comparisons across sessions.
- Limited to supported agent formats: requires adapters for other agents, which are not included out of the box.
- Installation footprint: requires Go and Node.js environments and a network download; may not suit fully offline setups.
- Evaluation depends on external CLIs: you must have
claudeorcodexinstalled, and evaluation calls may incur API costs. - Learning curve: the feature-rich UI and CLI may take time to master for new users.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Mindwalk - Session Replay Visualization for Codebases This agent | 69 · Some gaps | CLIFree + model costs | ★ 1.4k | 3mo ago | Go | ChatGPT · Codex · Claude Code |
| agentplay | 74 · Some gaps | CLIFree | ★ 376 | 27d ago | Python | Codex · Claude Code |
| What's My Agent Doing (/myoffice Office Dashboard) | 72 · Some gaps | Agent plugin / skillFree | ★ 412 | today | JavaScript | Codex · Claude Code |
| img2threejs — Code-Only 3D Reconstruction | 73 · Some gaps | Agent plugin / skillFree + model costs | ★ 22k | 28d ago | Python | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The local server binds to 127.0.0.1 and scans local session logs by default. Evaluation starts a local Claude or Codex CLI only on explicit request; the README describes the task text, paths, and event summaries sent, while AGENTS.md says the judge process receives no tools, MCP servers, user configuration, or session persistence. Confirmation and data-flow disclosure are therefore strong. Logs may contain sensitive content, but the packet does not describe redaction or retention controls, so sensitive-data handling is partial. The dependency list is small and CI uses read-only contents permission, but no dependency audit or vulnerability mitigation is shown. The installer verifies checksums and writes to a user directory, though release downloads have external effects and uninstall or rollback guidance is absent. Attribution and MIT licensing are clear; publisher identity remains unknown.
README, AGENTS.md, and the CLI are broadly consistent about the three session formats, local visualization, and optional evaluation. Adapters, deterministic maps, caching, and report flow have corresponding architecture descriptions. Go and frontend dependency versions and CI installation steps are recorded, but system CLIs, remote release assets, and local session availability remain dependencies. The CLI reports parse errors, unknown commands, and evaluation progress, and reports cache-write failures; the sample does not establish UI or server recovery behavior, so full marks are not justified.
The product targets developers reviewing Claude Code, Codex, or pi sessions and supports replay, repository maps, and optional evaluation. Supported inputs and evaluation boundaries are described, including reduced coverage when logs provide insufficient evidence and fallback to fixed dimensions when rubric drafting fails; broader roles and scenarios are not covered. Commands, directory overrides, and evaluation switches are fairly clear, and the default scan-and-serve behavior is stated. Environment guidance focuses on a Unix-like install path and development setup, with incomplete cross-platform detail.
The README is organized around installation, features, evaluation, data flow, architecture, and contribution, with architectural constraints in AGENTS.md. Checksum verification, PATH setup, source build, and Windows release availability are noted, but the curl-pipe installer has limited uninstall and troubleshooting guidance. Command and artifact names are clear and stable. Command and keyboard examples are provided, along with evaluation fallback and cache behavior, but there is no FAQ section. The MIT text is complete. The release workflow creates semantic version tags, but this packet contains no changelog. Contribution and CI instructions describe maintenance practices, and copyright attribution provides a responsibility clue, but no support or security-report contact is named.
The map replay, timeline, file inspector, and clickable evidence reports yield directly usable outputs, with JSON and client-side WebM export. The product explains a concrete value in spatializing session behavior, but the packet includes no independent user evidence to establish the size of that benefit. Viewing needs no remote service, and evaluation is explicit and reuses cached reports, giving it a clear cost boundary. Evaluation can take up to two CLI calls and time, with no cost or resource estimate.
README claims about core features and data transmission can be partly cross-checked against AGENTS.md, the CLI, and workflow descriptions; schemas, CI, and related documentation offer additional traceability. The packet is sampled and omits the adapter, server, judge implementation, and installer bodies, so not every behavior can be checked. The materials generally distinguish fixed mechanisms from model judgment and state that code rolls up verdicts and findings cite real events. Those claims receive architectural support in the sample, but cannot be fully verified here.
- Evaluation sends that session's task wording, file paths, and event digests to the model behind the selected local CLI account; avoid evaluating logs that contain sensitive information.
- The packet does not show log redaction, report-cache retention limits, or dependency vulnerability audits. Installation fetches a binary remotely, though the README says it verifies the checksum.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
Changelog * 68aeda671a48eb6e406792e984d3570f28dc5e70 Tip for Nix users (#24) * a3569baa875d8c5f8fde2e7c93896f99af39c029 server: component boundaries — traceStore, adapter sidecar interface, report index, loopback hardening (#23) * 9a262e25d9024c8433fc670d6e7491c7bedf5b12 feat(citymap): bounded adaptive scanning for oversized session roots (#22)View on GitHub ↗ -
Release notes excerpt
Changelog * b3b98a033ebc5eddc286efe4549b08d87d95aba9 feat(adapter): support pi sessions (#20) * e49e9e672dfe29c570b5b44d3f523f4ca0760083 fix: update star history chart links in README * 7721e6e964676b8b2204e2e8d8fd67d318969833 feat: task-rubric layer for session evaluation (#19) * e208b6b8504138843f671e031f28129b66003a67 docs: update demo video made by kimi k3 * 3f614a90a7a77c3ab14ba7f2c4c7bbd057b762d5 chore: remove obsolete demo video ignoreView on GitHub ↗ -
Release notes excerpt
Changelog * b9c12798d012f8600d015a429a1ed7f9cdef4f69 docs: fix asset URL in README.md * 81b408abc48566e26f2e58aa7f8d3dc9a65fa72f docs: update demo link * e0ae880b84c517e111b58470f6585f5a22b0c61a docs: refresh README screenshots and feature notes * 823e862499416cf5c6e97523a18868220590ee3f fix(adapter): show nested Codex exec summaries * 05081bcb4ac9bb7afb89f756d2721988f9c4ebaa feat: add Agent Lens for subagent traces (#12) * 8a28839f5b0dd6bc64401af226508068a70037ae fix: centralize UTF-8-safe truncation * 6e8c7883f1df6fb312ad8872c435672037b795df fix: preserve UTF-8 in judge errors (#13) …View on GitHub ↗
FAQ
Can Mindwalk analyze sessions from agents other than Claude Code, Codex, or pi?
What does the evaluation feature send externally?
claude or codex CLI, up to two sealed calls. Nothing else is sent, and viewing sessions never sends data.Does Mindwalk work on Windows?
Can I share the visualizations with others?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.