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.

Quickstart

Turn your A2A Agents into an agent-native application in 10 minutes.

Prerequisites

Before you begin, you'll need the following:

  • A Google Gemini API key
  • Node.js 20+
  • Python 3.9+
  • Your favorite package manager

Getting started

Clone the A2A starter template

git clone https://github.com/copilotkit/with-a2a-a2ui.git

Install dependencies

pnpm install

Configure your environment

Create a .env file in your agent directory and add your Google API key:

agent/.env
GOOGLE_API_KEY=your_google_api_key

What about other models?

The starter template is configured to use Google's Gemini by default, but you can modify it to use any language model supported by ADK.

Start the development server

npm run dev
pnpm dev
yarn dev
bun dev

This will start both the UI and agent servers concurrently.

🎉 Start chatting!

Your AI agent is now ready to use! Navigate to localhost:3000 and start prompting it:

Show me chinese restaurants in NYC

What's next?

Now that you have your basic agent setup, explore these advanced features:

Add some generative UI

Render declarative UI components with A2UI.

PREV
Overview
Slanted end borderSlanted end border
Slanted start borderSlanted start border
NEXT
Declarative (A2UI)