Skip to Content
RiusSDK

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 ships as glassflow-rius and TypeScript as @glassflow-ai/rius; every page here shows both side by side. Because the SDK emits standard OpenTelemetry, any other language can send traces through interoperability without a native SDK.

pip install glassflow-rius
import rius rius.init(api_key="gf_...", service_name="my-agent") @rius.observe def handle(query: str) -> str: ...

Find what you need

TaskGo to
Trace a function with one lineobserve
Record an LLM call with model, tokens, and costGenerations
Measure time to first token when streamingStreaming responses
Instrument OpenAI, Anthropic, LangChain, … automaticallyIntegrations
Set the API key, endpoint, or any optionConfiguration
Reduce trace volume in productionSampling
Keep prompts or PII from leaving my processPrivacy controls
Flush traces in a Lambda, CLI, or batch jobShort-lived processes
Find out why traces are not appearingTroubleshooting
Look up a signaturePython reference

The Python reference is generated from the SDK’s docstrings, so it always matches the pinned release.

Last updated on