In short.
Pydantic AI’s Interfaces page is a guide for Python developers choosing how users or other software interact with an AI agent, but its implementation instructions are on linked pages. Its central idea is that an agent is ordinary Python code with a separate interface, allowing the same agent to appear through several surfaces. The overview names commands, methods and protocols for eight options and describes shared approval and conversation-history features. Installation, compatibility, costs and operational behavior are not established here, and nothing was executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is limited to the complete Interfaces documentation page at [https://pydantic.dev/docs/ai/overview/interfaces/index.md]. Its documentation-index and agent-query notices are included as source text. Linked guides, protocol documentation, repositories and the documentation index are excluded. Commands, integrations, approval handling, realtime history transfer and deployment behavior were not executed or independently assessed.
The overview
Identity
Interfaces is a Pydantic AI documentation page at [https://pydantic.dev/docs/ai/overview/interfaces/index.md]. It explains the ways an agent can be called or presented, from a Python function to a voice session. The resource is an overview of interface choices, with links to more detailed documentation.
Assessment
The page is useful for choosing an integration direction before implementing it. It connects concrete needs, such as adding an agent to an existing frontend or editor, to named methods and protocols. Its practical limit is depth: it offers entry points rather than a complete application, installation procedure or deployment guide.
Users
Python developers can use the page to distinguish calling an agent in backend code from exposing it through a user interface. Frontend developers get pointers to AG-UI and Vercel AI integration, including Vercel’s useChat React hooks. Developers building editor integrations, voice experiences, communication between agents or unattended GitHub automation also have identified routes.
Beginners receive a map of the options, but the page assumes some familiarity with Python agents and does not explain how to create one.
Capabilities
The documented surfaces include direct Python calls with typed output; terminal interaction through agent.to_cli_sync() or clai; built-in browser chat through clai web or agent.to_web(); and streams to a custom frontend through AG-UI or Vercel AI protocols.
The page also describes editor access through Agent Client Protocol, communication with other agents through Agent2Agent and the separate fasta2a package, live audio sessions, and GitHub workflows triggered by issues, pull requests or schedules. These are documentation claims; their behavior was not assessed through execution.
Using it
Requirements
The examples assume an existing Python agent. The clai -a form expects an agent that can be imported using a module and attribute reference, such as mymodule:agent. The Agent2Agent route explicitly uses the separate fasta2a package.
Python versions, installation dependencies, model configuration, credentials, supported browser or editor versions, and hardware requirements are unspecified. The custom-frontend routes name their protocols without providing integration requirements in this page.
Mechanism
The design separates the Python agent from the surface through which it is used. Direct application code awaits an agent run, while other interfaces expose interaction through terminal commands, browser chat or protocols.
The page says deferred tools and approval work across interfaces, with approval prompts in the terminal and approval events for a custom frontend. It also says one deployed agent can serve browser chat and an AG-UI stream simultaneously, and a realtime session can exchange conversation history with a text run. The implementation details are outside this page.
Setup
For an existing agent, the page identifies agent.to_cli_sync() and clai -a mymodule:agent as terminal entry points, and clai web or agent.to_web() as browser-chat entry points. It does not explain how to install these commands, configure a model or start a complete application.
The linked terminal guide is [https://pydantic.dev/docs/ai/integrations/cli/] and the browser-chat guide is [https://pydantic.dev/docs/ai/guides/web/]. Their contents are outside the supplied evidence.
Example
For use inside Python code, the page gives result = await agent.run('...') as its minimal example. This illustrates where the agent call fits, but it omits the agent definition, model configuration and output schema.
For terminal access to an importable agent, it gives clai -a mymodule:agent. It also provides clai -a pydantic_ai_harness.coder:coder_agent as an example using the Harness Coder agent. Neither command was executed, and prerequisites or resulting behavior are not established here.
Assessment & evidence
Limitations
This overview does not establish installation success, version compatibility, performance, reliability or feature parity between interfaces. Its statement that features work across surfaces is not accompanied by a compatibility matrix or demonstrated runs.
The GitHub description mentions sandboxing and safe outputs without explaining their implementation. Approval behavior, voice-to-text history transfer and simultaneous frontend serving are described without configuration examples or operational evidence.
Reasoning
The page’s strongest contribution is helping developers map an intended interaction to an interface. For example, an existing React product is directed toward frontend event streams, while a Python backend can call the agent directly.
The separation between agent logic and interfaces suggests a way to reuse an agent across several experiences. That is an architectural implication of the documented design, not evidence that a particular application can switch interfaces without additional integration work.
Alternatives
Within the documented options, built-in browser chat provides a different route from integrating streams into an existing frontend. Direct Python calls suit code invoking the agent, while terminal access provides an interactive command-line surface. Editor integration and communication between agents use different named protocols.
AG-UI and Vercel AI are both named for custom frontends, but the page does not compare their compatibility or tradeoffs. It also provides no comparison with other agent frameworks, so their relative suitability is unknown.
Evidence
The evidence is the complete Interfaces page at [https://pydantic.dev/docs/ai/overview/interfaces/index.md], captured on 13 November 2026. It directly supports the interface list, example entry points and descriptions of shared features.
The detailed guides, protocol sites and linked repository were not included. No code or commands were executed, and there are no runtime results or benchmarks supporting this report.
Access & freshness
Costs
The page states no prices, free allowances or billing terms. Costs for model access, hosting, realtime sessions, GitHub runners or any other service involved in these interfaces are unknown. It provides no basis for estimating a per-run or monthly total.
Rights
The captured page contains no explicit licence or redistribution terms for its text, code examples, Pydantic AI or the named integrations. Permission to reuse or redistribute those materials cannot be established from this page.
Freshness
The documentation was captured on 13 November 2026 at 17:16:21.986 UTC. The page supplies no publication date, last-updated date or applicable package version. The capture date establishes when the text was obtained, while current command and integration compatibility remains unknown.
Actions
Choose the interaction your application needs, then consult the corresponding detailed guide before implementation. For a custom frontend, the page points to [https://pydantic.dev/docs/ai/integrations/ui/overview/]. For calls inside Python code, it points to [https://pydantic.dev/docs/ai/core-concepts/agent/#running-agents].
Before committing to an interface, establish its installation requirements, supported versions, model configuration and costs. If approval handling or shared conversation history is essential, confirm the behavior for the particular interfaces involved; this overview alone does not establish it.
