Chrome DevTools for AI Agents — observability SDK for LangGraph, CrewAI, AutoGen
Project description
AgentStack
Chrome DevTools for AI Agents — open-source observability for LangGraph, CrewAI, AutoGen, and custom Python agents.
Install
pip install agentstate-sdk
Quick Start
from agentstack import observe, init
init(
collector_url="https://your-collector.example.com",
api_key="ak_your_project_key",
)
@observe
def research_agent(query: str) -> str:
context = search_tool(query)
return llm.chat(f"Answer based on: {context}")
@observe(name="planning.step")
async def async_agent(objective: str) -> list[str]:
return await llm.achat(f"Break this into steps: {objective}")
Every call now produces a full trace — arguments, return values, timing, exceptions, token counts, and cost — visible in the AgentStack dashboard.
Key Features
- Real-time Tracing — Captures every LLM call, tool invocation, and function as structured spans
- Time Machine Replay — Step through past agent executions span-by-span
- Security Engine — Detects prompt injection, PII leakage, and anomalous behavior
- Cost Analytics — Per-model token counting with USD cost tracking
- Auto PII Sanitization — Scrubs sensitive data before export
- Framework Auto-Detection — Native hooks for LangGraph, CrewAI, and AutoGen
- Offline Resilience — Spans buffer locally when collector is unreachable
- Zero Interference — The
@observedecorator never crashes your application
Supported Frameworks
| Framework | Status |
|---|---|
| LangGraph | ✅ Auto-instrumented |
| CrewAI | ✅ Auto-instrumented |
| AutoGen | ✅ Auto-instrumented |
| Custom Python | ✅ Via @observe decorator |
Self-Host the Dashboard
AgentStack is fully self-hostable with Docker Compose:
git clone https://github.com/Ramakrishna1967/AgentState.git
cd AgentState/deploy
cp .env.example .env
docker compose up -d --build
Links
License
Apache 2.0 — see LICENSE for details.
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 agentstate_sdk-0.1.0a1.tar.gz.
File metadata
- Download URL: agentstate_sdk-0.1.0a1.tar.gz
- Upload date:
- Size: 29.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be3163d1d5a9d56d160161e00995eb037068db20bbc850b2d20db5db6c1d8d80
|
|
| MD5 |
4fcdefaf9a71c6def640dced7cb8ca65
|
|
| BLAKE2b-256 |
03fa1d1387df03d599ee502e6d645641290a249d80399b4457747cbcef096f1e
|
Provenance
The following attestation bundles were made for agentstate_sdk-0.1.0a1.tar.gz:
Publisher:
release.yml on Ramakrishna1967/AgentStack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentstate_sdk-0.1.0a1.tar.gz -
Subject digest:
be3163d1d5a9d56d160161e00995eb037068db20bbc850b2d20db5db6c1d8d80 - Sigstore transparency entry: 992420839
- Sigstore integration time:
-
Permalink:
Ramakrishna1967/AgentStack@2c529292e8c36b3e486e3c4fa0edc49aed107698 -
Branch / Tag:
refs/tags/v0.1.0a1 - Owner: https://github.com/Ramakrishna1967
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2c529292e8c36b3e486e3c4fa0edc49aed107698 -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentstate_sdk-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: agentstate_sdk-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 32.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5670ba2c763d801c423718f54a427de8a0cc837b948e75b28846dd00fb90bc3
|
|
| MD5 |
eab4fb91f0bf5ce5f513e0e213fe32d6
|
|
| BLAKE2b-256 |
7f4b39764061ab5fe0343f3d5c9ba39ce3f435ec6571aa951ffce9b527c2575e
|
Provenance
The following attestation bundles were made for agentstate_sdk-0.1.0a1-py3-none-any.whl:
Publisher:
release.yml on Ramakrishna1967/AgentStack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentstate_sdk-0.1.0a1-py3-none-any.whl -
Subject digest:
e5670ba2c763d801c423718f54a427de8a0cc837b948e75b28846dd00fb90bc3 - Sigstore transparency entry: 992420841
- Sigstore integration time:
-
Permalink:
Ramakrishna1967/AgentStack@2c529292e8c36b3e486e3c4fa0edc49aed107698 -
Branch / Tag:
refs/tags/v0.1.0a1 - Owner: https://github.com/Ramakrishna1967
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2c529292e8c36b3e486e3c4fa0edc49aed107698 -
Trigger Event:
push
-
Statement type: