agentleFS
PydanticKnown publisherpydantic/logfire/docs/guides/web-ui/agents.md

logfire / web-ui

AGENTS.md4.5k starsChanged 3 months agoMITView on GitHub

See every AI agent in your project, drill into individual runs end-to-end (input, tools, final output, cost, and errors), and group runs into conversations.

Trending

Quiet since March.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the pydantic/logfire repository that our weekly crawl found: only 14 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about pydantic/logfire

The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 14

Talked about on GitHub, Hacker News and Bluesky (14 times).

On GitHub · 11

6 more on GitHub

The file

We split this agents.md into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If you don't see an agent you expect, widen the time range: the list only reflects agent activity in the current window.

    line 20
  2. Distinctive:

    Metrics: run volume, error rate, latency, cost, and token usage for the agent over time.

    line 45
  3. Distinctive:

    Runs: every individual run of the agent (see below).

    line 46
  4. Distinctive:

    Search the message text, or open Filters to narrow by model, cost, duration, token counts, or annotation state.

    line 57
  5. Distinctive:

    If a run failed, a banner at the top of the Summary tab surfaces the exception type, message, and traceback, so you can see why it failed …

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
agents.md

Agents

The Agents view is the entry point for finding and inspecting the AI agents running in your application. Logfire discovers an agent automatically from your traces: any span that follows the OpenTelemetry semantic conventions for generative AI (GenAI) agents, specifically an invoke_agent operation (gen_ai.operation.name = 'invoke_agent'), becomes an agent run. Pydantic AI emits these spans natively, and any other SDK that follows the conventions appears here too. Logfire also detects agents instrumented with OpenInference, which covers many popular frameworks; see Supported frameworks.

{{ video("02eb69ba8023a4f13c5ee3fbaf11ec48", 95, 56) }}

You'll find Agents in the project sidebar. The time picker is shared with the rest of the observability surfaces.

The Agents list

Each agent detected in the selected time window appears as one row, with its run count, cost, token usage, and when it was last active. Click a row to open that agent's detail page.

Image: The Agents list, one card per detected agent

If you don't see an agent you expect, widen the time range: the list only reflects agent activity in the current window.

Supported frameworks

Logfire detects agent runs from several telemetry conventions:

  • OpenTelemetry GenAI (gen_ai.operation.name = 'invoke_agent'): Pydantic AI emits these natively, as does any SDK that follows the GenAI agent conventions.
  • OpenInference (openinference.span.kind = 'AGENT'): frameworks instrumented with OpenInference, including LangGraph, CrewAI, smolagents, Agno, and the OpenAI Agents SDK for Python.
  • OpenLLMetry (traceloop.span.kind = 'agent'): agents wrapped with Traceloop's @agent decorator.
  • Framework-specific attributes: Logfire recognizes the root spans emitted by Genkit and VoltAgent.

Detection only determines whether a run appears in this curated Agents view. It does not determine whether Logfire supports or can ingest the framework's OpenTelemetry: that data remains available in Live and Explore. Model, token, cost, tool, and message fields depend on the attributes and trace relationships emitted by the framework. See agent framework coverage in Logfire for the current experience with each integration.

!!! note "Cost for OpenInference-detected agents" The current reader does not populate aggregate agent cost from OpenInference model spans, so these agents show no cost in the Agents list and the Metrics tab. An individual run's Summary can still estimate cost from a recognized model and token counts.

!!! note "OpenInference prompts and tools" The Info tab can show a system prompt reconstructed from OpenInference input messages. The Tools tab can show definitions when the instrumentor records llm.tools.*.tool.json_schema. The full Messages tab does not yet read OpenInference message attributes.

See the integration guide for your framework to set up the instrumentation that produces these spans.

Agent detail

The detail page has three tabs:

  • Metrics: run volume, error rate, latency, cost, and token usage for the agent over time.
  • Runs: every individual run of the agent (see below).
  • Info: the agent's model, tools, and other metadata.

The Runs tab

The Runs table lists one row per agent run, newest first, with:

  • Messages: a preview of the run's latest user prompt and its final output. For a run that continues a conversation, this is the current turn's question, not the conversation's opening message.
  • Conversation: a colored chip grouping runs that belong to the same conversation. Click a chip to filter the table to that conversation. Runs are grouped by gen_ai.conversation.id; Pydantic AI sets this per run and carries it forward when you pass message_history, so a multi-turn conversation stays together.
  • Model, Cost, Duration, In / Out tokens, and Time.

Search the message text, or open Filters to narrow by model, cost, duration, token counts, or annotation state. Failed runs are marked with an error icon.

Image: The Runs tab, one row per agent run

Reviewing a single run

Click a row (or its > chevron) to expand the run detail inline; the Expand button opens the same view full screen. Move between runs with the Prev / Next buttons or the [ and ] keys, and jump between tabs with S / T / M / R.

A run detail has four tabs:

  • Summary: a strip of the run's provider, model, token usage, cost, and duration; an AI-generated summary of what the run did (when AI features are enabled for your project); and the run's input and final output.
  • Tools: a combined view of the tools the agent had available and how it used them. Each tool shows its parameter schema and a count of how many times it was called, and expands to the arguments and result of every call.
  • Messages: the full conversation for the run.
  • Trace: the underlying span tree, so you can drop into the raw trace.

Image: A run's detail panel, with the Tools tab showing each tool's schema and calls

If a run failed, a banner at the top of the Summary tab surfaces the exception type, message, and traceback, so you can see why it failed without leaving the page.

Image: The exception banner on a failed run

Annotating a run

From a run's detail panel you can record a human judgment of its quality: a verdict, category, tags, and a comment. See Annotate an agent run for the full workflow. These editable run annotations remain separate from automated evaluation results. Run annotations are in Beta.

Next steps

  • Annotate an agent run: record a verdict, comment, and tags on a run.
  • Human Review: the wider picture on scoring AI outputs by hand.
  • Pydantic AI: the agent framework that emits these spans natively.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.