LibreAI / KI-Agenten / logfire
// agents · pydantic/logfire

logfire

logfire ist ein Open-Source-Projekt aus der Kategorie KI-Agenten von pydantic (pydantic/logfire auf GitHub). Es hat 4.510 Sterne auf GitHub und 309 Forks, wird unter der Lizenz MIT veröffentlicht und wurde zuletzt am 8. Oktober 2026 auf GitHub aktualisiert.

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

★ 4,5 Tsd. Sterne⑂ 309 ForksMITaktualisiert Okt 2026
▦ Visual — das README dieses Projekts enthält keinen einbettbaren Screenshot,
darum hier ein Platzhalter. Die Anleitung unten ist trotzdem vollständig.
// projektdaten

Projektdaten

GitHub-Sterne
4.510
Forks
309
Lizenz
MIT
Zuletzt auf GitHub aktualisiert
8. Oktober 2026
Kategorie
KI-Agenten
Eintragstyp
Vollständige Installationsanleitung
Offizielle Website
Official site
// so funktioniert es

So funktioniert es

  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.

// funktionen

Warum es so beliebt ist

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
// selbst ausführen

Führe es selbst aus

  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)
// anwendungsfälle

Was du damit bauen kannst

Advertisement
// häufige fragen

Häufige Fragen

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.

// weiter entdecken

Ähnliche Tools

KI-Agenten

openllmetry

OpenTelemetry-native observability for LLM apps.

★ 7,5 Tsd. SterneApache-2.0
Anleitung ansehen →
KI-Agenten

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 Tsd. SterneApache-2.0
Anleitung ansehen →
KI-Agenten

ragas

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

★ 16,0 Tsd. SterneApache-2.0
Anleitung ansehen →
KI-Agenten

magentic

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

★ 2,4 Tsd. SterneMIT
Anleitung ansehen →
KI-Agenten

nocturne_memory

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

★ 1,4 Tsd. SterneMIT
Anleitung ansehen →
KI-Agenten

griptape

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

★ 2,6 Tsd. SterneApache-2.0
Anleitung ansehen →
// alternativen

Alternativen im Bereich KI-Agenten

Die anderen Projekte der Kategorie KI-Agenten mit den meisten Sternen im LibreAI-Katalog — die realistische Auswahl, falls logfire nicht das Richtige ist.

// mehr in agents

Mehr in KI-Agenten

Verwandte Projekte der Kategorie KI-Agenten im Katalog, die logfire bei den Sternen am nächsten stehen — zum Weiterstöbern auf beiden Seiten.

Hol dir logfire

Kostenlos und offen — hol dir den Quellcode, gib dem Repository einen Stern und leg los.