Operations engineer reading a trace waterfall and latency charts for an LLM application on a large dashboard screen

Best GitHub Repos for LLM Observability

If you cannot reconstruct why an answer shipped, you are running a demo. The best GitHub repos for LLM observability give you traces that join a user request to the retrieval step, model call, and tool side effects behind it, plus metrics your on-call engineer can alert on. A pretty chat timeline is optional. A shared trace ID across every hop is not.

Facts below come from each repository’s README and LICENSE as fetched on November 30, 2026. Licenses and ownership in this niche have changed fast, so re-check before you standardize. For the architecture view, read the observability stack for LLM apps; this page is the repo shortlist with opinions.

The snapshot

RepoRoleLicense notePick it when
open-telemetry/opentelemetry-pythonTrace and metric SDKApache-2.0 projectYou want one trace model across services
open-telemetry/semantic-conventions-genaiGenAI attribute namesOpenTelemetry projectYou want vendor-neutral span fields
traceloop/openllmetryLLM auto-instrumentationApache-2.0You need spans for model SDKs quickly
Arize-ai/openinferenceTracing spec and instrumentorsSee repoYou trace agents, tools, and retrievers
langfuse/langfuseSelf-hostable platformMIT, except ee/ directoriesTraces, prompts, and evals in one UI
Arize-ai/phoenixTracing and evals platformElastic License 2.0Debugging retrieval and agent paths
comet-ml/opikTracing, evals, guardrailsApache-2.0A full-lifecycle platform under a permissive license
Helicone/heliconeGateway plus loggingApache-2.0You want a proxy in front of providers
pydantic/logfirePython-centric observabilitySDK open, server closedYou live in Python and Pydantic

Build on OpenTelemetry first

1. open-telemetry/opentelemetry-python

The README’s status table lists traces and metrics as stable and logs as still in development, with Python 3.10+ required. That maturity is the argument for starting here: your LLM spans ride the same pipeline as HTTP handlers and database calls, so a slow answer can be traced to a slow retriever instead of blamed on the model. Use the SDK for your language; the collector in the same ecosystem is where you will later strip sensitive attributes before export.

2. open-telemetry/semantic-conventions-genai

The GenAI conventions moved out of the main semantic-conventions repository into their own, covering spans, metrics, and events for GenAI clients and MCP. The spans page is marked Development status, so attribute names can still change, and it flags content attributes such as input and output messages, system instructions, and tool definitions as opt-in because they may contain sensitive or PII data. Treat that opt-in default as your policy template: record token counts, model names, and latencies everywhere, and record raw content only deliberately.

Instrumentation that emits standard traces

3. traceloop/openllmetry

Standard OpenTelemetry instrumentations for LLM providers and vector databases, plus a small Traceloop SDK for quick starts, all under Apache-2.0. The README’s pitch is that output stays plain OpenTelemetry data you can send to Datadog, Honeycomb, Grafana, and other backends. Good when you already have a trace backend and just need spans from model SDKs. The JavaScript version lives in a separate repository, so check coverage for your language.

4. Arize-ai/openinference

A specification for recording AI applications as OpenTelemetry traces, with span kinds for LLM calls, agents, tools, retrievers, and embeddings, and instrumentors for Python, JavaScript, Java, and Go. Its strength is vocabulary: when a trace says “retriever” instead of a generic span, dashboards and evals can reason about it. It is natively supported by Phoenix but works with any OpenTelemetry-compatible backend. Decide early between this and the GenAI conventions, and avoid mixing attribute dialects within one service.

Platforms you can self-host

5. langfuse/langfuse

Tracing built on OpenTelemetry, prompt management, evaluations with LLM-as-a-judge and datasets, metrics dashboards, and a beta gateway. Two license details matter: the LICENSE grants MIT for most code but puts content under ee/ directories under a separate license, and the README states Langfuse has been part of ClickHouse since January 2026. Neither is disqualifying, but your legal and platform teams should read both before committing. Self-hosting helps with data residency; pair it with PII redaction so traces do not become a second customer database.

6. Arize-ai/phoenix

Open-source observability for experimentation, evaluation, and troubleshooting: tracing, evals, versioned datasets, experiments, a prompt playground, and a remote MCP server so coding agents can query traces. It is vendor and language agnostic. The license is Elastic License 2.0, which restricts offering the software as a managed service, so it is fine for internal use but not an OSI open-source license. Pairs naturally with offline suites such as RAGAS.

7. comet-ml/opik

