---
title: "Discussion on \"Building MAF AI Agent UIs with Next.js, AG-UI & CopilotKit\" | Hashnode"
description: "Discussion on \"Building MAF AI Agent UIs with Next.js, AG-UI & CopilotKit\". This article deep dives into the process of developing a web based rich UI for your AI agents through CopilotKit using Nextjs and Reac"
url: "https://hashnode.com/posts/building-maf-ai-agent-uis-with-next-js-ag-ui-copilotkit/6b130fb8c0c71beb9c4a98ed"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building MAF AI Agent UIs with Next.js, AG-UI & CopilotKit](https://www.azureguru.net/building-maf-ai-agent-uis-with-next-js-ag-ui-copilotkit?utm_source=hashnode&utm_medium=feed)

This article deep dives into the process of developing a web based rich UI for your AI agents through CopilotKit using Nextjs and Reac

6h ago · 7 min read · azureguru.net  
Read the article

-   [#copilotkit](https://hashnode.com/tag/copilotkit)
-   [#microsoft-agent-framework](https://hashnode.com/tag/microsoft-agent-framework)
-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#ai-ui-development](https://hashnode.com/tag/ai-ui-development)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Sachin Nandanwar](https://hashnode.com/@SachinNandanwar)

@SachinNandanwar

  
[View profile](https://hashnode.com/@SachinNandanwar)

From Synapse Analytics, Power BI, Spark, Microsoft Fabric,ASP.NET Core and recently Agentic AI on .NET I try to explore, learn and share all aspects of Microsoft Data Stack in this blog.

## Responses 1

Markdown supported · ⌘↵ to post

[Olivia](https://hashnode.com/@oliviacreates)

[4h ago](https://hashnode.com/posts/building-maf-ai-agent-uis-with-next-js-ag-ui-copilotkit/6b130fb8c0c71beb9c4a98ed/comment/6b13251bb2385214c7511d0c)

The route.ts-as-gateway framing is what makes this click for me — the Next.js side stays a thin pass-through and all the agent logic stays in .NET. On that error arrow at the bottom left, does it show anything in the browser console, or does it only appear while a tool call is in flight?
