How do you know your AI agent is quietly wrong in production? OpenLIT, an open-source OpenTelemetry-native observability platform for AI agents, is pitching itself as the layer for "agent harness engineering" — tracing, evaluating, guarding and fixing the non-model parts of an agent such as tools, prompts, memory and guardrails. OpenLIT is free to self-host under Apache 2.0 and ships integrations for Claude Code, Codex, Cursor, the OpenAI Agents SDK, LangGraph, CrewAI and 70+ other tools, with Python and TypeScript SDKs installed via pip or npm and a Docker Compose quickstart. The project positions its run → observe → evaluate → fix → verify loop, including LLM-as-a-judge evals, CI gates, prompt-injection guardrails and GPU monitoring for NVIDIA, AMD and Intel hardware, as the way teams catch agents that fail quietly in production. Trace, evaluate, guard, and improve AI agents and coding agents with OpenTelemetry. Agent observability · Evals · Guardrails · Prompt management · Cost & GPU monitoring · Self-host free Apache 2.0 Website https://openlit.io · Documentation https://docs.openlit.io/latest/overview · Quickstart -get-started-in-5-minutes · Compare https://openlit.io/compare · Join Slack https://join.slack.com/t/openlit/shared invite/zt-2etnfttwg-TjP 7BZXfYg84oAukY8QRQ OpenLIT is an open-source intelligence layer for AI ROI. It gives teams OpenTelemetry-native tracing, evaluations, guardrails, prompt and context management, and cost and GPU monitoring for the harness around their AI agents and coding agents, so every agent failure can be traced, scored, and turned into a harness fix. OpenLIT is free to self-host under Apache 2.0 and works with any model, framework, or harness: Claude Code, Codex, Cursor, OpenAI Agents SDK, LangGraph, CrewAI, and 70+ more integrations. An AI agent is a model plus a harness . The harness is everything except the model: tools, context, prompts, memory, hooks, guardrails, and feedback loops. Agent harness engineering is the discipline of designing, measuring, and improving that harness so agents are reliable in production. The core loop is run → observe → evaluate → fix the harness → verify , and OpenLIT gives you each step: | Harness engineering step | OpenLIT feature | |---|---| | Observe every LLM call, tool call, MCP request, retrieval and agent step | Agent observability & OpenTelemetry LLM tracing | | Evaluate quality, safety and cost on real traces | Evals LLM-as-a-judge, programmatic, human feedback + CI gates | | Guard the agent at runtime | Guardrails prompt injection, sensitive topics, topic restriction | | Fix the harness without redeploying | Prompt Hub, Context, Rule Engine, Vault secrets | | Compare models and prompts before shipping | OpenGround | | Account for cost, latency and hardware | Cost tracking, custom pricing, GPU monitoring NVIDIA, AMD, Intel | A production agent can involve: php flowchart TD U User -- A AI Agent A -- L LLM calls A -- T Tool calls A -- R Retrieval A -- M Memory A -- S Sub-agents A -- P Prompts A -- C Code changes L & T & R & M & S & P & C -- E{{Evaluation}} E -- O "Cost / Quality / Errors" style U fill: F97316,stroke: 7C2D12,color: fff style A fill: 111827,stroke: F97316,stroke-width:2px,color: fff style E fill: 111827,stroke: F97316,stroke-width:2px,color: fff style O fill: F97316,stroke: 7C2D12,color: fff git clone https://github.com/openlit/openlit.git cd openlit docker compose up -d Open: http://127.0.0.1:3000 Python: pip install openlit TypeScript: npm install openlit Python: python import openlit openlit.init That's it. OpenLIT automatically instruments supported LLM providers, frameworks, vector databases, and other AI infrastructure and exports OpenTelemetry traces and metrics. By default, configure the OTLP endpoint: export OTEL EXPORTER OTLP ENDPOINT="http://127.0.0.1:4318" Or: python import openlit openlit.init otlp endpoint="http://127.0.0.1:4318" Open your dashboard and start exploring your AI application's traces, metrics, costs, and performance. AI coding agents are powerful — but understanding what they actually did can be difficult. OpenLIT gives you an OpenTelemetry-native view of coding-agent sessions. Install the CLI: curl -fsSL https://raw.githubusercontent.com/openlit/openlit/main/cli/scripts/install.sh | sh iwr -useb https://raw.githubusercontent.com/openlit/openlit/main/cli/scripts/install.ps1 | iex Configure OpenLIT: openlit configure --endpoint http://127.0.0.1:4318 Install coding-agent instrumentation: openlit coding install --vendor=all Or install individual integrations: openlit coding install --vendor=cursor openlit coding install --vendor=claude-code openlit coding install --vendor=codex openlit coding install --vendor=opencode Check your installation: openlit doctor Now OpenLIT can capture: php flowchart LR S Coding Agent Session -- P User prompt S -- L LLM calls S -- T Tool calls T -- T1 File reads T -- T2 File edits T -- T3 Shell commands T -- T4 Search S -- SA Sub-agent activity S -- TU Token usage S -- CO Cost S -- CI Code impact style S fill: 111827,stroke: F97316,stroke-width:2px,color: fff style T fill: 111827,stroke: F97316,stroke-width:2px,color: fff Explore the resulting sessions in the Coding Agents dashboard. Understand exactly what happened during an AI request. All represented using OpenTelemetry. Track the cost of your AI applications across: Support custom pricing for custom and fine-tuned models. Automatically evaluate LLM and agent outputs using LLM-as-a-Judge evaluations. Built-in evaluation types include: Use evaluations to move from: "The agent produced an answer." to: "The agent produced a good answer." Find the requests that matter. Investigate: Go from: Something went wrong. to a fully traced root cause: php flowchart TD A Agent -- P Prompt -- L1 LLM -- T Tool call -- R Retrieval -- L2 LLM -- E Error style E fill: DC2626,stroke: 7F1D1D,color: fff style A fill: 111827,stroke: F97316,stroke-width:2px,color: fff |