Staso Docs
Python SDK

Installation

Install the Staso Python SDK and pick the extras that match the LLM providers you use.

pip install staso

Requirements

Install options

InstallUse case
pip install stasoCore SDK only. Decorators, spans, conversations, annotations.
pip install "staso[anthropic]"Auto-instrument the Anthropic SDK.
pip install "staso[openai]"Auto-instrument the OpenAI SDK.
pip install "staso[all]"Both Anthropic and OpenAI auto-instrumentation.

The extras pull in the matching provider SDK and wire up agent instrumentation automatically at import time. No extra calls required.

Verify

python -c "import staso; print(staso.__version__)"

Next