LLM observability and evaluationChecked November 23, 2026

LLMTrace

LLMTrace is an open-source observability platform for LLM applications under Apache-2.0. Its README calls it a LangSmith alternative. It stores traces with full prompts, completions and tool calls as chat bubbles, with token and cost metrics, sessions, alerting and role-based access, in one container. The SDK wraps OpenAI and Anthropic with one line, and LangChain works without code changes through a LangSmith-compatible endpoint.

OSIAlternative to LangSmith

What does LLMTrace do?

LLMTrace's README describes it as "Self-hosted tracing and monitoring for LLM applications." It stores traces with full inputs and outputs, tool calls and token usage, laid out as chat bubbles and span trees in a dashboard. Metrics include latency, cost, errors and up or down feedback. Sessions group calls from one conversation, and runs group calls from one job.

Integration is one line for OpenAI (wrap_openai(client)) and one for Anthropic (wrap_anthropic(client), with streaming). Decorators (@trace, @span) instrument any Python function. LangChain apps work without code changes through LangSmith-compatible environment variables, so a team moving from LangSmith can point its existing app at LLMTrace by changing a URL and a key. The project ingests OpenTelemetry on the OTLP/HTTP path at /api/v1/otel/v1/traces with GenAI and OpenInference conventions.

Key facts

  • Licence: Apache-2.0.
  • Runtime: one container. FastAPI backend, React dashboard, PostgreSQL or SQLite storage.
  • SDK: Python, with wrap_openai, wrap_anthropic (streaming), @trace and @span decorators, batch processing with disk buffering, and PII masking.
  • LangChain: works through LangSmith-compatible environment variables, no code change needed.
  • OpenTelemetry: OTLP/HTTP ingestion at /api/v1/otel/v1/traces, with GenAI and OpenInference conventions.
  • Access control: multi-tenant teams, API key management, three roles (admin, member, viewer).
  • Alerting: thresholds with webhook delivery to Feishu, DingTalk and WeCom, HMAC-signed.
  • Export: CSV and JSON, with audit logging.
  • Platform: Python 3.12 or newer.
  • Stars on 2026-11-23: 1. The project was created on 2026-11-11 and is recent.

What does it replace, and where does it fall short?

LLMTrace replaces LangSmith for a team that wants its traces and prompts on its own server, under an OSI licence, in one container. The open-source alternatives to LangSmith page compares it with Langfuse, Phoenix and Opik.

Where it falls short: the project is recent, created on 2026-11-11, so it has not had time to collect a plugin library, add a hosted option or attract a large user base. The webhook list covers Feishu, DingTalk and WeCom, not Slack or PagerDuty. The README calls out a scaling limit: "Run a single uvicorn worker per deployment; move to Redis before scaling horizontally." So the single-container setup is for one worker; multi-worker needs a Redis addition the README has not shipped yet.

How does LLMTrace run?

The project ships as a single Docker container that runs the FastAPI backend, the React dashboard and either PostgreSQL or SQLite in one place. Python 3.12 or newer is required for the SDK. A team's existing LangChain app points at LLMTrace by changing the LangSmith endpoint and API key environment variables.

The maintainer does not sell a hosted version. Everything runs on the server the team deploys to.

Who is LLMTrace for?

A team that wants to see every prompt, completion and tool call its LLM app sends, on its own server, without the data leaving the network. A team that needs a mature plugin library, a hosted option or Slack and PagerDuty alerts should look at Langfuse or Phoenix, which are older and larger projects.

What limits does the README state?

A single uvicorn worker per deployment. Moving to Redis is required before scaling horizontally. The webhook list is Feishu, DingTalk and WeCom. Python 3.12 is the minimum SDK version.

Questions people ask

Is LLMTrace open source?

Yes. The code is Apache-2.0, an OSI-approved licence that permits commercial use.

Can LLMTrace be used with LangChain?

Yes, without a code change. The project speaks the LangSmith API, so a LangChain app can switch from LangSmith by setting LANGSMITH_ENDPOINT and LANGSMITH_API_KEY to the LLMTrace values. The README calls this "zero-code LangChain tracing".

Does LLMTrace send my prompts anywhere?

No. LLMTrace is self-hosted. The prompts, completions and tool calls stay on the server the team runs the container on. The alert webhooks send only the alert payload, not the trace content.

How does LLMTrace compare with LangSmith?

LLMTrace runs on your server, under an OSI licence, in one container. LangSmith is a hosted service from LangChain with a paid plan, a mature product and a large user base. The alternatives to LangSmith page compares LLMTrace with Langfuse, Phoenix and Opik, which are the older self-hosted options.

Which SDKs does LLMTrace support?

A Python SDK that wraps OpenAI (wrap_openai) and Anthropic (wrap_anthropic, with streaming), decorators (@trace, @span), batch processing with disk buffering and PII masking. LangChain calls flow through the LangSmith-compatible endpoint, and any OpenTelemetry client can send to the OTLP/HTTP ingestion URL.

Sources

More llm observability and evaluation

ProjectReplacesOpennessStarsLast releaseSelf-host
Langfuse

An open-core LLM engineering platform, MIT outside its ee folders and part of ClickHouse since January 2026, for tracing, prompt management, evaluations, datasets and a playground, with Python and TypeScript SDKs.

OSI
37,753
Nov 23, 2026
Yes
Opik

Comet's Apache-2.0 LLM observability and evaluation platform, one licence across the whole repository, for agent tracing, LLM-as-a-judge evaluations, prompt management, production monitoring, CI tests and an MCP server.

OSI
23,489
Nov 23, 2026
Yes
Arize Phoenix

Arize's AI observability platform built on OpenTelemetry for tracing, evaluations, datasets, experiments and prompt management, under the Elastic License 2.0, which forbids offering it as a hosted service.

Source available
12,382
Nov 21, 2026
Yes

Added November 23, 2026. Every claim above comes from the project's README, LICENSE or model card, read on November 23, 2026, or from the GitHub API on the date shown in the panel. Found an error? Write to reveneau@licheo.com and it is fixed in the next weekly pass. Repository: github.com/zfan980816/llmtrace.

Want LLMTrace running on your own servers?

Reveneau sets it up on your hardware, connects it to your product, and builds the software around it.

Start a project