callAgentFunctionTwo-way function calls
The UI can call functions on the agent and get a response back, and the agent can call functions in the UI for rendering.
A2UI 1.0 is released
Watch an agent build a real interface. A2UI describes it, AG-UI carries it, and CopilotKit renders it, then sends what the user does back to the agent.
Message 1 of 4: createSurface, agent → renderer
Booked: 09:40 nonstop to SFO
Similar names, different jobs
A declarative spec from Google. Agents describe an interface using components from a catalog your app trusts, safe to render on web, mobile and desktop.
The Agent-User Interaction protocol. A two-way, event-based connection between any agent backend and your app. It carries messages, state, tools and generative UI, including A2UI.
See it in action
A tour of the A2UI Playground. Ask a question, and the answer comes back as the right interface: a picture grid, a report, a live calculator, a chart, or data you can download, all built from A2UI 1.0.
What's new in A2UI 1.0
callAgentFunctionThe UI can call functions on the agent and get a response back, and the agent can call functions in the UI for rendering.
AG-UI bindingThe 1.0 spec names AG-UI as a standard transport, alongside A2A and MCP.
instructionsA catalog carries its own prompt guidance, and controls which functions the agent or the UI may call.
@path · @callBindings are marked with @, so they're never confused with data.
allowedChildrenCatalogs can say which components nest inside which, and renderers reject anything else.
live · hiddenComponents can announce live updates to screen readers, and hide decorative pieces.
How they work together
Emits A2UI 1.0 messages
Streams it to the app as events
In your React app, from your catalog
Clicks, forms, choices
Actions and function calls flow back to the agent over AG-UI. New in 1.0: the UI can call functions on the agent.
Generative UI specs
Pre-built components you wire up
The agent describes it, your catalog renders it
Sandboxed, free-form surfaces
Other specs, such as MCP-UI and Open-JSON-UI, travel over AG-UI too.
More on generative UIBrowse agent-generated A2UI components in the gallery, then open any of them in the Composer.
Open the ComposerA2UI is one of three approaches taught in Atai Barkai's hands-on short course on DeepLearning.AI — alongside controlled components and MCP Apps.
Explore the A2UI spec and start building agentic applications with CopilotKit and AG-UI.