Skip to content
Discussion options

You must be logged in to vote

The behavior you are observing is by design. app.MapAGUI(...) ships in Microsoft.Agents.AI.Hosting.AGUI.AspNetCore and binds to ASP.NET Core endpoint routing, which is not available in the Azure Functions Worker host. There is no MapAGUI overload for Azure Functions today, so for this scenario the integration is assembled from existing primitives.

The good news is the architecture is already demonstrated in the repository — it is the 08_ReliableStreaming sample. The wire format in that sample is plain SSE; for CopilotKit you substitute the AG-UI event format. Below is the recommended architecture and the specific extension points.

Recommended architecture

CopilotKit (Angular) ──SSE──► HTT…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kpobb1989
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants