Skip to main content

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.

License: Apache 2.0 Python 3.10+

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 @observe decorator 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentstate_sdk-0.1.0a1.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentstate_sdk-0.1.0a1-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

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

Hashes for agentstate_sdk-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 be3163d1d5a9d56d160161e00995eb037068db20bbc850b2d20db5db6c1d8d80
MD5 4fcdefaf9a71c6def640dced7cb8ca65
BLAKE2b-256 03fa1d1387df03d599ee502e6d645641290a249d80399b4457747cbcef096f1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentstate_sdk-0.1.0a1.tar.gz:

Publisher: release.yml on Ramakrishna1967/AgentStack

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentstate_sdk-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for agentstate_sdk-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5670ba2c763d801c423718f54a427de8a0cc837b948e75b28846dd00fb90bc3
MD5 eab4fb91f0bf5ce5f513e0e213fe32d6
BLAKE2b-256 7f4b39764061ab5fe0343f3d5c9ba39ce3f435ec6571aa951ffce9b527c2575e

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentstate_sdk-0.1.0a1-py3-none-any.whl:

Publisher: release.yml on Ramakrishna1967/AgentStack

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page