Skip to main content
Evaluation & ObservabilityProduction

TruLens

truera / trulens

Evaluation and tracing for LLM apps and agents on OpenTelemetry, connecting retrieval, generation and feedback into an explainable trace.

3.7k stars 403 forks Python Language MIT License Last push 2026-11-20

Why choose it

  • Feedback functions attach scores to individual trace spans.
  • The trace shows why an answer was produced, not only the final score.
  • Works with several orchestration frameworks.

Not for

You only need aggregate metrics with no span-level diagnosis.
You cannot run an instrumented service.

Minimum setup

  1. Instrument one RAG chain and record a trace.
  2. Attach a faithfulness feedback function.
  3. Find the lowest-scoring span and inspect its retrieved context.

Dependencies and cost

Check runtime, model weights and external service dependencies in the README.

License and usage boundaries

Code is MIT; model weights, training data and generated content may have separate terms — check each before commercial use.

Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

Alternatives and neighbors

  • Langfuse — Production,Tracing, evaluation, prompt management and cost analytics for LLM applications, available self-hosted.
  • Arize Phoenix — Production,Open-source LLM tracing and evaluation on OpenTelemetry, with visual exploration and dataset management.
  • Evidently — Production,A data and model monitoring framework: drift, quality and LLM output checks with reports, tests and alerting dashboards.

Next steps

  • Open GitHub and read the README, LICENSE, latest release and issues first.
  • Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • Run a small sample first, then decide on production; never start with production data.

GitHub repository ↗ Docs ↗ Add to compare

Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.