SDK
The Rius SDK is OpenTelemetry-native tracing for AI agents: non-blocking by design, privacy-aware at export time, and speaking the OpenTelemetry GenAI conventions.
Python is available today as glassflow-ai; a JS/TS SDK is planned.
Because the SDK emits standard OpenTelemetry, any language can already send
traces through interoperability without waiting for a
native SDK.
pip install glassflow-aiimport glassflow
glassflow.init(api_key="glassflow_...", service_name="my-agent")
@glassflow.observe
def handle(query: str) -> str:
...Find what you need
| Task | Go to |
|---|---|
| Trace a function with one line | @observe |
| Record an LLM call with model, tokens, and cost | Generations |
| Measure time to first token when streaming | Streaming responses |
| Instrument OpenAI, Anthropic, LangChain, … automatically | Auto-instrumentation |
| Set the API key, endpoint, or any option | Configuration |
| Reduce trace volume in production | Sampling |
| Keep prompts or PII from leaving my process | Privacy controls |
| Flush traces in a Lambda, CLI, or batch job | Short-lived processes |
| Find out why traces are not appearing | Troubleshooting |
| Look up a signature | Python reference |
The Python reference is generated from the SDK’s docstrings, so it always matches the pinned release.
Last updated on