langtrace  by Scale3-Labs

Observability tool for LLM applications

created 1 year ago
993 stars

Top 38.1% on sourcepulse

GitHubView on GitHub
Project Summary

Langtrace provides end-to-end observability for LLM applications, enabling developers to trace, debug, and analyze their AI workflows. It supports real-time monitoring, performance insights, and detailed analytics, integrating with popular LLM providers, vector databases, and frameworks.

How It Works

Langtrace is built on OpenTelemetry (OTEL) standards, ensuring comprehensive and interoperable tracing. It captures data from LLM API calls, vector database operations, and framework interactions, providing a unified view of application performance. The system uses Next.js for its frontend and APIs, with PostgreSQL for metadata and ClickHouse for storing trace data, offering both a managed SaaS and a self-hostable option.

Quick Start & Requirements

  • TypeScript/JavaScript: npm i @langtrase/typescript-sdk
  • Python: pip install langtrace-python-sdk
  • Initialization requires an API key for the SaaS version or can use an environment variable.
  • Self-hosting requires Docker and Docker Compose.
  • Official documentation: https://langtrace.ai/

Highlighted Details

  • OpenTelemetry compliant tracing.
  • Real-time monitoring of LLM API calls and vector operations.
  • Supports numerous LLM providers (OpenAI, Anthropic, Cohere, Gemini, etc.) and vector databases (Pinecone, ChromaDB, Qdrant, etc.).
  • Python SDK has broader framework support (Langchain, LlamaIndex, CrewAI, etc.) than the TypeScript SDK.

Maintenance & Community

  • Active development status.
  • Community engagement via Slack (link not provided in README, but implied by "join our Slack workspace").
  • Feature requests and issues can be raised on GitHub.

Licensing & Compatibility

  • The Langtrace application (repository) is licensed under AGPL-3.0.
  • Langtrace SDKs are licensed under Apache 2.0.
  • AGPL-3.0 has copyleft provisions that may affect commercial use or linking with closed-source applications.

Limitations & Caveats

The TypeScript SDK has limited support for LLM frameworks compared to the Python SDK. The AGPL-3.0 license for the core application may impose significant restrictions on commercial use and integration into proprietary systems.

Health Check
Last commit

3 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
3
Star History
84 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.