Suggest a tool

TruLens

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

What TruLens is

TruLens is a Python library for tracing and evaluating LLM applications and agents. A decorator instruments application code, and each function call, LLM generation, retrieval and tool invocation becomes an OpenTelemetry span. Traces export to OTLP-compatible backends such as Jaeger, Grafana Tempo or Datadog. LLM judges score each step, with dedicated evaluators for agent behaviour such as plan adherence and tool selection. Evaluations run inline while the app executes or in batch over a stored dataset. A leaderboard compares app versions by score, latency and cost. Provider packages cover OpenAI, LiteLLM, Google Gemini, AWS Bedrock, Snowflake Cortex, Hugging Face and LangChain. App integrations exist for LangChain, LangGraph and LlamaIndex.

Written from the project's README, read .

Category
AI and LLM evaluation
License
MIT
Language
Python
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars3,5701
Forks3461
Open issues and PRs691
Contributors1141
Commits in the last 90 days1341
Last commit2026-09-221
Last releasetrulens-2.14.0, 2026-09-031
Fetched

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Status

activeLast commit within 90 days of the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed AI and LLM evaluation tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from TruLens's, with its source.

How to install

pip install trulens
From README, read .

Questions

Is TruLens open source?

Yes. TruLens is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.

Is TruLens maintained?

On 2026-09-22, the last commit to the default branch was on 2026-09-22, so the listed status is active. Rule: Last commit within 90 days of the fetch date.

How many GitHub stars does TruLens have?

3,570 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is TruLens written in?

The repository's primary language, as reported by the GitHub API, is Python.

How do I install TruLens?

The README gives this command: pip install trulens

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. README, read