Visualizing AI Agent Behavior with Mindwalk

Better Stackgo watch the original →

Mindwalk is an open-source tool that renders codebase activity and AI agent session logs as an interactive 3D city to help developers visualize agent reasoning, file navigation, and edit patterns.

Visualizing Agent Reasoning in 3D

Mindwalk addresses the visibility gap in AI-assisted coding by transforming agent session logs into a 3D city map. Instead of relying solely on flat git diffs, developers can replay agent sessions to observe how an AI traverses a repository. The tool represents files as buildings, with height corresponding to code volume. A color-coded timeline provides a visual history of agent activity: green indicates a file glance, blue signifies a file read, and amber marks an edit. The interface also highlights critical events such as sub-agent initialization, context window compaction, and user-provided instructions.

Analysis and Limitations

Beyond visualization, Mindwalk includes an analyze command that evaluates agent sessions for scope adherence and exploration depth. It provides a report with clickable links that jump directly to specific moments on the 3D timeline. While the tool offers a unique perspective for comparing how different models like Claude Code or Codex navigate a codebase, it remains in early development (version 0.3). It currently lacks support for popular IDE-integrated agents like Cursor, and for simple code changes, a standard git diff remains more efficient. The tool is best suited for auditing complex, sprawling agent changes where understanding the agent's decision-making path is more important than reviewing the final output.

  • #ai
  • #dev-tooling
  • #observability

summary by google/gemini-3.1-flash-lite. probably wrong about something. check the source.