openlit/openlit

OpenLIT is the open-source agent harness engineering platform: trace, evaluate, guard, and improve everything around the model in your AI agents, on OTEL.

What it solves

OpenLIT provides a comprehensive engineering platform for AI agents, focusing on the "harness" (the tools, prompts, and guardrails surrounding the model). It solves the difficulty of debugging and improving production agents by allowing teams to trace every step of an agent's execution, evaluate its quality, and fix issues without needing to redeploy the entire application.

How it works

OpenLIT uses an OpenTelemetry-native approach to instrument AI applications. By adding a few lines of SDK code, it automatically captures traces and metrics for LLM calls, tool usage, and retrieval steps. This telemetry flows through the OpenTelemetry protocol (OTLP) to an OpenLIT dashboard where users can monitor costs, latency, and performance. It also includes a rule engine to dynamically control runtime behavior and a prompt hub for versioned prompt management.

Who it’s for

It is designed for developers and engineering teams building and deploying AI agents and coding agents (such as those using Claude Code, Cursor, or LangGraph) who need production-grade observability, evaluation, and guardrails.

Highlights

  • OpenTelemetry Native: Uses standard GenAI semantic conventions, allowing integration with existing OTel backends like Grafana or Datadog.
  • Agent Harness Engineering: Tools for managing prompts, context, and rules separately from application code.
  • Comprehensive Observability: Traces LLM calls, tool calls, MCP requests, and GPU utilization (NVIDIA, AMD, Intel).
  • Automated Evaluations: Built-in LLM-as-a-judge evaluations for hallucination, bias, toxicity, and safety.
  • Coding Agent Support: Specialized instrumentation for AI coding agents like Cursor and Claude Code to track file edits and shell commands.
  • Runtime Guardrails: Detects and blocks prompt injection and sensitive topics at runtime.

Related

  • Project
  • Project
  • Project
  • Project
  • Project