A2UI Launched: Full CopilotKit support at launch!

A2UI Launched: CopilotKit has partnered with Google to deliver full support in both CopilotKit and AG-UI!

Check it out
LogoLogo
  • Overview
  • Integrations
  • API Reference
  • Copilot Cloud
Slanted end borderSlanted end border
Slanted start borderSlanted start border
Select integration...

Please select an integration to view the sidebar content.

Shared State

CoAgents maintain a shared state across your UI and agent execution.

CoAgents maintain a shared state that seamlessly connects your UI with the agent's execution. This shared state system allows you to:

  • Display the agent's current progress and intermediate results
  • Update the agent's state through UI interactions
  • React to state changes in real-time across your application

The foundation of this system is built on Pydantic AI's stateful architecture. Pydantic AI Agents maintain their internal state throughout execution, which you can access via the useCoAgentState hook.

PREV
Pydantic AI
Slanted end borderSlanted end border
Slanted start borderSlanted start border
NEXT
Markdown rendering