// agents · pydantic/logfire

logfire

logfire es un proyecto de agentes de IA de código abierto de pydantic (pydantic/logfire en GitHub). Tiene 4.510 estrellas en GitHub y 309 bifurcaciones, se publica bajo la licencia MIT y se actualizó por última vez en GitHub el 8 de octubre de 2026.

Pydantic Logfire: Python and AI observability on OpenTelemetry — SQL-queryable traces, metrics, and logs

★ 4,5k estrellas⑂ 309 bifurcacionesMITactualizado oct 2026
▦ visual: el README de este proyecto no incluye ninguna captura incrustable,
así que aquí va un marcador. La guía de abajo está completa de todos modos.
// datos del proyecto

Datos del proyecto

Repositorio
pydantic/logfire
Estrellas en GitHub
4.510
Bifurcaciones
309
Licencia
MIT
Última actualización en GitHub
8 de octubre de 2026
Categoría
Agentes de IA
Tipo de ficha
Guía de instalación completa
Sitio oficial
Official site
// cómo funciona

Cómo funciona

  1. Decide your backend

    Use the Logfire cloud platform (free tier available) or export OpenTelemetry data to another backend.

  2. Install and authenticate

    Install the SDK from PyPI and run the auth command if you will send data to Logfire.

  3. Configure in code

    Call logfire.configure() in your application entry point.

  4. Instrument and inspect

    Add auto-instrumentation (for example for FastAPI) and view your first trace as a structured, queryable timeline.

// características

Por qué gusta tanto

OpenTelemetry foundation

Built on OTel, so data can also flow to any OTel-compatible backend — no proprietary agent.

SQL-queryable observability

Query traces, metrics, and logs with plain SQL instead of a bespoke query language.

Python-object rich display

Data is shown as rich Python objects rather than flattened JSON strings.

One-call auto-instrumentation

Instrument frameworks such as FastAPI with calls like logfire.instrument_fastapi(app).

AI and agent observability

Purpose-built views and evals for LLM calls and agent behavior.

Pydantic validation analytics

See how your Pydantic models validate in production, from the team behind Pydantic itself.

Advertisement
// ejecútalo

Ejecútalo tú mismo

  1. Clone the repository

    Clone the project and enter its directory (most users install from PyPI instead).

    git clone https://github.com/pydantic/logfire.git
    cd logfire
  2. Install and authenticate

    Install the SDK and authenticate with the Logfire platform.

    pip install logfire
    logfire auth
  3. Configure and instrument

    Add configuration and auto-instrumentation to your app, then run it and open the Logfire UI.

    import logfire
    logfire.configure()
    logfire.instrument_fastapi(app)
// casos de uso

Qué puedes crear

Advertisement
// preguntas frecuentes

Preguntas frecuentes

Who maintains Logfire?

Pydantic — the team behind the Pydantic data-validation library and Pydantic AI.

Is Logfire free?

The Python SDK in this repo is MIT-licensed and free. The hosted platform has free and paid tiers per the README, its backend is closed source, and self-hosting the platform requires an enterprise license.

Does it need a paid API key?

No paid key is required to start: the SDK is free, the cloud has a free tier, and you can export to any OpenTelemetry backend instead.

How does it compare to LangSmith or generic APM tools?

Logfire is OpenTelemetry-native and SQL-queryable, spans general Python observability (not only LLMs), and renders data as Python objects; LangSmith focuses on LLM tracing within its own platform.

How do I get started?

Run `pip install logfire`, `logfire auth`, add `logfire.configure()` to your app, and instrument your framework.

// sigue explorando

Herramientas similares

Agentes de IA

openllmetry

OpenTelemetry-native observability for LLM apps.

★ 7,5k estrellasApache-2.0
Ver la guía →
Agentes de IA

RagaAI-Catalyst

Python SDK for Agent AI Observability, Monitoring and Evaluation Framework. Includes features like agent, llm and tools tracing, debugging multi-agentic syst…

★ 16,2k estrellasApache-2.0
Ver la guía →
Agentes de IA

ragas

Supercharge LLM app evaluations with objective metrics, synthetic test data and feedback loops.

★ 16,0k estrellasApache-2.0
Ver la guía →
Agentes de IA

magentic

Use LLMs as plain Python functions: prompts become typed, testable code.

★ 2,4k estrellasMIT
Ver la guía →
Agentes de IA

nocturne_memory

Nocturne_memory, in Python — built for a lightweight, rollbackable, and visual long-ter...

★ 1,4k estrellasMIT
Ver la guía →
Agentes de IA

griptape

Modular Python framework for AI agents and workflows with tools and memory.

★ 2,6k estrellasApache-2.0
Ver la guía →
// alternativas

Alternativas en Agentes de IA

Los demás proyectos de Agentes de IA con más estrellas del catálogo de LibreAI: la lista realista de alternativas si logfire no es lo que buscas.

// más en agents

Más en Agentes de IA

Proyectos de Agentes de IA cercanos en el catálogo, los más próximos en estrellas a logfire: sigue explorando a ambos lados.

Consigue logfire

Gratis y abierto: consigue el código fuente, dale una estrella al repositorio y empieza a crear.