AG-UI: connect an agent to a frontend
Put an agent behind a web endpoint and watch its answer, its tool calls and its tool results stream to a user interface as small events. See tools that run on the server and tools that run in the client.
11 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 11 minutes.
Written from the official documentation
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/ui/ag-ui
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/ui/ag-ui/getting-started
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/ui/ag-ui/backend-tool-rendering
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/ui/ag-ui/frontend-tools