Skip to content

Logfire

Python-focused observability SDK on OpenTelemetry, with a closed-source server

Permissive (OSI) · MIT

Listed by , founder & editor

83

Health

Thriving

Overview

Stars

4,566

Last commit

today

Nov 2026

Repository age

2 years

since Apr 2024

Latest version

v6.0.1

Nov 2026

Contributors

–

33 active in 90 days

Releases

17

last 12 months

Language

Python

Logfire is an observability platform from the team behind Pydantic. This repository holds the Python SDK, the command-line tool and the documentation. The server that stores and displays data is closed source, so the open part is the client side.

The SDK wraps OpenTelemetry and supports traces, metrics and logs. You can trace by hand with spans and log calls, or use built-in integrations such as FastAPI instrumentation. It shows Python objects, event-loop telemetry and database queries, and can report analytics on Pydantic model validation. Data is queried with standard SQL, so BI tools and database libraries can read it. OpenTelemetry also lets you send from other languages.

Install with pip, then run the CLI to authenticate and create a project. The SDK is MIT licensed. A hosted plan is how you use the platform. It can stand in for hosted observability tools when your stack is mostly Python and you accept a hosted backend.

Who it's for

Python teams building FastAPI or Pydantic-based services

Instrumentation for FastAPI and Pydantic validation is built in.

Skip if: You need a fully open source server you can run on your own hardware.

Teams building LLM apps and agents

It traces application behavior with OpenTelemetry and lets you query it in SQL.

Skip if: Data must never leave your infrastructure.

Engineers with existing OpenTelemetry instrumentation

Because it builds on OpenTelemetry, you can reuse existing instrumentation.

Skip if: You already run a self-hosted OTel backend you are happy with.

The problem it solves

Understanding what a Python application does in production usually takes several tools for logs, traces and metrics. Logfire gives you one SDK and one dashboard, and lets you query the data in SQL.

Strengths

  • SDK installs with a single pip command
  • Built on OpenTelemetry traces, metrics and logs
  • Query data with standard SQL from BI tools or libraries
  • Active development: 17 releases last year and 38 recent contributors
  • MIT-licensed SDK

Trade-offs

  • The server application is closed source
  • Self-hosting is not offered in the open code
  • Strongest fit is Python; other languages rely on OpenTelemetry
  • Using the platform means a hosted paid plan beyond free use

Self-host Logfire

Self-hostable
No (desktop or local app)
Hosted plan
From $49/month · pricing

Quick start

pip install logfire

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Logfire fully open source?

No. The Python SDK and docs are MIT licensed here, but the server that records and displays data is closed source.

How do I install it?

Run pip install logfire. That installs the SDK and the CLI. To get only the SDK, install logfire-sdk.

Does it support languages other than Python?

It is built on OpenTelemetry, so other OTel-compatible languages can send data.

How do I query my data?

With standard SQL.

Similar tools in Observability platforms

LangWatch

Observability platforms

Open source platform to trace, test and govern LLM calls and coding agents for AI teams

5.1k 433 today Thriving Apache-2.0

lmnr

Observability platforms

Self-hostable tracing, evals and debugging platform for teams building AI agents

3.5k 267 14 days ago Active Apache-2.0

OpenLIT

Observability platforms

OpenTelemetry-based observability for LLM apps and AI agents, self-hosted on ClickHouse

3.1k 496 4 days ago Thriving Apache-2.0

Replaces LangSmith

middleware

Observability platforms

2.6k lgpl-3.0

parseable

Observability platforms

2.6k 185 yesterday Thriving AGPL-3.0

future-agi

Observability platforms

2.3k 726 yesterday Thriving Apache-2.0