---
title: Python SDK
description: Observe every AI agent action -- tool calls, LLM interactions, errors, costs -- with three lines of code.
---

# Python SDK

See what your AI agents actually do. Every tool call, LLM interaction, token count, and error -- on your dashboard in under 5 minutes.

```bash
pip install staso
```

## Getting Started

<Cards>
  <Card title="Quickstart" href="/docs/getting-started/quickstart" description="Install, trace your first agent, see it on the dashboard. 5 minutes." />
  <Card title="Tracing" href="/docs/guides/tracing" description="Decorators, manual spans, and annotations for full observability." />
  <Card title="Conversations" href="/docs/guides/conversations" description="Group related traces into conversations and workflows." />
  <Card title="Integrations" href="/docs/integrations/overview" description="Auto-instrument Anthropic, OpenAI, Claude Code, and Codex." />
  <Card title="Configuration" href="/docs/configuration/options" description="All SDK options, CLI commands, environment variables." />
  <Card title="Troubleshooting" href="/docs/troubleshooting" description="Common issues and how to fix them." />
</Cards>

## CLI Commands

```bash
staso setup                                              # interactive setup wizard
staso setup     --target claude-code --api-key ak_...    # scripted setup
staso status                                             # show what's configured
staso sync                                               # sync hooks after upgrade
staso update                                             # upgrade package + sync
staso uninstall --target codex                           # remove hooks, clean up
staso version                                            # show version info
```
