Observed since 20 Oct, 22:47 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Lightweight Python SDK for Agent Observability Tracing — instruments multi-agent AI workflows
Welcome to the Agent Trace SDK!
This is the official, lightweight Python library for connecting your AI agent swarms to the Agent Observability Tracing Platform.
As AI workflows become increasingly complex—incorporating multiple specialized agents, chained LLM calls, and asynchronous interactions—debugging and observability become critical challenges. It's often difficult to answer questions like:
Agent Trace SDK solves this. It provides drop-in observability for multi-agent workflows, letting you trace logic execution, tool calls, token usage, and latency seamlessly. By simply decorating your agent functions, you gain deep visibility via our interactive tracing dashboard.
@trace_agent()).opentelemetry patterns for robust, reliable metric delivery.Getting started is as easy as installing via pip:
pip install agent-obs-sdk
(Optional) If you are using LangChain, you can install the specific extras:
pip install "agent-obs-sdk[langchain]"
Below is a minimal setup that shows how you can start tracing an agent and tracking its outputs.
import os
from agent_trace import trace_agent, configure
# 1. Configure the SDK with your platform credentials
configure(
api_endpoint=os.getenv("AGENT_OBS_ENDPOINT", "http://localhost:8000"),
api_key=os.getenv("AGENT_OBS_API_KEY", "YOUR_API_KEY"),
project_id="YOUR_PROJECT_SLUG",
)
# 2. Decorate your agent functions
@trace_agent(agent_name="GreetingAgent")
def my_agent(query: str):
"""A conversational agent that processes a user's query."""
print(f"Agent is reasoning about '{query}'...")
# ... complex LLM calls or tool invocations here ...
return f"Processed Response to: {query}"
if __name__ == "__main__":
reply = my_agent("Hello, can you help me plan a trip?")
print(reply)
You can configure the SDK using the configure() function, or via environment variables (which are automatically picked up):
AGENT_OBS_ENDPOINT / api_endpoint: The base URL of the Agent Observability Platform.AGENT_OBS_API_KEY / api_key: Your secret token.AGENT_OBS_PROJECT_ID / project_id: Distinguishes traces across multiple projects.We welcome issues, feature requests, and pull requests! Let's build the future of AI Agent Observability together.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.2 | 18 Apr 2026 | 4 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:47 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:132592e89db5df016e589758eba2c1a3f9f3247801c00f44c2aa2ec7bc7ce900