Ad space · Your tool here
PluginStack
Agent Frameworks · by AG-UI open-source project

AG-UI (Agent-User Interaction Protocol)

AG-UI (Agent-User Interaction Protocol) official site ↗

Last checked against the official docs:

What it does

An open, event-based protocol for connecting AI agents to the apps people use. Instead of custom wiring for every framework, the agent streams typed events (text as it is written, tool calls, shared state updates, pauses for a human) over one stream, and any AG-UI client can show them. It sits next to MCP (which gives agents tools) and A2A (agent to agent): AG-UI is the agent-to-user part. Version 1.0 has a stable specification, with TypeScript, Python and .NET SDKs, and integrations for frameworks such as LangChain, CrewAI, Mastra, Pydantic AI, Google ADK and the Claude Agent SDK. CopilotKit is one of the frontend clients. MIT licensed.

Who it's for

Developers building their own AI agent who want to put it in a web app, mobile app or chat tool without writing a custom streaming layer for each one.

How to set it up

  1. Start a new app: the CLI scaffolds a frontend (CopilotKit on Next.js, or a terminal client) wired to the agent framework you choose. The generated templates call OpenAI, so set OPENAI_API_KEY before running npm run dev:

    bash
    npx create-ag-ui-app@latest
  2. Or speak the protocol directly. The agent side is any HTTP endpoint that accepts a run request and streams events back. Python SDK (Python 3.9 or later):

    bash
    pip install ag-ui-protocol
  3. TypeScript client (Node.js 20 or later):

    bash
    npm install @ag-ui/client
  4. The README has a short working server and client example, and the Dojo (dojo.ag-ui.com) has live demos for each supported framework.

Check the official AG-UI (Agent-User Interaction Protocol) docs for the latest steps.

Example prompts

prompt
Add an AG-UI endpoint to my FastAPI agent so it streams text and tool calls to the frontend.
prompt
Connect this Next.js app to my LangGraph agent through AG-UI and show tool calls as they happen.
prompt
Explain which AG-UI events I need to support a human approval step before the agent sends an email.

Made AG-UI (Agent-User Interaction Protocol)? Add the badge

If you like, show that AG-UI (Agent-User Interaction Protocol) is listed and hand-checked here. It's optional: listings are free and we never ask for a link back.

Hand-checked on PluginStack
Get the Markdown or HTML

Markdown (for a GitHub README)

markdown
[![Hand-checked on PluginStack](https://www.pluginstackai.com/badge/hand-checked.svg)](https://www.pluginstackai.com/plugins/ag-ui/)

HTML (for a website)

html
<a href="https://www.pluginstackai.com/plugins/ag-ui/"><img src="https://www.pluginstackai.com/badge/hand-checked.svg" alt="Hand-checked on PluginStack" width="226" height="28"></a>

About the badge

Free: MCP Starter Checklist

After you set this tool up, use the one-page checklist so your next MCP server doesn't fail on first connect.

Markdown download + occasional PluginStack updates. No spam. Privacy policy.

See all Agent Frameworks on PluginStack