openlit  by openlit

AI engineering platform for LLM observability and more

Created 1 year ago
1,879 stars

Top 23.1% on SourcePulse

GitHubView on GitHub
Project Summary

OpenLIT provides an open-source platform for AI Engineering, focusing on LLM observability, GPU monitoring, and prompt management. It targets developers building generative AI applications, offering a streamlined workflow from experimentation to production with a single line of code integration. The platform aims to simplify AI development by providing comprehensive monitoring, versioning, and secure secret management.

How It Works

OpenLIT leverages OpenTelemetry-native SDKs to send traces and metrics to an OpenTelemetry Collector, which then stores the data in ClickHouse. The OpenLIT UI pulls this data from ClickHouse for visualization and analysis. This approach allows seamless integration with existing observability stacks and provides vendor-neutral, full-stack monitoring for LLMs, vector databases, and GPUs.

Quick Start & Requirements

  • Install: pip install openlit
  • Prerequisites: Docker for self-hosting the OpenLIT stack. Python 3.x.
  • Setup: Deploy the OpenLIT stack using docker compose up -d. Integrate the SDK into your application with import openlit; openlit.init(). Configure the OTLP endpoint via code or environment variables.
  • Links: Documentation, Quickstart, Python SDK, Typescript SDK

Highlighted Details

  • OpenTelemetry-native observability for LLMs, GPUs, and vector databases.
  • Features include analytics dashboards, cost tracking for custom models, exceptions monitoring, prompt management, and secure API key handling.
  • Supports 50+ LLM providers, vector databases, agent frameworks, and GPUs.
  • Includes "OpenGround" for LLM experimentation and comparison.

Maintenance & Community

  • Active community with Slack and Discord channels for support and discussion.
  • Regular updates to align with OpenTelemetry Semantic Conventions.
  • GitHub issues available for bug reporting and feature requests.
  • Follow on X: @openlit_io.

Licensing & Compatibility

  • Licensed under the Apache-2.0 license.
  • Permissive license suitable for commercial use and integration into closed-source applications.

Limitations & Caveats

The roadmap indicates features like "Auto-Evaluation Metrics Based on Usage" and "Search over Traces" are "Coming Soon," suggesting these capabilities are not yet fully implemented.

Health Check
Last Commit

3 days ago

Responsiveness

1 week

Pull Requests (30d)
19
Issues (30d)
6
Star History
74 stars in the last 30 days

Explore Similar Projects

Starred by Han Wang Han Wang(Cofounder of Mintlify), John Resig John Resig(Author of jQuery; Chief Software Architect at Khan Academy), and
6 more.

evidently by evidentlyai

0.3%
7k
Open-source framework for ML/LLM observability
Created 4 years ago
Updated 13 hours ago
Starred by Gregor Zunic Gregor Zunic(Cofounder of Browser Use), Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research), and
14 more.

openllmetry by traceloop

0.4%
6k
Open-source observability SDK for LLM applications
Created 2 years ago
Updated 13 hours ago
Starred by Luis Capelo Luis Capelo(Cofounder of Lightning AI), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
6 more.

opik by comet-ml

1.7%
14k
Open-source LLM evaluation framework for RAG, agents, and more
Created 2 years ago
Updated 12 hours ago
Feedback? Help us improve.