logfire

AI observability platform for production LLM and agent systems.

What is logfire?

AI observability platform for production LLM and agent systems.

Overview of logfire

What it is

Pydantic Logfire is an observability platform for production LLM and agent systems, built by the team behind Pydantic Validation. It is an opinionated wrapper around OpenTelemetry, providing full support for traces, metrics, and logs. The repository contains the Python SDK and documentation; the server application for recording and displaying data is closed source.

Key features

  • Simple and powerful dashboard that the entire engineering team can use.
  • Python-centric insights including rich display of Python objects, event-loop telemetry, and profiling of Python code and database queries.
  • Query data using standard SQL, compatible with existing BI tools and database querying libraries.
  • Built on OpenTelemetry, allowing leverage of existing tooling and instrumentation for many Python packages, with support for virtually any language.
  • Integration with Pydantic Validation models for understanding data flow and built-in analytics on validations.

Use cases

  • Monitoring production LLM applications and agent systems.
  • Evaluating and observing AI models in production.
  • General observability for Python applications, including tracing, metrics, and logging.
  • Profiling Python code and database queries.

Getting started

Install the Logfire Python SDK and CLI:bashpip install logfireTo install only the SDK:bashpip install logfire-sdkConnect your project:bashuvx logfire-cli authuvx logfire-cli initRun these commands from your application's directory. Authentication signs you in; init selects or creates a project and saves its write token locally. See the repository README for more details, including manual tracing and integration examples.

License and pricing

The Logfire Python SDK is licensed under the MIT open-source license. The Logfire platform (UI and backend) is closed source; self-hosting requires purchasing an enterprise license.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/pydanticlogfire.svg)](https://yunodb.com/tools/pydanticlogfire?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/pydanticlogfire?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/pydanticlogfire.svg" alt="Featured on YunoDB" height="20"></a>