langfuse-python  by langfuse

Instrument LLM applications for observability

Created 2 years ago
262 stars

Top 97.3% on SourcePulse

GitHubView on GitHub
Project Summary

Langfuse Python SDK provides instrumentation for LLM applications, enabling detailed tracing and observability. It is designed for developers working with any LLM or framework, offering a way to monitor and debug their applications effectively.

How It Works

The SDK allows developers to instrument their LLM applications using decorators or a low-level SDK. This approach captures detailed traces of LLM interactions, providing insights into performance, cost, and potential issues.

Quick Start & Requirements

  • Install: pip install langfuse
  • Requirements: Refer to the v3 migration guide for updating from previous versions. Detailed information is available in the official documentation.

Highlighted Details

  • Enables detailed tracing and observability for LLM applications.
  • Works with any LLM or framework.
  • Offers instrumentation via decorators or a low-level SDK.

Maintenance & Community

  • The SDK was rewritten in v3, released in June 2025. Refer to the v3 migration guide for updating.

Licensing & Compatibility

  • Not specified in the provided text.

Limitations & Caveats

  • Users need to refer to the v3 migration guide for updates from previous versions.
Health Check
Last Commit

20 hours ago

Responsiveness

Inactive

Pull Requests (30d)
59
Issues (30d)
1
Star History
21 stars in the last 30 days

Explore Similar Projects

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 16 hours ago
Feedback? Help us improve.