Add foundry-hosted-agent-copilotkit skill + Forgewright App Builder agent#2090
Add foundry-hosted-agent-copilotkit skill + Forgewright App Builder agent#2090lordlinus wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
main, but PRs should target staged.
The main branch is auto-published from staged and should not receive direct PRs.
Please close this PR and re-open it against the staged branch.
You can change the base branch using the Edit button at the top of this PR,
or run: gh pr edit 2090 --base staged
✅ External plugin PR checks passed
Per-plugin quality summary
No changed external plugin entries were detected in this PR. |
3cab3d5 to
13e44cf
Compare
🔍 Skill Validator Results⛔ Findings need attention
Summary
Full validator output
|
🔒 PR Risk Scan ResultsScanned 8 changed file(s).
|
13e44cf to
0214dad
Compare
… agent Adds a skill and companion agent for building complete agentic web apps on the Azure AI Foundry hosted-agent + AG-UI + CopilotKit stack, with native human-in-the-loop approval on consequential tools. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0214dad to
5973adb
Compare
|
Re: PR Risk Scan — remaining 🟠 This finding is on a pre-existing, unrelated row — the My contributed files ( |
There was a problem hiding this comment.
Pull request overview
Adds a new skill + companion agent to guide building agentic web apps using the Azure AI Foundry hosted-agent + AG-UI + CopilotKit stack, and updates the generated docs indexes to include them.
Changes:
- Introduces
skills/foundry-hosted-agent-copilotkit/withSKILL.mdand four reference documents (architecture, patterns, troubleshooting, hosted deploy). - Adds
agents/foundry-hosted-agent-copilotkit.agent.md(“Forgewright” agent) that instructs users to drive work via the new skill. - Updates
docs/README.skills.mdanddocs/README.agents.mdto list the new skill and agent.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| skills/foundry-hosted-agent-copilotkit/SKILL.md | Adds the new skill definition and its main workflow/DoD guidance. |
| skills/foundry-hosted-agent-copilotkit/references/architecture.md | Documents the hosted-agent-first architecture and why a HITL-forwarding bridge is required. |
| skills/foundry-hosted-agent-copilotkit/references/patterns-7.md | Summarizes AG-UI “dojo” patterns as applied to this stack. |
| skills/foundry-hosted-agent-copilotkit/references/troubleshooting.md | Captures known failure modes and fixes for HITL/AG-UI/CopilotKit/Foundry. |
| skills/foundry-hosted-agent-copilotkit/references/hosted-deploy.md | Documents azd-based hosted agent publishing and deployment gotchas. |
| agents/foundry-hosted-agent-copilotkit.agent.md | Adds the companion agent that directs usage through the skill and enforces the workflow. |
| docs/README.skills.md | Registers the new skill in the skills index table. |
| docs/README.agents.md | Registers the new agent in the agents index table. |
| --- | ||
| name: foundry-hosted-agent-copilotkit | ||
| description: "Build a complete agentic web app on the Azure AI Foundry hosted-agent + AG-UI + CopilotKit stack: a Next.js/CopilotKit v2 chat UI over a light FastAPI/AG-UI bridge that forwards every turn to ONE Microsoft Agent Framework agent hosted in Azure AI Foundry, with native human-in-the-loop approval on consequential tools. Requires an Azure AI Foundry project (paid). Triggers: agentic app, CopilotKit app, AG-UI bridge, Foundry hosted agent, Microsoft Agent Framework, human-in-the-loop/HITL approval, approval_mode always_require, confirm_changes. Also for fixing the known traps: HITL approve-resume 400 'No tool output found', confirm_changes mis-wired, AG-UI snapshot cards vanishing, CopilotKit catch-all route 404/422, useSingleEndpoint, keyless Foundry 401 audience, Docker Hub rate-limit on ACR build." | ||
| --- |
| | [Expert React Frontend Engineer](../agents/expert-react-frontend-engineer.agent.md)<br />[](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fexpert-react-frontend-engineer.agent.md)<br />[](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fexpert-react-frontend-engineer.agent.md) | Expert React 19.2 frontend engineer specializing in modern hooks, Server Components, Actions, TypeScript, and performance optimization | | | ||
| | [Expert Vue.js Frontend Engineer](../agents/vuejs-expert.agent.md)<br />[](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fvuejs-expert.agent.md)<br />[](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fvuejs-expert.agent.md) | Expert Vue.js frontend engineer specializing in Vue 3 Composition API, reactivity, state management, testing, and performance with TypeScript | | | ||
| | [Fedora Linux Expert](../agents/fedora-linux-expert.agent.md)<br />[](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Ffedora-linux-expert.agent.md)<br />[](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Ffedora-linux-expert.agent.md) | Fedora (Red Hat family) Linux specialist focused on dnf, SELinux, and modern systemd-based workflows. | | | ||
| | [Foundry Hosted Agent Copilotkit](../agents/foundry-hosted-agent-copilotkit.agent.md)<br />[](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Ffoundry-hosted-agent-copilotkit.agent.md)<br />[](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Ffoundry-hosted-agent-copilotkit.agent.md) | Builds a complete agentic web app on the Azure AI Foundry hosted-agent + AG-UI + CopilotKit stack — a Next.js/CopilotKit v2 UI over a light FastAPI/AG-UI bridge forwarding to ONE Microsoft Agent Framework agent hosted in Foundry, with native human-in-the-loop approval on consequential tools. Requires an Azure AI Foundry project. | | |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
aaronpowell
left a comment
There was a problem hiding this comment.
I'm a little apprehensive about having a skill that is instructing a clone of an external repo (esp since there's no ref/sha pinning) as that can result in a supply chain injection attack.
| remote build, dependency pinning). | ||
|
|
||
| The canonical, runnable template + scaffolding scripts live in the companion repo | ||
| **[lordlinus/forgewright](https://github.com/lordlinus/forgewright)** under |
What this adds
A skill and a companion agent for building a complete agentic web app on the Azure AI Foundry hosted-agent + AG-UI + CopilotKit stack — a Next.js/CopilotKit v2 chat UI over a light FastAPI/AG-UI bridge that forwards every turn to ONE Microsoft Agent Framework agent hosted in Azure AI Foundry, with native human-in-the-loop (HITL) approval on consequential tools.
skills/foundry-hosted-agent-copilotkit/(SKILL.md+ 4 reference docs)agents/foundry-hosted-agent-copilotkit.agent.md("Forgewright App Builder")Why it adds value (gap it fills)
This is a specialized, hard-to-discover workflow, not generic coding the model already handles. It encodes live-verified knowledge that frontier models get wrong by default:
add_agent_framework_fastapi_endpoint(FoundryAgent)path cannot complete hosted HITL (no client-sidemcp_approval_response), and the minimal hand-rolled forwarder that fixes exactly that gap — tracked upstream as microsoft/agent-framework#6652.400 "No tool output found"(useFoundryChatClient, not the ResponsesOpenAIChatClient), the{ accepted, steps }HITL contract, CopilotKit v2 catch-all[[...slug]]route +useSingleEndpoint={false}, AG-UI multi-tool snapshot split, and MCR base images to dodge Docker Hub ACR rate-limits.The full runnable template and scaffolding scripts live in the companion repo lordlinus/forgewright; this skill is the focused build recipe + references.
Paid service disclosure
This stack targets Azure AI Foundry (paid). The prerequisite is stated up front in both
SKILL.mdand the agent. Per CONTRIBUTING, flagging for the paid-services guidance.Validation
npm run skill:validate→✅ foundry-hosted-agent-copilotkit is validnpm run build→ README tables regenerated (docs/README.skills.md,docs/README.agents.md)namematches folder, lowercase-hyphen;descriptionwithin limits; references < 5 MB