Production-ready · v1.0
Agent OS
The operating system for your AI agents. Instrument once, get complete visibility into every decision your agents make.
quickstart.py
from agentos import wrap_openai
import openai
client = wrap_openai(
openai.OpenAI(), api_key="aos_YOUR_KEY"
)
# Every call is now traced automatically
response = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Hello"}],
)What Agent OS does
See exactly what your agent did
Every LLM call, tool invocation, and agent handoff is captured automatically. Replay failures without re-running anything.
Full span waterfall
Complete prompt & completion capture
Token counts and cost per call
Shareable trace links
from agentos import observe, wrap_openai
import openai
llm = wrap_openai(openai.OpenAI(), api_key="aos_...")
@observe()
def answer_question(question: str):
docs = retrieve(question)
return llm.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": question}],
)Next Steps
Install the SDK
$
pip install agentos openaiSupported Frameworks
OpenAIAnthropicLangChainLlamaIndexCrewAIPydantic AIVercel AI SDKLiteLLMOpenTelemetry
Browse all integrations →