LibreAI / Agents IA / logfire
// agents · pydantic/logfire

logfire

logfire est un projet de agents IA open source, créé par pydantic (pydantic/logfire sur GitHub). Il compte 4 510 étoiles sur GitHub et 309 forks, il est publié sous la licence MIT et a été mis à jour pour la dernière fois sur GitHub le 8 octobre 2026.

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

★ 4,5 k étoiles⑂ 309 forksMITmis à jour oct. 2026
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
4 510
Forks
309
Licence
MIT
Dernière mise à jour sur GitHub
8 octobre 2026
Catégorie
Agents IA
Type de fiche
Guide d'installation complet
Site officiel
Official site
// fonctionnement

Comment ça marche

  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.

// fonctionnalités

Pourquoi on l'adore

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
// lancez-le

Lancez-le vous-même

  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)
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

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.

// continuez l'exploration

Outils similaires

Agents IA

openllmetry

OpenTelemetry-native observability for LLM apps.

★ 7,5 k étoilesApache-2.0
Voir le guide →
Agents 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,2 k étoilesApache-2.0
Voir le guide →
Agents IA

ragas

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

★ 16,0 k étoilesApache-2.0
Voir le guide →
Agents IA

magentic

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

★ 2,4 k étoilesMIT
Voir le guide →
Agents IA

nocturne_memory

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

★ 1,4 k étoilesMIT
Voir le guide →
Agents IA

griptape

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

★ 2,6 k étoilesApache-2.0
Voir le guide →
// alternatives

Alternatives en Agents IA

Les autres projets de la catégorie Agents IA avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si logfire ne vous convient pas.

// plus en agents

Plus en Agents IA

Projets de la catégorie Agents IA proches dans le catalogue, les plus proches en étoiles de logfire — continuez à explorer de part et d'autre.

Obtenir logfire

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.