opik
Installation
SKILL.md
Opik — Observability for LLM Agents
Integrating with Opik always means adding both components unless the user explicitly asks for only one:
- Tracing — instrument LLM calls with the appropriate integration or
@opik.track - Entrypoint — mark the top-level function with
entrypoint=Truefor Local Runner and UI integration
Setup
Environment Config Decision Tree
Before adding Opik config, inspect the project's existing config approach. Follow this decision tree exactly:
- Check for existing
.env/.env.localfiles anddotenvusage in code.- If the project loads a
.envfile (viapython-dotenv,dotenv, or framework auto-loading): appendOPIK_API_KEYandOPIK_WORKSPACEto that same file. Do NOT create a separate config file. - If there is a
.env.exampleor.env.sample: also update it with the new Opik vars (using placeholder values) so future developers know which vars are needed.
- If the project loads a