Skip to Content
RiusQuickstart

Quickstart

From nothing to a visible trace in one sitting. Rius needs three things: an account, an API key, and two lines of instrumentation.

1. Sign in

Open eu.console.rius-glassflow.com  and click Continue. Sign in with your work email, or create an account if this is your first visit. You land in your default workspace.

The Rius sign-in screen

2. Create an API key

The Get started page generates an instrumentation prompt you can paste straight into Claude Code, which installs the SDK and wires the key in for you. To do it by hand instead, keep following this page.

The Get started page

Click Create API key and name the key after the agent or environment that uses it:

A freshly created API key

The full key is shown exactly once. The server stores only a hash, so copy it into your secret manager now; if you lose it, revoke the key and issue a new one.

3. Instrument your agent

pip install glassflow-ai anthropic

This is a complete agent, one LLM call included. Save it as agent.py, fill in your two keys, and it runs as-is:

import anthropic import glassflow glassflow.init(api_key="glassflow_...", service_name="my-agent") claude = anthropic.Anthropic() # reads ANTHROPIC_API_KEY @glassflow.observe def handle(query: str) -> str: response = claude.messages.create( model="claude-haiku-4-5-20251001", max_tokens=200, messages=[{"role": "user", "content": query}], ) return response.content[0].text handle("What should I check when a collector drops spans?")

init once at startup, @glassflow.observe on the functions that make up your agent’s steps. The Anthropic call needs nothing extra: auto-instrumentation picks it up and emits the generation span, so the trace you are about to see carries the model, token counts, and cost. The configuration reference covers everything init accepts.

4. Run it and watch the trace arrive

Run your agent once, any run counts. The Traces view checks for new traces automatically, no reload needed:

The trace list with fresh traces

Open the trace to see every step on the waterfall, including token counts, cost, and any errors along the way:

A trace waterfall

Next steps

  • Viewing traces: the waterfall, the map view, and span detail in depth.
  • Concepts: traces, spans, and generations, the Rius mental model.
  • SDK: instrumentation beyond the basics, privacy controls, sampling.
Last updated on