CopilotKit v1.50 is coming soon, with brand new interfaces, streamlined internals, and no breaking changes!
Building with the Microsoft Agent Framework + CopilotKit
Microsoft’s Agent Framework (MAF) is an open source agent framework that has just come on the scene, and offers exceptional ways to build agents and multi-step workflows in .NET or Python. AG-UI is a frontend/runtime layer that lets those agents show up in your app with a clean UI, streaming responses, and shared state, etc.
The integration between the two is simple but powerful: MAF handles the reasoning and tool-use, and AG-UI bridges the interactions between the agent and the users.
Microsoft Agent Framework (MAF) and AG-UI together offer a clean separation:

Once an agent speaks AG-UI, it becomes immediately compatible with any AG-UI-aware frontend, including Microsoft’s own Blazor client and CopilotKit.
This combination is what turns MAF agents from “backend processes” into interactive, stateful, user-facing agents.
MAF provides the core building blocks:
It’s practical if you want to move past “chat completion” and give the model structure, state, and the ability to act.

AG-UI is the open protocol that defines how an agent communicates with a user interface.

It standardizes things like:
This removes the need to design your own transport, your own formatting, your own event system, or your own UI message schema.
Instead of every framework inventing its own UI contract, AG-UI is the shared layer they converge on.
No additional custom wiring.
No custom WebSockets.
No bespoke JSON formats.
The agent just speaks AG-UI.
Because AG-UI supports state sync and streaming, a MAF workflow can show:
This is critical for user trust and usability.
MAF agents often maintain a structured state (objects, lists, workflow context).
AG-UI transports this state to the frontend, where it can drive live UI components.
AG-UI can show:
This is a major improvement over hidden function-calling flows.
Once your MAF agent speaks AG-UI, you can plug it into:
This gives the agent a portable, future-proof interface layer.

Agent → protocol → frontend → user → agent
No custom engineering required.
With streaming, intermediate states, and exposed tool use, you can debug and trust the agent in a way plain chat completions don’t allow.
You can build:
All while retaining clear structure and maintainability.
You don’t build:
MAF handles reasoning + tools.
AG-UI handles communication + events.
Your frontend handles experience.
The stack is clean.
Microsoft Agent Framework gives you the internal machinery of an agent: tools, workflows, state, orchestration, and model thinking.
AG-UI gives that agent a standardized way to interact with the outside world.
Together, they let you build agents that aren’t constrained to the backend, but usable, visible, and connected to real applications.
To stay up to date, please follow CopilotKit on Twitter and join the Discord community.

.png&w=750&q=75)
.png&w=750&q=75)
Subscribe to our blog and get updates on CopilotKit in your inbox.
