TruLens

TruLens provides a set of tools for developing and monitoring neural nets, including large language models. This includes both tools for evaluation of LLMs and LLM-based applications with TruLens-Eval and deep learning explainability with TruLens-Explain. TruLens-Eval and TruLens-Explain are housed in separate packages and can be used independently.

General
AuthorTruEra
Repositoryhttps://github.com/truera/trulens
TypeLLMs Development and Explainability Tool

TruLens-Eval

TruLens-Eval contains instrumentation and evaluation tools for large language model (LLM) based applications. It supports the iterative development and monitoring of a wide range of LLM applications by wrapping your application to log key metadata across the entire chain (or off chain if your project does not use chains) on your local machine. Importantly, it also gives you the tools you need to evaluate the quality of your LLM-based applications.

Key Features:

  • Evaluation: TruLens supports the evaluation of inputs, outputs, and internals of your LLM application using any model, including LLMs. It offers various out-of-the-box feedback functions for evaluation, such as groundedness, relevance, and toxicity. The framework is easily extensible for custom evaluation requirements.

  • Tracking: TruLens contains instrumentation for any LLM application, including question answering, retrieval-augmented generation, agent-based applications, and more. This instrumentation allows for the tracking of a wide variety of usage metrics and metadata. TruLens' instrumentation can be applied to any LLM application without being tied down to a specific framework. Additionally, deep integrations with LangChain and Llama-Index allow the capture of internal metadata and text. Anything that is tracked by the instrumentation can be evaluated!

Learn more about TruLens-Eval

TruLens-Explain

TruLens-Explain is a cross-framework library for deep learning explainability. It provides a uniform abstraction layer over TensorFlow, PyTorch, and Keras, allowing for input and internal explanations.

Read more about TruLens-Explain

Getting Started

TruLens User Case Guides

TruLens Tutorials


TruLens top builders

Explore the top contributors showcasing the highest number of TruLens app submissions within our community.

TruEra TruLens AI technology Hackathon projects

Discover innovative solutions crafted with TruLens, developed by our community members during our engaging hackathons.

Fresno LUX: A Living City

Fresno LUX: A Living City

Fresno LUX is a prototype for a living intelligence layer across an entire city. Fresno already contains enormous amounts of intelligence: residents know where problems exist, nonprofits know where help is needed, businesses know where opportunities exist, educators understand gaps in learning, researchers generate knowledge, and government maintains critical infrastructure and data. The problem is that much of this intelligence is fragmented across disconnected systems. Fresno LUX connects those pieces. The platform creates a shared city graph where people, organizations, resources, needs, projects, observations, experiments, and outcomes become connected nodes. Instead of simply collecting data, LUX continuously asks: What is happening? What do we know? What is missing? What can we test? What changed? A community problem can become an observable signal. That signal can become an experiment. The experiment produces evidence. Evidence changes the system's understanding. That updated understanding informs the next action. Observe → Connect → Understand → Act → Measure → Learn → Converge. The goal is to move Fresno from disconnected information toward collective intelligence—a system where knowledge can travel across boundaries and successful solutions can be discovered, tested, measured, and replicated. LUX is designed to make the invisible connections visible: the relationship between a neighborhood and its resources, between a student and educational opportunity, between a business and workforce capacity, between environmental conditions and community health, and between an idea and measurable real-world impact. This hackathon prototype demonstrates the beginning of a Living Fresno Graph: a city that can observe itself, learn from evidence, and coordinate toward better outcomes.

NetConnect

NetConnect

Public Sector Network Connectivity Analyzer The Public Sector Network Connectivity Analyzer is a comprehensive solution designed to address the critical need for reliable network monitoring across public institutions. Our application serves as an essential tool for IT administrators managing connectivity infrastructure for schools, healthcare facilities, government offices, libraries, and other public service organizations. Core Capabilities Real-Time Network Visualization Interactive diagrams and topology maps provide clear visibility into how public institutions are connected, displaying network elements, connection points, and infrastructure components with intuitive visualization tools. Performance Monitoring System Our platform continuously tracks vital network metrics including uptime percentages, latency measurements, bandwidth utilization, and connection status across the entire public sector network, enabling proactive management. Advanced Simulation Engine IT professionals can run comprehensive simulations to test network resilience under various scenarios such as increased user loads, infrastructure failures, or cyber incidents, helping identify vulnerabilities before they impact critical services. Institution Management Portal Administrators can efficiently manage information about connected institutions, monitor their connection status in real-time, and access detailed performance metrics through a unified dashboard interface. Geographic Mapping Integration Our system incorporates geographic visualization capabilities to display the physical distribution of institutions and network infrastructure across regions, facilitating better resource allocation and planning. Technical Implementation This solution addresses the unique challenges faced by public sector organizations that require reliable connectivity for delivering essential services to communities, while providing the tools needed to ensure network resilience, performance, and security.