agentleFS
PydanticKnown publisherpydantic/pydantic-ai/docs/realtime/AGENTS.md

pydantic-ai / realtime

AGENTS.md20k starsChanged 2 months agoMITView on GitHub

All of docs/AGENTS.md applies. Realtime-specific rules, distilled from maintainer review; the source-tree counterpart is pydantic_ai/realtime/AGENTS.md. Each page owns its concept; a rule is stated once on its owning page and linked from everywhere else: overview.md (front door, provider matrix, limitations table — every limitation row links a tracking issue), audio.md (media I/O: audio, images, transcripts), events.md (event vocabulary and its overlap with standard run events; the turn-boundary rule lives here), turns.md, tools.md (tools only), capabilities.md (per-hook support story), history.md, deployment.md…

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 2 mentionsMar 2026: 2 mentionsApr 2026: 29 mentionsMay 2026: 2 mentionsJun 2026: 2 mentionsJul 2026: 3 mentionsAug 2026: 1 mentionSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the pydantic/pydantic-ai repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about pydantic/pydantic-ai

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

See all 64

Talked about on GitHub, Bluesky, Hacker News and the web (64 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 7

2 more on Bluesky

On Hacker News · 5

On the web · 2

The file

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

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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:

    All of docs/AGENTS.md applies.

    line 3

≈ “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

docs/realtime/ Guidelines

All of docs/AGENTS.md applies. Realtime-specific rules, distilled from maintainer review; the source-tree counterpart is pydantic_ai/realtime/AGENTS.md.

Page charters

Each page owns its concept; a rule is stated once on its owning page and linked from everywhere else: overview.md (front door, provider matrix, limitations table — every limitation row links a tracking issue), audio.md (media I/O: audio, images, transcripts), events.md (event vocabulary and its overlap with standard run events; the turn-boundary rule lives here), turns.md, tools.md (tools only), capabilities.md (per-hook support story), history.md, deployment.md (frontend transports), lifecycle.md (connection lifecycle only), observability.md, troubleshooting.md (the symptom-first index — per-page "Edge cases" must not duplicate it), and the five provider pages (canonical for installs, model names, settings, quirks).

House rules for these pages

  • Cross-link relentlessly to the non-realtime docs (tools, message history, capabilities, model settings, profiles, multimodal input, Logfire, deferred tools); where behavior matches a standard run, say so and link instead of re-explaining. The word "gateway" links gateway.md on first use per page. The embeddings docs are the register/pattern reference.
  • Examples use the string model form (agent.realtime('openai:gpt-realtime'), 'gateway/openai:gpt-realtime'); import a model class only when demonstrating model-level configuration. Tools are async def. Install blocks use the pip/uv-add macro with the per-provider extras (openai-realtime, google-realtime, xai-realtime). Complete examples get the standard runnable banner; rely on async with exit to close the session rather than an explicit close() unless the example is about close().
  • Docs examples execute in tests/test_examples.py against a scripted connection: the default script speaks one assistant turn ('Hello from the realtime assistant.'); an agent defining a check_availability tool triggers the quickstart's scripted reservation conversation — never use that tool name elsewhere.
  • Browser WebRTC ships in Pydantic AI: docs/realtime/deployment.md#browser-webrtc-server-sideband is the canonical owner of the topology, and don't present third-party media platforms as the WebRTC story. Azure Voice Live ships too: docs/realtime/azure.md owns its routing and settings.

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.