CopilotKit

AWS AgentCore

Add a production-ready frontend to your AWS AgentCore agents with CopilotKit.


CopilotKit + AWS AgentCore#

AWS Bedrock AgentCore gives you a secure, serverless runtime for deploying AG-UI agents at scale — handling auth, session isolation, and infrastructure. CopilotKit gives those agents a production-ready frontend.

How it works#

The two connect through CopilotKit Runtime, a lightweight server-side layer that sits between your browser and AgentCore. It's the same runtime you'd use with any CopilotKit-powered agent — AgentCore just requires it to run server-side (browsers can't call AgentCore directly due to SigV4/OAuth2 authentication).

Browser → CopilotKit Runtime → AgentCore Runtime → your agent

What you get#

  • Chat UI — prebuilt chat interface, or headless hooks to build your own
  • Shared state — bidirectional sync between agent state and your React UI
  • Generative UI — render custom components from tool calls in real time
  • Human-in-the-loop — let users review, approve, or redirect agent actions
  • AgentCore memory — conversation history persists across sessions via AgentCore's memory layer

Quickstart#

AWS CLI required

Both paths below require AWS credentials configured locally. If you haven't done this yet, follow the AWS CLI getting started guide before continuing.

What's next?#