Introducing the Agno Integration with AG-UI & CopilotKit

By Ashpreet Bedi
June 18, 2025
Introducing the Agno Integration with AG-UI & CopilotKit

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 an 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 a 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
Bring ChatGPT's Intelligent UI to your app with A2UI 1.0 and CopilotKit
Anmol Baranwal November 12, 2026
Bring ChatGPT's Intelligent UI to your app with A2UI 1.0 and CopilotKitYou can now bring ChatGPT’s Intelligent UI to your own app. CopilotKit’s new Generative UI is built on Google’s A2UI 1.0, so your agent can answer with charts, calculators and interactive tools built from your own components and design system. It works with any agent framework, renders in the chat or anywhere on your page, fixes itself when the model slips and takes just two lines of code to set up. Here’s how it works, why A2UI 1.0 makes it possible and how to try it live in the A2UI Playground.
Introducing A2UI 1.0: What’s New in Google’s Framework-Agnostic Generative UI Protocol
Anmol Baranwal and Eli BermanNovember 11, 2026
Introducing A2UI 1.0: What’s New in Google’s Framework-Agnostic Generative UI ProtocolGoogle just launched A2UI 1.0, the first stable version of its framework-agnostic open standard for generative UI. It brings function calls in both directions between the UI and the agent, multiple catalogs on one screen and catalogs that carry your design rules. Here’s everything that’s new, how to migrate from v0.9 and how A2UI 1.0 works with any agent framework via AG-UI. CopilotKit is the fastest way to adopt A2UI 1.0, with a ready-made catalog of 70 components in just two lines of code.
Introducing OpenBot 1.0: An Agent Workspace You Can Make Your Own
Sam Julien and Anmol BaranwalNovember 10, 2026
Introducing OpenBot 1.0: An Agent Workspace You Can Make Your OwnToday we’re releasing OpenBot 1.0, the modular, self-hostable agent workspace with built-in governance. Create a Bot or bring your own agent, pick any model, and connect it to your tools, while you decide what it can do on its own. Run it free on Mac or Windows, or deploy OpenBot for Business on your own infrastructure with SSO and a full audit trail.
Are you ready?

Stay in the know

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