Add foundry-hosted-agent-copilotkit skill#2226
Open
lordlinus wants to merge 2 commits into
Open
Conversation
Reworked from PR github#2090 feedback: drops all scaffolding/sample-template content and focuses on ongoing development with CopilotKit + AG-UI + Azure AI Foundry hosted agents — adding/gating tools, human-in-the-loop approvals, generative UI and shared state, event-stream debugging, pre-1.0 dependency upgrades, and the hosted-agent deploy loop. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
🔒 PR Risk Scan ResultsScanned 8 changed file(s).
|
Contributor
🔍 Vally Lint Results✅ All checks passed
Summary
Full linter output |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Agent Skill, foundry-hosted-agent-copilotkit, providing structured, reference-driven guidance for maintaining and evolving existing CopilotKit + AG-UI applications backed by Microsoft Agent Framework agents running on (or developed against) Azure AI Foundry hosted agents.
Changes:
- Introduces a new skill entrypoint (
SKILL.md) with a workflow-oriented “mental model”, task playbooks, and completion criteria focused on correctness/safety (notably HITL). - Adds six focused reference documents covering architecture options, HITL behavior/hazards, troubleshooting signatures, upgrade rules, interaction patterns, and the local→deploy iteration loop.
- Updates
docs/README.skills.mdto include the new skill and its reference files.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| skills/foundry-hosted-agent-copilotkit/SKILL.md | Defines the skill’s scope, workflow, and pointers into the reference set for ongoing app development. |
| skills/foundry-hosted-agent-copilotkit/references/architecture.md | Documents the three viable architectures and where AG-UI is produced, establishing the key integration decision. |
| skills/foundry-hosted-agent-copilotkit/references/deploy-loop.md | Captures the recommended inner/outer dev loop for hosted agents (azd ai agent run / deploy + verification). |
| skills/foundry-hosted-agent-copilotkit/references/hitl.md | Details HITL wiring and debugging, including the duplicate-execution hazard and mitigation/regression test guidance. |
| skills/foundry-hosted-agent-copilotkit/references/patterns.md | Maps the “7 AG-UI interaction patterns” to CopilotKit + MAF implementation points and caveats. |
| skills/foundry-hosted-agent-copilotkit/references/troubleshooting.md | Provides symptom→root-cause→fix tables across layers with concrete signatures and remediation. |
| skills/foundry-hosted-agent-copilotkit/references/upgrading.md | Defines upgrade constraints and a verification loop tailored to a rapidly-churning pre-1.0 dependency matrix. |
| docs/README.skills.md | Registers the new skill in the generated skills index, including its reference files list. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
skills/foundry-hosted-agent-copilotkit— a skill for ongoing development inside existing apps built on the CopilotKit + AG-UI + Microsoft Agent Framework + Azure AI Foundry hosted agents stack.Where the model uplift is
This stack is genuinely under-represented in training data: every layer is pre-1.0/RC/preview (
@ag-ui/*0.0.x,agent-framework-ag-uiRC, Foundry hosting packages alpha, hosted agents in preview) and APIs have churned recently (useCopilotAction→useFrontendTool/useHumanInTheLoop,agent-framework-azure-ai→agent-framework-foundry). The content is built from live-verified failure modes, including:previous_response_idchaining (Python: [Bug]: Approval-gated tool (confirm_changes flow) re-executes a second time on a later unrelated turn — duplicate side effect, not just a UI display issue microsoft/agent-framework#6851 / #6828, isolated by reproducing against the bare/responsesendpoint), plus the mitigation and the regression test to keep.Illegal invocationcrash, frontend-tool forwarding regressions in CopilotKit 1.62.x).Checklist
npm run skill:validatepasses (369 skills valid)npm startrun; regenerateddocs/README.skills.mdcommittedbash eng/fix-line-endings.shrun