Home/AI Agents/agentcanvas
agentcanvas logo

agentcanvas

Enrichment pending
vstorm-co/agentcanvas

Visualize Pydantic AI agent workflows from Logfire traces as an interactive HTML diagram, tools, nested sub-agents, tokens and exact cost.

GraphCanon updated today · GitHub synced today

73 stars8 forksLast push 4w Python MIT

Verify the decision

Maintenance and security

Full trust report
Maintenance
Active (27d since push)
As of today
Provenance
Not a fork · Organization account
As of today
Security (OSV)
No lockfile
As of today

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install agentcanvas
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Visualize Pydantic AI agent workflows from Logfire traces as an interactive HTML diagram — tools, nested sub-agents, tokens and exact cost.

Capability facts

CLI
CLI entrypoint

Source: pyproject.toml:[project.scripts] · Jul 15, 2026

Languages
python

Source: github.language+pyproject.toml · Jul 15, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Jul 15, 2026)

```python from agentcanvas import LogfireClient, parse_run, render_html
Source link

Tags

README

🚀 Quick start

pip install agentcanvas

Set LOGFIRE_READ_TOKEN in your environment (or a .env file), then build the report from your latest agent run:

agentcanvas                       # latest run → agent_flow.html (opens in browser)
agentcanvas --list                # list recent runs
agentcanvas --trace-id <id>       # a specific run
agentcanvas -o report.html --no-open

Or use it as a library:

from agentcanvas import LogfireClient, parse_run, render_html

client = LogfireClient()                       # reads LOGFIRE_READ_TOKEN
trace_id = client.latest_trace_id()
report = parse_run(client.fetch_trace(trace_id), trace_id)
open("report.html", "w").write(render_html(report))
VariableUsed for
LOGFIRE_READ_TOKENreading traces via the Logfire Query API (required)
LOGFIRE_BASE_URLoptional region override (default US; EU: https://logfire-eu.pydantic.dev)
LOGFIRE_WRITE_TOKENthe example agent sending telemetry to Logfire
OPENROUTER_API_KEYthe example agent (model via OpenRouter)

License

MIT — see LICENSE.


For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.