Documentation
README
Opik SDK Reference
Opik is an open-source LLM observability platform. This skill is a reference
for the SDK. To instrument a codebase step by step (detect frameworks, add
config, emit and verify a trace), use the task-shaped opik-instrument skill.
Core concepts
A trace is one execution path (one request โ one response). Spans are the operations inside it and form a hierarchy.
Span types โ the ONLY valid values
| Type | Use for |
|---|---|
general |
orchestration, agent entry points |
llm |
model calls |
tool |
tools, retrieval, API / DB calls |
guardrail |
safety / validation checks |
Do NOT use retrieval or any other value.
This is the opening of the README. Read the full README on GitHub.