Capturas de pantalla del proyecto
Resumen
TruLens helps developers identify where AI agents fail and where costs can be reduced without sacrificing quality. By utilizing OpenTelemetry-native tracing, it captures structured spans for function calls, LLM generations, retrievals, and tool invocations. This allows traces to be exported to any OTLP-compatible backend. The library provides purpose-built evaluators for agentic systems and supports both inline and batch evaluation modes, allowing teams to evaluate applications as they run or over pre-collected datasets.
Características principales
- OpenTelemetry-based tracing for portability to existing observability backends
- Seven purpose-built agentic evaluators (LogicalConsistency, ExecutionEfficiency, PlanAdherence, PlanQuality, ToolSelection, ToolCalling, ToolQuality)
- Inline and batch evaluation modes via the Run API
- Model Context Protocol (MCP) support for instrumenting tool calls
- Selector API for targeting specific span attributes during evaluation
- Leaderboard for comparing app versions by scores, latency, and cost
Requisitos, instalación y guía rápida
Uso
Compatibilidad de modelos y casos de uso
Supports LLM providers via dedicated packages: OpenAI/Azure OpenAI, LiteLLM (Anthropic, Cohere, Mistral, etc.), Google Gemini, AWS Bedrock, Snowflake Cortex, HuggingFace, and LangChain models.
Notas sobre la licencia y los riesgos
MIT License.
Editorial verification 2026-08-09: repository URL, owner, description, license and repository statistics were reviewed. License metadata: MIT. README was fetched for the channel draft; re-check repository dependencies, releases and model terms before production use.
Lanzamiento y mantenimiento
Not stated in the repository metadata