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="ri_...", 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
Group the traces of one conversation or jobSessions
Serve several customers’ workspaces from one processWorkspace scopes
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, TypeScript reference

Both references are generated from the SDKs’ doc comments, so they always match the pinned release of each package.

Last updated on