A modern, offline-first React application to visualize agentic trajectories from JSON logs.
- Drag & Drop Loading: Easily load trajectory JSON files.
- Modern UI: Dark mode, glassmorphism, and clean typography (
Inter+JetBrains Mono). - Rich Message Visualization:
- Distinguishes System (yellow, folded by default), User (blue), and Assistant (purple) messages.
- Renders Markdown content with syntax highlighting.
- Collapsible messages.
- Coherent Tool Execution:
- Displays tool calls with their arguments and outputs grouped together.
- Collapsible tool details.
- Git Patch Viewer:
- Shows the final result git patch in a dedicated, syntax-highlighted folded panel.
-
Install Dependencies:
npm install
-
Run Development Server:
npm run dev
-
Open in Browser: Navigate to the URL shown in terminal (usually
http://localhost:5173). -
Visualize: Drag and drop your
*.history.jsonfile onto the upload area.
- Vite + React
- React Dropzone
- React Markdown + Prism Syntax Highlighter
- Lucide React (Icons)
- CSS Modules / Variables for styling
-
Build the Image:
docker build -t agent-visualizer . -
Run the Container:
docker run -p 8080:80 agent-visualizer
-
Access: Open
http://localhost:8080in your browser.