foundry-hosted-agent-copilotkit
Ongoing development guidance for agentic web apps that pair a CopilotKit frontend with Microsoft Agent Framework agents on Azure AI Foundry hosted agents over the AG-UI protocol - add and gate agent tools, wire human-in-the-loop approvals, build generative UI and shared state, debug the event stream, upgrade pre-1.0 packages safely, and deploy hosted agent updates.
npx skills add github/awesome-copilot --skill foundry-hosted-agent-copilotkit --agent copilot
Same command for any agent — swap --agent for claude-code, codex, cursor.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Developing with CopilotKit + AG-UI + Azure AI Foundry Hosted Agents Use this skill for development work inside an EXISTING application built on this stack: a React/Next.js frontend using CopilotKit, connected over the AG-UI protocol to a Microsoft Agent Framework (MAF) agent (Python or .NET) that runs as — or is being developed against — an Azure AI Foundry hosted agent (paid Azure service; usage may incur costs). Do NOT use this skill to scaffold a new project. Dedicated scaffolders exist (the CopilotKit CLI, `azd ai agent init`); use those, then return here for everything that follows: adding tools, gating them behind approvals, generative UI, shared state, debugging, dependency upgrades, and deploying agent updates. ## Mental model ```text CopilotKit hooks (React) useFrontendTool / useHumanInTheLoop / │ useRenderToolCall / useCoAgent ▼ CopilotKit Runtime (route handler) agents: { <name>: new HttpAgent({ url }) } │ AG-UI events over SSE ▼ AG-UI endpoint ← WHERE this lives defines your architecture │ ▼ MAF Agent (tools, approval modes) → model deployment ``` The single most important fact: **a deployed Foundry hosted agent endpoint does not speak AG-UI by default.** It exposes a
- Mental model
- Workflow
- References
- Task playbooks
- Add or modify an agent tool
- Wire human-in-the-loop onto an existing tool
- Build generative UI or shared state
- Debug a broken flow
- Upgrade dependencies
- Deploy an agent update
- Completion criteria
What does the foundry-hosted-agent-copilotkit skill do?
Ongoing development guidance for agentic web apps that pair a CopilotKit frontend with Microsoft Agent Framework agents on Azure AI Foundry hosted agents over the AG-UI protocol - add and gate agent tools, wire human-in-the-loop approvals, build generative UI and shared state, debug the event stream, upgrade pre-1.0 packages safely, and deploy hosted agent updates.
How do I install it?
Run `npx skills add github/awesome-copilot --skill foundry-hosted-agent-copilotkit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.