An Apache-2.0 platform covering agent tracing, datasets and experiments, LLM-as-a-judge metrics, production dashboards, guardrails, and a PyTest integration for CI evaluation. The README says the full platform is free to self-host. Worth a trial if you want permissive licensing plus evals and guardrails in one product; compare its trace UI against Langfuse and Phoenix on your own traces rather than screenshots.

Gateways and language-specific options

8. Helicone/helicone

An Apache-2.0 gateway and observability platform: change the base URL, route to many models through one API, and get logs, sessions, and dashboards, with Docker and Helm paths for self-hosting. Gateways give instant visibility, but every prompt flows through them, so treat the proxy as part of your threat model and your uptime budget. A gateway also sees only the model call, not your retrieval or tool code, so it complements rather than replaces application tracing.

9. pydantic/logfire

An opinionated OpenTelemetry wrapper for Python with SQL querying and Pydantic validation analytics. The important caveat is in its README: the repository holds the Python SDK and documentation, while the server application is closed source. That is a legitimate commercial model, but it means this is an SDK to evaluate, not a self-hostable platform.

A failure drill to run before you choose

Pick one real incident shape and replay it through each candidate. For example: a RAG answer cites a document the user should not see. Can you, in under five minutes, find the request, see which chunks were retrieved and their ACL metadata, view the final prompt with sensitive fields masked, and identify the deploy version? If the tool cannot answer that, its dashboards do not matter.

  1. Propagation. Does the trace survive your API gateway, queue workers, and background tool calls?
  2. Redaction. Can you mask attributes in the collector or SDK before they leave your network?
  3. Cost. Are token counts on the same spans you use for latency, so cost attribution is a query and not a spreadsheet?
  4. Release linkage. Can you filter traces by prompt version, model version, and canary cohort, as in canary prompts for LLM deploys?
  5. Break-glass access. Who can read raw content, and is that access logged?
  6. Exit path. Can you export traces in OpenTelemetry format if you switch vendors?

Anti-patterns we keep seeing

  • Sending raw prompts to a hosted trace service before a data-processing agreement and region review exist.
  • Running a separate “AI dashboard” that site reliability engineers cannot query with the rest of the fleet.
  • Recording tool credentials in span attributes “just for debugging.”
  • Tracking thumbs-up rates while ignoring latency and cost regressions.
  • Installing two or three overlapping platforms because each demo looked good.

Agent systems raise the stakes: every tool call needs its own span and outcome, covered in tracing LLM tool calls, and the runbook should link to incident response for LLM apps. If your stack is agent-heavy, also scan the best GitHub repos for AI agents, and pair this list with the eval repo roundup so offline scores and live traces tell one story.

A sensible default for most teams: OpenTelemetry as the backbone, one LLM-aware backend, collector-level redaction, and raw content capture off until someone justifies it.

FAQ

What are the best GitHub repos for LLM observability?

Start with OpenTelemetry and its GenAI semantic conventions as the backbone. Add OpenLLMetry or OpenInference for instrumentation, then evaluate Langfuse, Phoenix, or Opik as a backend. Helicone suits teams that want a gateway in front of model providers.

Do I need an LLM-specific platform, or is OpenTelemetry enough?

OpenTelemetry can carry the traces, but you still need a backend and a UI that understands prompts, retrieval steps, and evaluations. Many teams send OpenTelemetry data to an existing backend first and adopt an LLM-native platform only when product and engineering need shared trace review and scoring.

Is Phoenix open source?

Phoenix is source-available under the Elastic License 2.0, which allows internal use but restricts offering it as a hosted service to others. Check the license against your legal requirements, especially if you plan to embed or resell it.

Is Langfuse fully MIT licensed?

Most of the repository is MIT, but its LICENSE places content under certain ee directories under a separate license. The README also says Langfuse has been part of ClickHouse since January 2026. Review both before treating it as purely MIT.

What should never be written to LLM traces?

Credentials, API keys, government identifiers, and full payment data should never be recorded. The OpenTelemetry GenAI conventions treat message content as opt-in because it may contain sensitive data, so capture it only with a documented reason and redaction in place.

How is observability different from evals?

Evals measure quality on known test sets, usually before release. Observability explains what happened to real requests in production. You need both, and linking them by prompt version and trace ID lets a production failure become a new regression test.

Related reading

About Mudasir Syed

Check Also

AI Agent Evaluation and Observability Guide — professional topic visual

AI Agent Evaluation and Observability Guide

AI agent evaluation: practical guide with definitions, implementation checklist, security notes, and internal links across the agentic stack.

Leave a Reply