Build generative UI for AI agents on Amazon Bedrock AgentCore with the AG-UI protocol
Machine Learning Blog
This article demonstrates how to build interactive AI agent frontends on Amazon Bedrock AgentCore using the AG-UI protocol, enabling generative UI, shared state, and human-in-the-loop interactions.
- AG-UI is an open protocol that standardizes communication between agent backends and frontends, supporting multiple frameworks like Strands Agents, LangGraph, and CrewAI
- FAST (Fullstack AgentCore Solution Template) provides two new AG-UI patterns that allow a single frontend parser to work with both Strands and LangGraph backends
- AgentCore Runtime acts as a transparent proxy, handling authentication, session isolation, scaling, and observability for deployed agent containers
- CopilotKit extends AG-UI with generative UI capabilities, allowing agents to render custom React components inline in conversations
- Shared state synchronization enables bidirectional updates between agent and UI, such as a todo canvas that updates in real time
- Human-in-the-loop interactions allow agents to pause execution and wait for user input through UI components like time pickers
- Both FAST and CopilotKit samples deploy on AgentCore with managed authentication via Amazon Cognito and persistent conversations through AgentCore Memory
AG-UI enables decoupled, framework-agnostic agent frontends with rich interactive capabilities, simplifying development of sophisticated agentic applications on AWS.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
2026
2024
2024
2026
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.