---
title: Home
headline: Opik Documentation - Open-Source LLM Observability & Optimization
og:site_name: Opik Documentation
og:title: "Opik - Open-Source LLM Observability & Agent Optimization"
og:description: "Build, test, and optimize GenAI apps from prototype to production. Comprehensive tracing, evaluation, and prompt optimization for RAG, agents, and more."
canonical-url: https://www.comet.com/docs/opik/
---
Opik is an [open-source](https://github.com/comet-ml/opik) logging, debugging, and optimization
platform for AI agents and LLM applications. If you're building AI features, you know it's easy to
spin up a working prototype but harder to log, test, iterate, and monitor to meet production
requirements.
Opik gives you all the tools you need to go from LLM observability to action across your AI
application footprint and dev cycle. Ship measurable improvements with gorgeous logs, annotation and
scoring functions, pre-configured LLM-as-a-judge [eval metrics](/v1/evaluation/metrics/overview), and
even [automated agent optimization algorithms](/v1/agent_optimization/overview) to maximize performance.
## End-to-End AI Engineering
Opik is Open Source! You can find the full source code on [GitHub](https://github.com/comet-ml/opik) and the complete
self-hosting guide can be found [here](/v1/self-host/local_deployment).
## Core Functions
Opik integrates with your existing AI stack through your model provider or LLM framework.
Traces give you instant visibility into what's working, what's not, and why and includes
advanced analysis and debugging features built in.
Use LLM-as-a-judge and heuristic eval metrics to score your app or agent on hallucination,
context recall, and more.
Choose from six advanced optimization algorithms to auto-generate and score the best prompts for
the steps in your agentic system.
Store and version system prompts, compare results live in the [Prompt Playground](/v1/prompt_engineering/playground),
and experiment with different models with our LLM proxy.
Deploy Opik on your own infrastructure with local or Kubernetes deployment options.
## Video Tutorials
Prefer a visual guide ? Follow along as we cover everything from basic setup and trace logging to
LLM evaluation metrics, production monitoring, and more.
You can find a full set of video tutorials in the [Opik University](/v1/opik-university/overview).
## Open-Source access meets enterprise performance
All Opik versions ([cloud](https://www.comet.com/signup?from=llm),
[open source](https://github.com/comet-ml/opik), and
[enterprise](https://www.comet.com/site/pricing/)) include the full AI engineering featureset
and run on the Comet platform, with proven performance at scale supporting many of the world's
largest organizations.
Compare Opik to other LLM observability tools and you'll find that traces populate faster,
evaluations run smoother, and reliability comes standard — even for complex agentic systems serving
millions of users in production.