Chrome DevTools for AI agents — capture, view, and debug agent traces
Project description
AgentX 🔍
Chrome DevTools for AI agents. Capture, view, and debug your agent traces.
Install
pip install agentx
Usage
from agentx import trace
@trace(output_dir="./traces")
def my_agent(prompt):
response = call_llm(prompt)
tool_output = call_tool("search", {"query": "something"})
return response
Then view your traces:
agentx serve ./traces
Opens a browser at http://localhost:8766 with a timeline view of every LLM call and tool call.
Features
- 🎯 @trace decorator — one line, captures everything
- ⏱️ Timeline view — expandable entries with durations
- 🔢 Token tracking — prompt vs completion, per-call and totals
- 🔍 Search & filter — find specific calls by type or keyword
- 📊 Stats sidebar — steps, tokens, duration, LLM/tool breakdown
- 💾 JSONL traces — portable, version-controllable
Coming Soon
- Replay — re-run traces against a different model
- Step-through — breakpoints and prompt injection
- Diff view — compare two runs side by side
Built by SG1 Labs — small, useful tools. One-time purchase. No subscriptions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentx_trace-0.1.0.tar.gz.
File metadata
- Download URL: agentx_trace-0.1.0.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26ce7b6347a65e3cd61e4eb45240aabfdba1ef2ff2a8eb418569de6796fad270
|
|
| MD5 |
a87593c1e8b20093f195e356519d68f1
|
|
| BLAKE2b-256 |
d1c7cc8a2950f7fc27ebad9d546e632244c6a878d8480574050999d0dc3cf855
|
File details
Details for the file agentx_trace-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentx_trace-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c8d06333aab48790308848a7107bd852f4e033e076cf09718c95e0cea043133
|
|
| MD5 |
c056916dc9a9b494f65488717677b503
|
|
| BLAKE2b-256 |
ff1f40e46991eb931a702417cc34a2f137e3f93324137b42ba53bb89ec951598
|