CopilotKit v1.50 is coming soon!

Back
By Ashpreet Bedi
June 18, 2025

We’re excited to announce the official CopilotKit integration with Agno via AG-UI — the open protocol for Agent-User Interactions. With this integration, you can now expose your Agno agents as AG-UI compatible apps.

AG-UI, or Agent-User Interaction Protocol, is a protocol standardizing how AI agents connect to front-end applications. With this new Agno integration, you will be able to easily connect any AG-UI frontend to your Agno Agents and Teams.

Example usage
1. Start by installing the backend dependencies
pip install agno ag-ui-protocol
2. Run the backend

Now let’s run a AGUIApp exposing an Agno Agent. This will be our backend.

from agno.agent.agent import Agent
from agno.app.agui.app import AGUIApp
from agno.models.openai import OpenAIChat
chat_agent = Agent(
name="Assistant",
model=OpenAIChat(id="gpt-4o"),
instructions="You are a helpful AI assistant.",
add_datetime_to_instructions=True,
markdown=True,
)
agui_app = AGUIApp(
agent=chat_agent,
name="Basic AG-UI Agent",
app_id="basic_agui_agent",
description="A basic agent that demonstrates AG-UI protocol integration.",
)
app = agui_app.get_app()
if name == "main":
agui_app.serve(app="basic:app", port=8000, reload=True)
3. Run the frontend

Now we want to interact with our backend using an AG-UI compatible frontend.

You can use Dojo, an advanced and customizable option to use as frontend for AG-UI agents:

  1. Clone the project: git clone <https://github.com/ag-ui-protocol/ag-ui.git>
  2. Follow the instructions here to learn how to install the needed dependencies and run the project.
  3. Remember to install the dependencies in /ag-ui/typescript-sdk with pnpm install, and to build the Agno package in /integrations/agno with pnpm run build.
  4. You can now run your Dojo! It will show our Agno agent as one of the available options.

4. Chat with your Agno Agents!

Done! If you are running Dojo as your front-end, you can now go to http://localhost:3000 in your browser and chat with your Agno Agent.

You can read more about the integration in our docs, and see some more examples here.

Want to learn more?

Top posts

See All
AG-UI and A2UI Explained: How the Emerging Agentic Stack Fits Together
Nathan Tarbert November 19, 2025
AG-UI and A2UI Explained: How the Emerging Agentic Stack Fits TogetherThe agentic ecosystem is evolving fast — and with new standards appearing almost weekly, it’s easy to get lost in the terminology. Two names that often get mixed up are AG-UI and A2UI. They sound similar, but they actually serve very different purposes. Even better: they complement each other beautifully.CopilotKit has been working closely with Google on A2UI, and we’ll be shipping full support when the A2UI spec launches. But before that happens, let’s break down how these pieces fit into the broader agentic landscape.
Build a Frontend for your Microsoft Agent Framework Agents with AG-UI
Bonnie and Nathan TarbertNovember 11, 2025
Build a Frontend for your Microsoft Agent Framework Agents with AG-UIIn this guide, you will learn how to build a frontend for your Microsoft Agent Framework Agents using AG-UI Protocol and CopilotKit. Microsoft Agent Framework will power the AI agents backend, while CopilotKit powers the frontend, and then AG-UI creates a bridge that enables the frontend to communicate with the backend.
Microsoft Agent Framework is now AG-UI Compatible!
Uli Barkai and Nathan TarbertNovember 11, 2025
Microsoft Agent Framework is now AG-UI Compatible!We’re excited to announce that Microsoft’s Agent Framework is now fully compatible with the AG-UI protocol - the open standard powering frontend-agent communication across the ecosystem. This integration means you can now connect Microsoft’s powerful reasoning and orchestration layer directly to rich, real-time user interfaces - without custom socket code, polling loops, or one-off APIs.
Are you ready?

Stay in the know

Subscribe to our blog and get updates on CopilotKit in your inbox.