Skip to main content
The SDK can open Docent web pages directly in your default browser — useful when working in notebooks or scripts.

Open an Agent Run

Parameters

str
required
ID of the collection containing the run.
str
required
ID of the agent run to open.

Returns

str
The URL that was opened.

Open a Rubric

Open a rubric page, optionally focused on a specific agent run or judge result.

Parameters

str
required
ID of the collection.
str
required
ID of the rubric.
str | None
Optional agent run to focus on within the rubric view.
str | None
Optional judge result to focus on. Requires agent_run_id.

Start a Chat

Create an interactive chat session with agent runs or transcripts as context, and open it in the browser.

Parameters

LLMContext | list[AgentRun | Transcript]
required
Objects to include as chat context. Can be a list of AgentRun or Transcript instances, or a pre-built LLMContext.
str | None
Optional model to use, in "provider/model_name" format.
Literal['minimal', 'low', 'medium', 'high'] | None
Optional reasoning effort hint passed to the LLM provider.

Returns

str
The session ID of the created chat session.