Home icon

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.



Go to article

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

Mar 16
2026
Amazon Bedrock AgentCore Runtime now supports the AG-UI protocol
Oct 24
2024
Create a generative AI-based application builder assistant using Amazon Bedrock Agents
Sep 11
2024
Enabling complex generative AI applications with Amazon Bedrock Agents
Mar 31
2026
Build reliable AI agents with Amazon Bedrock AgentCore Evaluations

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.