opik
Installation
SKILL.md
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 |