# Agent User Interaction Protocol ## Docs - [MCP, A2A, and AG-UI](https://docs.ag-ui.com/agentic-protocols.md): Understanding how AG-UI complements and works with MCP and A2A - [Agents](https://docs.ag-ui.com/concepts/agents.md): Learn about agents in the Agent User Interaction Protocol - [Core architecture](https://docs.ag-ui.com/concepts/architecture.md): Understand how AG-UI connects front-end applications to AI agents - [Capabilities](https://docs.ag-ui.com/concepts/capabilities.md): Dynamic capability discovery for agents in the AG-UI protocol - [Events](https://docs.ag-ui.com/concepts/events.md): Understanding events in the Agent User Interaction Protocol - [Generative UI](https://docs.ag-ui.com/concepts/generative-ui-specs.md): Understanding AG-UI's relationship with generative UI specifications - [Messages](https://docs.ag-ui.com/concepts/messages.md): Understanding message structure and communication in AG-UI - [Middleware](https://docs.ag-ui.com/concepts/middleware.md): Transform and intercept events in AG-UI agents - [Reasoning](https://docs.ag-ui.com/concepts/reasoning.md): Support for LLM reasoning visibility and continuity in AG-UI - [Serialization](https://docs.ag-ui.com/concepts/serialization.md): Serialize event streams for history restore, branching, and compaction in AG-UI - [State Management](https://docs.ag-ui.com/concepts/state.md): Understanding state synchronization between agents and frontends in AG-UI - [Tools](https://docs.ag-ui.com/concepts/tools.md): Understanding tools and how they enable human-in-the-loop AI workflows - [Contributing](https://docs.ag-ui.com/development/contributing.md): How to participate in Agent User Interaction Protocol development - [Roadmap](https://docs.ag-ui.com/development/roadmap.md): Our plans for evolving Agent User Interaction Protocol - [What's New](https://docs.ag-ui.com/development/updates.md): The latest updates and improvements to AG-UI - [Generative User Interfaces](https://docs.ag-ui.com/drafts/generative-ui.md): AI-generated interfaces without custom tool renderers - [Interrupt-Aware Run Lifecycle](https://docs.ag-ui.com/drafts/interrupts.md): Native support for human-in-the-loop pauses and interrupts - [Meta Events](https://docs.ag-ui.com/drafts/meta-events.md): Annotations and signals independent of agent runs - [Overview](https://docs.ag-ui.com/drafts/overview.md): Draft changes being considered for the AG-UI protocol - [AG-UI Overview](https://docs.ag-ui.com/introduction.md) - [Build applications](https://docs.ag-ui.com/quickstart/applications.md): Build agentic applications utilizing compatible event AG-UI event streams - [Build clients](https://docs.ag-ui.com/quickstart/clients.md): Showcase: build a conversational CLI agent from scratch using AG-UI and Mastra - [Introduction](https://docs.ag-ui.com/quickstart/introduction.md): Learn how to get started building an AG-UI integration - [Middleware](https://docs.ag-ui.com/quickstart/middleware.md): Connect to existing protocols, in process agents or custom solutions via AG-UI - [Server](https://docs.ag-ui.com/quickstart/server.md): Implement AG-UI compatible servers - [AbstractAgent](https://docs.ag-ui.com/sdk/js/client/abstract-agent.md): Base agent implementation with core event handling - [Stream Compaction](https://docs.ag-ui.com/sdk/js/client/compaction.md): compactEvents utility for reducing verbose streaming sequences - [HttpAgent](https://docs.ag-ui.com/sdk/js/client/http-agent.md): HTTP-based agent for connecting to remote AI agents - [Middleware](https://docs.ag-ui.com/sdk/js/client/middleware.md): Event stream transformation and filtering for AG-UI agents - [Overview](https://docs.ag-ui.com/sdk/js/client/overview.md): Client package overview - [AgentSubscriber](https://docs.ag-ui.com/sdk/js/client/subscriber.md): Event-driven subscriber system for agent lifecycle and event handling - [Events](https://docs.ag-ui.com/sdk/js/core/events.md): Documentation for the events used in the Agent User Interaction Protocol SDK - [Multimodal Inputs](https://docs.ag-ui.com/sdk/js/core/multimodal-inputs.md): Use modality-specific user input parts with typed data/url sources in @ag-ui/core - [Overview](https://docs.ag-ui.com/sdk/js/core/overview.md): Core concepts in the Agent User Interaction Protocol SDK - [Types](https://docs.ag-ui.com/sdk/js/core/types.md): Documentation for the core types used in the Agent User Interaction Protocol SDK - [@ag-ui/encoder](https://docs.ag-ui.com/sdk/js/encoder.md) - [@ag-ui/proto](https://docs.ag-ui.com/sdk/js/proto.md) - [Events](https://docs.ag-ui.com/sdk/python/core/events.md): Documentation for the events used in the Agent User Interaction Protocol Python SDK - [Multimodal Inputs](https://docs.ag-ui.com/sdk/python/core/multimodal-inputs.md): Use modality-specific user input parts with typed data/url sources in ag_ui.core - [Overview](https://docs.ag-ui.com/sdk/python/core/overview.md): Core concepts in the Agent User Interaction Protocol SDK - [Types](https://docs.ag-ui.com/sdk/python/core/types.md): Documentation for the core types used in the Agent User Interaction Protocol Python SDK - [Overview](https://docs.ag-ui.com/sdk/python/encoder/overview.md): Documentation for encoding Agent User Interaction Protocol events - [Enterprise](https://docs.ag-ui.com/talk-to-us.md): Production support for teams deploying AG-UI - [Developing with Cursor](https://docs.ag-ui.com/tutorials/cursor.md): Use Cursor to build AG-UI implementations faster - [Debugging](https://docs.ag-ui.com/tutorials/debugging.md): A comprehensive guide to debugging Agent User Interaction Protocol (AG-UI) integrations ## OpenAPI Specs - [openapi](https://docs.ag-ui.com/api-reference/openapi.json) ## Optional - [TypeScript SDK](https://docs.ag-ui.com/sdk/js/core/overview) - [Python SDK](https://docs.ag-ui.com/sdk/python/core/overview)