Visualize an AI agent's full decision and tool call sequence as a diagram.
Inspect the exact token cost and reasoning behind each step of an agent run.
Share a self contained HTML report of an agent run with a client or teammate, no server needed.
Walk through an agent's behavior in a guided, step by step presentation mode.
| vstorm-co/agentcanvas | 0311119/free_registertool | 18597990650-lab/multi-agent-game | |
|---|---|---|---|
| Stars | 24 | 24 | 24 |
| Language | Python | Python | Python |
| Setup difficulty | easy | hard | moderate |
| Complexity | 2/5 | 4/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a Logfire read token and Python 3.12 or newer.
agentcanvas is a Python library that turns AI agent activity logs into an interactive, visual diagram. When you build a conversational AI agent using Pydantic AI and log its activity to Logfire (a tracing service), agentcanvas reads those logs and generates a single HTML file you can open in any browser to see exactly what the agent did and how much it cost. The output shows the full sequence of events in a block diagram: the user's question, the AI model's decisions, each external tool or function the model called, and the final answer. If your agent uses smaller specialized agents inside it (nested sub-agents), those appear as labeled frames within the diagram, so the structure stays readable no matter how many layers deep the system goes. You can click any step to open an inspector panel showing input and output token counts, exact dollar cost, the model's reasoning, which tools were available, and timing information. For presentations or client meetings, a guided tour mode walks through the diagram step by step with plain-language narration, either automatically or at your own pace using the spacebar or arrow keys. Each conversation turn is displayed in a side panel showing the full back-and-forth transcript between the user and the assistant, including any tool calls in between. Installation is one command: pip install agentcanvas. You provide a Logfire read token, run the command-line tool, and it fetches your most recent agent run and opens a self-contained HTML report in your browser. The file requires no server and works offline, so sharing it is as simple as attaching it to an email. The library can also be imported directly into Python scripts for custom reporting. The project is MIT-licensed and requires Python 3.12 or newer.
A Python library that turns Pydantic AI agent logs from Logfire into an interactive HTML diagram showing what the agent did and what it cost.
Mainly Python. The stack also includes Python, Pydantic AI, Logfire.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.