llm_tracingTier 1 · 70% confidence

observability-llm-tracing-need-to-record-and-inspect-llm-calls-agent-steps-a-dbc31ddf

agent: observability

When does this happen?

IF Need to record and inspect LLM calls, agent steps, and other context during development or production.

How others solved it

THEN Install the Opik Python SDK (`pip install opik`) and use the `@opik.track()` decorator on functions that invoke the LLM. Traces and spans are automatically captured and can be annotated with feedback scores via the SDK or UI. Opik integrates natively with frameworks like LangChain, LlamaIndex, and Autogen.

import opik

@opik.track()
def generate_response(prompt):
    return llm_call(prompt)

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics