Langfuse vs Opik
In short
Langfuse vs Opik: both are coding tools on Scriptiii AI Tools. Langfuse pricing: Free. Free to use. (reported by the maker) Opik pricing: Free. Free to use. (reported by the maker) Both have 0 upvotes.
- Langfuse
- Free. Free to use. (reported by the maker)
- Opik
- Free. Free to use. (reported by the maker)
- Upvotes
- 0 vs 0
| Field | Langfuse | Opik |
|---|---|---|
| Page | Langfuse | Opik |
| Pricing (maker-reported) | Free. Free to use. | Free. Free to use. |
| Upvotes | 0 | 0 |
| Best for | ai-agents, tool, observability-evals | ai-agents, tool, observability-evals |
| Tagline | Open-source LLM engineering platform for tracing, evaluation and prompt management. | Comet open-source platform for tracing, evaluating and monitoring LLM apps and agents. |
| Website | Visit Langfuse | Visit Opik |
Pricing and pricing details come from the maker's submission. They are not independently verified.
Langfuse
alt="chat on Discord">
alt="follow on X(Twitter)">
Langfuse is an open source AI engineering platform for agent evals and observability. It is one open platform for every AI call your company makes and every agent your teams build: track usage and costs, trace and evaluate agents, and use production data to ship better AI. Use Langfuse Cloud or self-host in minutes; Langfuse is battle-tested at scale.
Watch a quick demo of the project here:
๐งโ๐ป We're hiring
Interested in contributing to Langfuse full-time? Langfuse is growing fast (we doubled the team in the last 6 months). Since January 2026 we're part of ClickHouse. We hire remotely, with offices in Berlin, San Francisco, Amsterdam, and New York.
See open roles โ
โจ Core Features
-
AI Observability: Instrument your app and start ingesting traces to Langfuse, thereby tracking LLM calls and other relevant logic in your app such as retrieval, embedding, or agent actions. Inspect and debug complex logs and user sessions. Built on OpenTelemetry. Try the interactive demo to see this in action.
-
Prompt Management helps you centrally manage, version control, and collaboratively iterate on your prompts. Thanks to strong caching on server and client side, you can iterate on prompts without adding latency to your application. The LLM Playground lets you test prompts and model configurations; when you see a bad result in tracing, you can jump straight to the playground to iterate on it.
-
Skill Management (beta) brings versioning and labels to agent skills: a
SKILL.mdwith task instructions plus optional supporting files. Promote or roll back versions without changing application code, and link skill versions to the traces they produced. -
Evaluations are key to the AI agent development workflow, and Langfuse adapts to your needs. It supports LLM-as-a-judge, code evaluators, user feedback collection, manual labeling, and custom evaluation pipelines via APIs/SDKs. Use Datasets and Experiments to build test sets and benchmarks for pre-deployment testing and continuous improvement.
-
AI Gateway (beta) gives your organization one endpoint for calls to your model providers. Keep provider credentials in one place, hand out per-user or service account gateway keys, approve models centrally, track AI spend per user, key, and model, and record every call as a Langfuse trace.
-
Metrics and Dashboards: Track latency, cost, and quality across any dimension with custom dashboards, the metrics API, and alerts.
-
Comprehensive API: Langfuse is frequently used to power bespoke AI engineering workflows while using the building blocks provided by Langfuse via the API. An OpenAPI spec, typed SDKs for Python and JS/TS, the Langfuse CLI, and the Langfuse Agent Skill for coding agents are available.
๐ฆ Deploy Langfuse
Langfuse Cloud
Managed deployment by the Langfuse team, generous free tier, no credit card required.
Sign up for Langfuse Cloud โ
Self-Host Langfuse
Run Langfuse on your own infrastructure:
-
Docker Compose: Run Langfuse on your own machine or a single virtual machine in 5 minutes. The guide also covers configuring Docker log rotation so container logs don't fill up the disk.
# Get a copy of the latest Langfuse repository git clone --depth=1 https://github.com/langfuse/langfuse.git cd langfuse # Run the langfuse docker compose docker compose up -
Kubernetes (Helm): Run Langfuse on a Kubernetes cluster using Helm. This is the preferred production deployment.
See self-hosting documentation to learn more about architecture and configuration options.
[!TIP]
Self-hosting Langfuse? Subscribe to the self-hosting update list to get an email about important features and new releases for open source Langfuse โ self-hosting updates only, no marketing.
๐ Integrations
Langfuse is built on OpenTelemetry, so any OpenTelemetry-instrumented application, framework, or collector can send traces to Langfuse.
Main Integrations
| Integration | Supports | Description |
|---|---|---|
| OpenTelemetry | Any language | Send OTLP traces from your application or OpenTelemetry Collector to Langfuse's OpenTelemetry endpoint. |
| Langfuse AI Gateway (beta) | Any OpenAI or Anthropic client | Route model calls through one endpoint to trace every call, keep provider keys in one place, and track cost without SDK or code changes. |
| SDK | Python, JS/TS | Manual instrumentation using the SDKs for full flexibility. |
| OpenAI | Python, JS/TS | Automated instrumentation using drop-in replacement of OpenAI SDK. |
| LangChain & LangGraph | Python, JS/TS | Automated instrumentation by passing callback handler to LangChain or LangGraph application. |
| LlamaIndex | Python | Automated instrumentation via LlamaIndex callback system. |
| Haystack | Python | Automated instrumentation via Haystack content tracing system. |
| LiteLLM | Python, JS/TS (proxy only) | Use any LLM as a drop-in replacement for GPT. Use Azure, OpenAI, Cohere, Anthropic, Ollama, VLLM, Sagemaker, HuggingFace, Replicate (100+ LLMs). |
| Vercel AI SDK | JS/TS | TypeScript toolkit designed to help developers build AI-powered applications with React, Next.js, Vue, Svelte, Node.js. |
| Mastra | JS/TS | Open source framework for building AI agents and multi-agent systems. |
| API | Directly call the public API. OpenAPI spec available. |
Packages integrated with Langfuse
| Name | Type | Description |
|---|---|---|
| OpenAI Agents SDK | Agent Framework | Lightweight framework from OpenAI for building multi-agent workflows. |
| Claude Agent SDK | Agent Framework | Anthropic's open source framework for building tool-using agents with native MCP support. |
| Pydantic AI | Agent Framework | Python agent framework for building production-grade applications with type safety. |
| Google ADK | Agent Framework | Google's open source Agent Development Kit for building agents. |
| Strands Agents | Agent Framework | Open source SDK by AWS for building and running AI agents. |
| Spring AI | Agent Framework | Java framework for building AI applications in the Spring ecosystem. |
| CrewAI | Agent Framework | Multi agent framework for agent collaboration and tool use. |
| AutoGen | Agent Framework | Open source LLM platform for building distributed agents. |
| smolagents | Agent Framework | Open source AI agents framework. |
| Instructor | Library | Library to get structured LLM outputs (JSON, Pydantic). |
| DSPy | Library | Framework that systematically optimizes language model prompts and weights. |
| Mirascope | Library | Python toolkit for building LLM applications. |
| Ollama | Model (local) | Easily run open source LLMs on your own machine. |
| Amazon Bedrock | Model | Run foundation and fine-tuned models on AWS. |
| Flowise | Chat/Agentย UI | JS/TS no-code builder for customized LLM flows. |
| Langflow | Chat/Agentย UI | Python-based UI for LangChain, designed with react-flow to provide an effortless way to experiment and prototype flows. |
| Dify | Chat/Agentย UI | Open source LLM app development platform with no-code builder. |
| OpenWebUI | Chat/Agentย UI | Self-hosted LLM Chat web ui supporting various LLM runners including self-hosted and local models. |
| LobeChat | Chat/Agentย UI | Open source chatbot platform. |
| Gradio | Chat/Agentย UI | Open source Python library to build web interfaces like Chat UI. |
| Promptfoo | Tool | Open source LLM testing platform. |
| Vapi | Platform | Open source voice AI platform. |
| Inferable | Agent Framework | Open source LLM platform for building distributed agents. |
| Goose | Agent | Open source AI agent by Block that automates engineering tasks. |
See the integrations overview for the full list of 100+ integrations.
๐ Quickstart
Instrument your app and start ingesting traces to Langfuse, thereby tracking LLM calls and other relevant logic in your app such as retrieval, embedding, or agent actions. Inspect and debug complex logs and user sessions.
๐ค Agentic installation (recommended)
Install the Langfuse Agent Skill to let your coding agent access all Langfuse features, then ask it to add tracing to your application:
Install the Langfuse Agent Skill from github.com/langfuse/skills
and use it to add tracing to this application with Langfuse
following best practices.
You can also install the skill with the skills CLI (npx skills add langfuse/skills --skill "langfuse") or the Langfuse Cursor plugin. If your agent supports MCP, add the Langfuse Docs MCP server (https://langfuse.com/api/mcp, no authentication) so it can look up current documentation while it works. See the get started guide for details.
๐ ๏ธ Manual installation
1๏ธโฃ Create new project
- Create Langfuse account or self-host
- Create a new project
- Create new API credentials in the project settings
2๏ธโฃ Log your first LLM call
The @observe() decorator makes it easy to trace any Python LLM application. In this quickstart we also use the Langfuse OpenAI integration to automatically capture all model parameters.
[!TIP]
Not using OpenAI? Visit our documentation to learn how to log other models and frameworks.
pip install langfuse openai
LANGFUSE_SECRET_KEY="sk-lf-..."
LANGFUSE_PUBLIC_KEY="pk-lf-..."
LANGFUSE_BASE_URL="https://cloud.langfuse.com" # ๐ช๐บ EU region
## LANGFUSE_BASE_URL="https://us.cloud.langfuse.com" # ๐บ๐ธ US region
## LANGFUSE_BASE_URL="https://jp.cloud.langfuse.com" # ๐ฏ๐ต Japan region
## LANGFUSE_BASE_URL="https://hipaa.cloud.langfuse.com" # โ๏ธ HIPAA region
from langfuse import observe
from langfuse.openai import openai # OpenAI integration
@observe()
def story():
return openai.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "What is Langfuse?"}],
).choices[0].message.content
@observe()
def main():
return story()
main()
3๏ธโฃ See traces in Langfuse
See your language model calls and other application logic in Langfuse.
Public example trace in Langfuse
๐ญ Support
Finding an answer to your question:
- Our documentation is the best place to start looking for answers. It is comprehensive, and we invest significant time into maintaining it. You can also suggest edits to the docs via GitHub.
- Langfuse FAQs where the most common questions are answered.
- Use "Ask AI" to get instant answers to your questions.
Support Channels:
- Ask any question in our public Q&A on GitHub Discussions. Please include as much detail as possible (e.g. code snippets, screenshots, background information) to help us understand your question.
- Request a feature on GitHub Discussions.
- Report a Bug on GitHub Issues.
- For time-sensitive queries, ping us via the in-app chat widget.
๐ค Contributing
Your contributions are welcome!
- Vote on Ideas in GitHub Discussions.
- Raise and comment on Issues.
- Open a PR - see CONTRIBUTING.md for details on how to setup a development environment.
๐ฅ License
This repository is MIT licensed, except for the ee folders. See LICENSE and docs for more details.
Dependencies
We deploy this code base in Docker containers. See web/Dockerfile and worker/Dockerfile for how the images are built, including the base images they use.
โญ๏ธ Star History
โค๏ธ Open Source Projects Using Langfuse
Top open-source projects that use the Langfuse Python or JS/TS SDK, ranked by stars (Source):
๐ Security & Privacy
We take data security and privacy seriously. Please refer to our Security and Privacy page for more information.
Telemetry
By default, Langfuse automatically reports basic usage statistics of self-hosted instances to a centralized server (PostHog).
This helps us to:
- Understand how Langfuse is used and improve the most relevant features.
- Track overall usage for internal and external (e.g. fundraising) reporting.
The telemetry does not include raw traces, prompts, observations, scores, or dataset contents. We document the exact fields that are collected, where they are sent, and the implementation reference in our telemetry docs.
For Langfuse OSS, you can opt out by setting TELEMETRY_ENABLED=false.

Opik
Opik is the open-source LLM observability and evaluation platform for AI agent tracing, LLM evaluation, prompt management, and production monitoring. Built by Comet. Apache-2.0 licensed, free to self-host the full platform, with 20,000+ GitHub stars.
Website โข Slack Community โข Twitter โข Changelog โข Documentation
Last updated: 2026-07-17
๐งโโ๏ธ LLM as a Judge โข ๐ Evaluating your Application โข โญ Star Us โข ๐ค Contributing
๐ What is Opik?
Opik covers the full LLM application lifecycle, from the first trace in development to production monitoring, for teams building LLM apps and AI agents. Key offerings include:
- AI Agent Tracing & Observability: Deep tracing of LLM calls, conversation logging, and agent activity, with full trace trees for multi-step agents and tool calls.
- LLM Evaluation: Datasets, experiments, and LLM-as-a-judge metrics for hallucination detection, moderation, and RAG assessment.
- Prompt & Agent Optimization: The Opik Agent Optimizer SDK to improve prompts and agents.
- Production-Ready Monitoring: Scalable dashboards and online evaluation rules.
- Opik Guardrails: Features to help you implement safe and responsible AI practices.
- CI/CD Evaluation: A PyTest integration to test LLM pipelines on every commit.
Key capabilities include:
-
Development & Tracing:
- Track all LLM calls and traces with detailed context during development and in production (Quickstart).
- Extensive 3rd-party integrations for easy observability: Seamlessly integrate with a growing list of frameworks, supporting many of the largest and most popular ones natively (including recent additions like Google ADK, Autogen, and Flowise AI). (Integrations)
- Annotate traces and spans with feedback scores via the Python SDK or the UI.
- Experiment with prompts and models in the Prompt Playground.
-
Evaluation & Testing:
- Automate your LLM application evaluation with Datasets and Experiments.
- Leverage powerful LLM-as-a-judge metrics for complex tasks like hallucination detection, moderation, and RAG assessment (Answer Relevance, Context Precision).
- Integrate evaluations into your CI/CD pipeline with our PyTest integration.
-
Production Monitoring & Optimization:
- Log high volumes of production traces: Opik is designed for scale (40M+ traces/day).
- Monitor feedback scores, trace counts, and token usage over time in the Opik Dashboard.
- Utilize Online Evaluation Rules with LLM-as-a-Judge metrics to identify production issues.
- Leverage Opik Agent Optimizer and Opik Guardrails to continuously improve and secure your LLM applications in production.
Who it's for: ML engineers building LLM-powered agents, AI teams moving from prototype to production, and engineering teams that need open-source, self-hostable observability they can run in their own environment.
Why open source matters here: Opik is Apache-2.0 licensed and free to self-host: the full platform, backend included, not just a client SDK. The repository includes the server backend, web application, tracing, datasets, experiments, evaluations, prompt management, online evaluation, and agent optimization components, all under Apache-2.0. You can run LLM observability inside your own infrastructure with no data leaving your environment and no Enterprise sales conversation required.
[!TIP]
If you are looking for features that Opik doesn't have today, please raise a new Feature request ๐
โก Quick Start
Install the Python SDK and configure it:
pip install opik
opik configure
Wrap any function with the @track decorator to start logging traces:
from opik import track
@track
def my_function(input: str) -> str:
return input
Every call to my_function is now logged to Opik, including nested calls, so this works for full agent and pipeline traces, not just single LLM calls. See the Quickstart guide for the TypeScript SDK and other setup options.
Connect your coding agent
Let Claude Code, Cursor, VS Code Copilot, Codex or opencode read your traces, score outputs and run evaluations from chat. One command sets it up. It needs uv and no SDK:
uvx opik mcp configure
The badges and the add-mcp fallback below target Opik Cloud; the command above also handles self-hosted deployments. Other MCP clients on Opik Cloud: npx add-mcp https://www.comet.com/opik/api/v1/mcp --name opik-mcp. Details, troubleshooting and FAQ are in the MCP server guide.
๐ How Does Opik Compare?
Opik competes in the LLM observability / AI agent evaluation category alongside LangSmith, Arize (Phoenix and Arize AX), Weights & Biases (Weave), Langfuse, and Braintrust.
| Capability | Opik | LangSmith | Phoenix | Arize AX | Weights & Biases (Weave) | Langfuse | Braintrust |
|---|---|---|---|---|---|---|---|
| Open source | Yes, Apache-2.0 (full platform) | No | Source-available (Elastic License 2.0, not OSI-approved) | No | Open-source SDK/toolkit; self-managed platform requires a commercial license | MIT-licensed core platform; commercial enterprise modules | No |
| Self-hosted deployment | Yes | Enterprise only | Yes | Enterprise only | Enterprise only for Weave itself | Yes, core | Enterprise only |
| Free tier available (cloud or self-hosted) | Yes, both | Yes, cloud | Yes, self-hosted | Yes, cloud | Yes, cloud | Yes, both | Yes, cloud |
| Agent / multi-step tracing | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| LLM-as-a-judge evaluation | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| Prompt management | Yes | Yes | Partly | Partly | Partly | Yes | Yes |
| Framework-agnostic | Yes | Partly, built around LangChain | Yes | Yes | Yes | Yes | Yes |
When teams choose Opik: Opik's full observability, evaluation, and optimization platform is Apache-2.0 licensed and free to self-host. Unlike closed platforms whose self-hosted deployment requires an Enterprise plan, Opik can be deployed without a commercial license, and it's framework-agnostic so it won't lock you into a single agent ecosystem. See the table above for where self-hosting and licensing differ across alternatives.
โ Frequently Asked Questions
Is Opik open source?
Opik is licensed under Apache 2.0. Its server, web application, and core observability and evaluation capabilities can be self-hosted without a commercial license.
Can I self-host Opik?
Yes. Opik can be deployed locally or in your own infrastructure using the documented self-hosting options.
Does Opik support AI agent tracing?
Yes. Opik captures multi-step traces containing LLM calls, tool executions, retrieval steps, and other agent activity.
Does Opik support LLM evaluation?
Yes. Opik supports datasets, experiments, code-based metrics, LLM-as-a-judge evaluation, and online evaluation.
Is Opik tied to a specific agent framework?
No. Opik is framework-agnostic and supports its SDK, OpenTelemetry, and framework-specific integrations.
๐ ๏ธ Opik Server Installation
Get your Opik server running in minutes. Choose the option that best suits your needs:
Option 1: Comet.com Cloud (Easiest & Recommended)
Access Opik instantly without any setup. Ideal for quick starts and hassle-free maintenance.
๐ Create your free Comet account
Option 2: Self-Host Opik for Full Control
Deploy Opik in your own environment. Choose between Docker for local setups or Kubernetes for scalability.
Self-Hosting with Docker Compose (for Local Development & Testing)
This is the simplest way to get a local Opik instance running. Note the new ./opik.sh installation script:
On Linux or Mac Environment:
## Clone the Opik repository
git clone https://github.com/comet-ml/opik.git
## Navigate to the repository
cd opik
## Start the Opik platform
./opik.sh
On Windows Environment:
## Clone the Opik repository
git clone https://github.com/comet-ml/opik.git
## Navigate to the repository
cd opik
## Start the Opik platform
powershell -ExecutionPolicy ByPass -c ".\\opik.ps1"
Installation Script Options
The opik.sh and opik.ps1 scripts support the following options:
## Start full Opik suite (default behavior)
./opik.sh
## Start only infrastructure services (databases, caches etc.)
./opik.sh --infra
## Start infrastructure + backend services
./opik.sh --backend
## Enable guardrails with any profile
./opik.sh --guardrails # Guardrails with full Opik suite
./opik.sh --backend --guardrails # Guardrails with infrastructure + backend
## Build the containers from source before starting
./opik.sh --build
## Check that all containers are healthy
./opik.sh --verify
## Stop all containers
./opik.sh --stop
## Stop all containers and remove all Opik data volumes
## WARNING: ALL OPIK DATA WILL BE LOST
./opik.sh --clean
## Show all available options
./opik.sh --help
Use the --help or --info options to troubleshoot issues. Dockerfiles now ensure containers run as non-root users for enhanced security. Once all is up and running, you can now visit localhost:5173 on your browser! For detailed instructions, see the Local Deployment Guide.
Self-Hosting with Kubernetes & Helm (for Scalable Deployments)
For production or larger-scale self-hosted deployments, Opik can be installed on a Kubernetes cluster using our Helm chart. Click the badge for the full Kubernetes Installation Guide using Helm.
๐ป Opik Client SDK
Opik provides a suite of client libraries and a REST API to interact with the Opik server. This includes SDKs for Python and TypeScript, plus first-party OpenTelemetry support: any language with an OpenTelemetry SDK โ including Java, Ruby, and .NET โ can send traces to Opik. For detailed API and SDK references, see the Opik Client Reference Documentation.
Python SDK Quick Start
To get started with the Python SDK:
Install the package:
## install using pip
pip install opik
## or install with uv
uv pip install opik
Configure the python SDK by running the opik configure command, which will prompt you for your Opik server address (for self-hosted instances) or your API key and workspace (for Comet.com):
opik configure
[!TIP]
You can also callopik.configure(use_local=True)from your Python code to configure the SDK to run on a local self-hosted installation, or provide API key and workspace details directly for Comet.com. Refer to the Python SDK documentation for more configuration options.
You are now ready to start logging traces using the Python SDK.
๐ Logging Traces with Integrations
The easiest way to log traces is to use one of our direct integrations. Opik supports a wide array of frameworks, including recent additions like Google ADK, Autogen, AG2, and Flowise AI:
| Integration | Description | Documentation |
|---|---|---|
| ADK | Log traces for Google Agent Development Kit (ADK) | Documentation |
| AG2 | Log traces for AG2 LLM calls | Documentation |
| Agent Spec | Log traces for Agent Spec calls | Documentation |
| AIsuite | Log traces for aisuite LLM calls | Documentation |
| Agno | Log traces for Agno agent orchestration framework calls | Documentation |
| Anthropic | Log traces for Anthropic LLM calls | Documentation |
| Autogen | Log traces for Autogen agentic workflows | Documentation |
| Bedrock | Log traces for Amazon Bedrock LLM calls | Documentation |
| BeeAI (Python) | Log traces for BeeAI Python agent framework calls | Documentation |
| BeeAI (TypeScript) | Log traces for BeeAI TypeScript agent framework calls | Documentation |
| BytePlus | Log traces for BytePlus LLM calls | Documentation |
| Claude Code | Log traces for Claude Code sessions via the Opik plugin | GitHub |
| Cloudflare Workers AI | Log traces for Cloudflare Workers AI calls | Documentation |
| Cohere | Log traces for Cohere LLM calls | Documentation |
| CrewAI | Log traces for CrewAI calls | Documentation |
| Cursor | Log traces for Cursor conversations | Documentation |
| DeepSeek | Log traces for DeepSeek LLM calls | Documentation |
| Dify | Log traces for Dify agent runs | Documentation |
| DSPY | Log traces for DSPy runs | Documentation |
| Fireworks AI | Log traces for Fireworks AI LLM calls | Documentation |
| Flowise AI | Log traces for Flowise AI visual LLM builder | Documentation |
| Gemini (Python) | Log traces for Google Gemini LLM calls | Documentation |
| Gemini (TypeScript) | Log traces for Google Gemini TypeScript SDK calls | Documentation |
| Groq | Log traces for Groq LLM calls | Documentation |
| Guardrails | Log traces for Guardrails AI validations | Documentation |
| Haystack | Log traces for Haystack calls | Documentation |
| Harbor | Log traces for Harbor benchmark evaluation trials | Documentation |
| Instructor | Log traces for LLM calls made with Instructor | Documentation |
| LangChain (Python) | Log traces for LangChain LLM calls | Documentation |
| LangChain (JS/TS) | Log traces for LangChain JavaScript/TypeScript calls | Documentation |
| LangGraph | Log traces for LangGraph executions | Documentation |
| Langflow | Log traces for Langflow visual AI builder | Documentation |
| LiteLLM | Log traces for LiteLLM model calls | Documentation |
| LiveKit Agents | Log traces for LiveKit Agents AI agent framework calls | Documentation |
| LlamaIndex | Log traces for LlamaIndex LLM calls | Documentation |
| Mastra | Log traces for Mastra AI workflow framework calls | Documentation |
| MCP Server (opik-mcp) | Drive Opik from Claude Code, Cursor, or VS Code via Model Context Protocol | Documentation |
| Microsoft Agent Framework (Python) | Log traces for Microsoft Agent Framework calls | Documentation |
| Microsoft Agent Framework (.NET) | Log traces for Microsoft Agent Framework .NET calls | Documentation |
| Mistral AI | Log traces for Mistral AI LLM calls | Documentation |
| n8n | Log traces for n8n workflow executions | Documentation |
| Novita AI | Log traces for Novita AI LLM calls | Documentation |
| Ollama | Log traces for Ollama LLM calls | Documentation |
| OpenAI (Python) | Log traces for OpenAI LLM calls | Documentation |
| OpenAI (JS/TS) | Log traces for OpenAI JavaScript/TypeScript calls | Documentation |
| OpenAI Agents | Log traces for OpenAI Agents SDK calls | Documentation |
| OpenClaw | Log traces for OpenClaw agent runs | Documentation |
| OpenRouter | Log traces for OpenRouter LLM calls | Documentation |
| OpenTelemetry | Log traces for OpenTelemetry supported calls | Documentation |
| OpenWebUI | Log traces for OpenWebUI conversations | Documentation |
| Pipecat | Log traces for Pipecat real-time voice agent calls | Documentation |
| Predibase | Log traces for Predibase LLM calls | Documentation |
| Pydantic AI | Log traces for PydanticAI agent calls | Documentation |
| Ragas | Log traces for Ragas evaluations | Documentation |
| Semantic Kernel | Log traces for Microsoft Semantic Kernel calls | Documentation |
| Smolagents | Log traces for Smolagents agents | Documentation |
| Spring AI | Log traces for Spring AI framework calls | Documentation |
| Strands Agents | Log traces for Strands agents calls | Documentation |
| Together AI | Log traces for Together AI LLM calls | Documentation |
| TrueFoundry | Log traces for TrueFoundry AI Gateway LLM calls | Documentation |
| TypeSafe AI | Log traces for TypeSafe AI (Jev) System One calls | Documentation |
| Vercel AI SDK | Log traces for Vercel AI SDK calls | Documentation |
| VoltAgent | Log traces for VoltAgent agent framework calls | Documentation |
| WatsonX | Log traces for IBM watsonx LLM calls | Documentation |
| xAI Grok | Log traces for xAI Grok LLM calls | Documentation |
[!TIP]
If the framework you are using is not listed above, feel free to open an issue or submit a PR with the integration.
If you are not using any of the frameworks above, you can also use the track function decorator to log traces:
import opik
opik.configure(use_local=True) # Run locally
@opik.track
def my_llm_function(user_question: str) -> str:
# Your LLM code here
return "Hello"
[!TIP]
The track decorator can be used in conjunction with any of our integrations and can also be used to track nested function calls.
๐งโโ๏ธ LLM as a Judge metrics
The Python Opik SDK includes a number of LLM as a judge metrics to help you evaluate your LLM application. Learn more about it in the metrics documentation.
To use them, simply import the relevant metric and use the score function:
from opik.evaluation.metrics import Hallucination
metric = Hallucination()
score = metric.score(
input="What is the capital of France?",
output="Paris",
context=["France is a country in Europe."]
)
print(score)
Opik also includes a number of pre-built heuristic metrics as well as the ability to create your own. Learn more about it in the metrics documentation.
๐ Evaluating your LLM Applications
Opik allows you to evaluate your LLM application during development through Datasets and Experiments. The Opik Dashboard offers enhanced charts for experiments and better handling of large traces. You can also run evaluations as part of your CI/CD pipeline using our PyTest integration.
โญ Star Us on GitHub
If you find Opik useful, please consider giving us a star! Your support helps us grow our community and continue improving the product.
๐ค Contributing
There are many ways to contribute to Opik:
- Submit bug reports and feature requests
- Review the documentation and submit Pull Requests to improve it
- Speaking or writing about Opik and letting us know
- Upvoting popular feature requests to show your support
To learn more about how to contribute to Opik, please see our contributing guidelines.
Questions
- Do Langfuse and Opik list the same price?
- Both listings report Free. Free to use. Pricing is reported by the maker and is not independently verified.
- Which has more upvotes, Langfuse or Opik?
- Both have 0 upvotes.
- What does each maker say Langfuse and Opik are for?
- Langfuse: Open-source LLM engineering platform for tracing, evaluation and prompt management. Opik: Comet open-source platform for tracing, evaluating and monitoring LLM apps and agents.