Observed since 20 Oct, 23:35 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A terminal-based tree visualizer for AI agent traces.
The missing visualizer for AI Agents. Turn messy terminal logs into beautiful, interactive trees.
agent-tree is a zero-config, terminal-first observability tool. It captures the complex "reasoning loop" of AI agents and renders them as clean, hierarchical trees in your console. No API keys, no web dashboards, no fluff.
| Without agent-tree (Messy JSON) | With agent-tree (Clean Visualization) |
|---|---|
![]() | ![]() |
Just pass the TraceCallback into your agent's config. It automatically catches the end of the run and draws the tree.
from agent_tree import TraceCallback
# Your agent logic...
agent.invoke(
{"messages": [("user", "Is 50 shares of Apple under $15,000?")]},
config={"callbacks": [TraceCallback(session_name="Budget Check")]}
)
If you already have a result object, you can visualize it instantly.
from agent_tree import AgentTrace
at = AgentTrace(result_object)
at.show()
Rich library for high-performance terminal UI.pip install agent-tree
You can find the full source code and contribute on GitHub.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 12 Feb 2026 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 23:35 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:05720851822b323ed9ba9818321e6044c596423c19ab5613542f1c897e843216