Discover and explore top open-source AI tools and projects—updated daily.
cosmtrekVisualize coding agent sessions on a 3D codebase map
Top 40.4% on SourcePulse
This project provides a visualization tool for replaying coding-agent sessions, transforming raw logs into an intuitive 3D map of a codebase. It addresses the challenge of understanding an agent's cognitive process—its perceived relevance, exploration patterns, and scope—which is lost in standard log formats. The tool offers a clear, visual representation of agent activity, benefiting developers and researchers seeking to analyze or debug AI-assisted coding workflows.
How It Works
A single, local Go binary processes session logs from agents like Claude Code and Codex. It generates two core artifacts: a trace representing normalized file-touch events and a citymap defining a deterministic layout of the repository. A local Go server then serves a React/Three.js frontend that visualizes the trace overlaid onto the citymap. This approach ensures data privacy by keeping all processing local and provides a novel, spatial metaphor for understanding agent behavior, making exploration and editing phases immediately apparent.
Quick Start & Requirements
curl -fsSL https://raw.githubusercontent.com/cosmtrek/mindwalk/master/scripts/install.sh | sh and ensure ~/.local/bin is in your PATH.make setup && make build.mindwalk serve (scans ~/.claude/projects and ~/.codex/sessions by default), mindwalk open <session.jsonl>, mindwalk build <repo>, mindwalk trace <session>.Highlighted Details
Maintenance & Community
Issues and pull requests are welcomed. Development setup includes make setup for frontend dependencies and make serve for a local development server. Comprehensive architectural notes are available in AGENTS.md.
Licensing & Compatibility
The project is licensed under the MIT license. This permissive license allows for commercial use and integration with closed-source projects without significant restrictions.
Limitations & Caveats
The tool currently focuses on processing logs from specific agents (Claude Code, Codex). No explicit limitations regarding platform support, alpha status, or known bugs are detailed in the provided documentation.
2 weeks ago
Inactive