Agent skill · DevOps & Cloud

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.

GitHub68,948★ · +463/wk · 2 repos on radarProfile →
copilotMIT
Install
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.

Facts
Files in the skill folder: 7
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/foundry-hosted-agent-copilotkit/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 37,432 · +281 this week
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Mental model
  2. Workflow
  3. References
  4. Task playbooks
  5. Add or modify an agent tool
  6. Wire human-in-the-loop onto an existing tool
  7. Build generative UI or shared state
  8. Debug a broken flow
  9. Upgrade dependencies
  10. Deploy an agent update
  11. Completion criteria
Ships with 6 files
  • references/architecture.md
  • references/deploy-loop.md
  • references/hitl.md
  • references/patterns.md
  • references/troubleshooting.md
  • references/upgrading.md
More from awesome-copilot
All skills →
About this skill
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.

Keep going