# Logfire — card for AI agents

Pydantic's observability platform for Python with logging, tracing and analytics.

Category: Logging, monitoring and analytics · PyPI package `logfire` · latest version 5.4.0 (checked 2026-11-01)
Install: `pip install logfire`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 56.5 (#1309 of all tools, 40 of 121 in its category)
- Used in 11 public projects set up for AI coding agents (0.2%)
- Downloads last week: 4,279,845 (as of 2026-11-24), +12.8% over 4 weeks
- GitHub stars: 4,566 (as of 2026-11-24)
- Last push: 2026-11-24

## Often used with
python-dotenv 85.7%, Pydantic 77.9%, Pydantic AI 77.9%, OpenAI Python Library 75.3%, Rich 68.8%, Requests 67.5%

## Checked alternatives (same job)
- OpenTelemetry SDK: https://agentgid.com/tools/opentelemetry-sdk/agent.md
- Sentry SDK: https://agentgid.com/tools/sentry-sdk/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/logfire/
- Homepage: https://pydantic.dev/logfire
- Repository: https://github.com/pydantic/logfire

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
