Feature Request: Multi-Agent Orchestration and Workflow Automation for Copilot SDK #185990
Replies: 2 comments 1 reply
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
@johnproblems This is a thorough feature request — I've been solving several of these exact problems in the open-source space and wanted to share what's working in production today. I built network-ai, an MIT-licensed TypeScript framework that already implements your Features 1, 6, and 7, with partial coverage of 2 and 3. Here's the mapping: Your Feature 1 (Agent Orchestration) → Built and shipping import { SwarmOrchestrator } from 'network-ai';
const swarm = new SwarmOrchestrator();
swarm.registerAgent({
agentId: 'researcher',
role: 'data_analyst',
capabilities: ['search', 'analyze'],
trustLevel: 0.8
});
swarm.registerAgent({
agentId: 'implementer',
role: 'orchestrator',
capabilities: ['write', 'refactor'],
trustLevel: 0.9
});
// Orchestrator delegates, tracks budget, handles failures
const result = await swarm.delegateTask('researcher', {
task: 'Analyze changed files for complexity issues',
constraints: { maxTokenBudget: 5000 }
});
Works with 12 frameworks out of the box — LangChain, AutoGen, CrewAI, OpenAI Assistants, Semantic Kernel, LlamaIndex, Haystack, DSPy, Agno, MCP, OpenClaw, and custom adapters. Each gets a dedicated adapter so you're not locked into one provider.
Your Feature 6 (Persistent Context) → Locked Blackboard
This is our core primitive — agents share state through an atomic propose → validate → commit cycle on a file-backed blackboard:
import { LockedBlackboard } from 'network-ai';
const board = new LockedBlackboard('./data/shared-state', logger, {
conflictResolution: 'priority-wins'
});
// Agent proposes a state change (priority 2, TTL 300s)
const id = board.propose('researcher', 'analysis:result', {
complexity: 'high', files: ['app.ts', 'router.ts']
}, 300, 2);
// Another agent reads shared state
const analysis = board.read('analysis:result');
No state fragmented across conversation history. Persists to disk, survives restarts, TTL per entry.
Your Feature 7 (Cost Optimization) → Budget tracking built in
# Initialize budget for a task
python scripts/swarm_guard.py budget-init --task-id "review_001" --budget 10000
# Track spending
python scripts/swarm_guard.py budget-spend --task-id "review_001" --tokens 500 --reason "Analysis"
# Check remaining
python scripts/swarm_guard.py budget-check --task-id "review_001"
<html>
<body>
<!--StartFragment--><p style="margin: 0px 0px 16px; color: rgb(204, 204, 204); font-family: "Segoe WPC", "Segoe UI", sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(37, 37, 38); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><strong>What you listed that we also cover:</strong></p>
Your Feature | network-ai | Status
-- | -- | --
Agent Orchestration | SwarmOrchestrator + 12 adapters | ✅ Shipping
Agent Delegation | delegateTask() with trust levels | ✅ Shipping
Persistent Context | LockedBlackboard with TTL | ✅ Shipping
Cost/Budget Tracking | swarm_guard.py budget system | ✅ Shipping
Permission Gating | check_permission.py AuthGuardian | ✅ Shipping
Conflict Resolution | Priority-based preemption (0-3) | ✅ Shipping
Audit Logging | HMAC-SHA256 signed entries | ✅ Shipping
Security | AES-256-GCM, rate limiting, input sanitization | ✅ Shipping
<p style="margin: 0px 0px 16px; color: rgb(204, 204, 204); font-family: "Segoe WPC", "Segoe UI", sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(37, 37, 38); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">315 tests passing, zero dependencies, pure TypeScript/Node.js.</p><p style="margin: 0px 0px 16px; color: rgb(204, 204, 204); font-family: "Segoe WPC", "Segoe UI", sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(37, 37, 38); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">While we can't solve the Copilot SDK-specific asks (VS Code API hooks, GitHub Actions integration, model routing across providers), the orchestration, state management, and governance layers are framework-agnostic and can wrap<span> </span><em>any</em><span> </span>agent — including Copilot SDK sessions.</p><p style="margin: 0px 0px 16px; color: rgb(204, 204, 204); font-family: "Segoe WPC", "Segoe UI", sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(37, 37, 38); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">GitHub:<span> </span><a href="vscode-file://vscode-app/c:/Users/Racunar/AppData/Local/Programs/Microsoft%20VS%20Code/c3a26841a8/resources/app/out/vs/code/electron-browser/workbench/workbench.html" title="" draggable="false" data-href="https://github.com/jovanSAPFIONEER/Network-AI" custom-hover="true" style="text-decoration: rgb(55, 148, 255); color: rgb(55, 148, 255); user-select: text;">https://github.com/jovanSAPFIONEER/Network-AI</a><br>npm:<span> </span><code style="font-family: Consolas, "Courier New", monospace; font-size: 11.999px; color: rgb(215, 186, 125); background-color: rgba(255, 255, 255, 0.1); padding: 1px 3px; border-radius: 4px; border-color: rgb(215, 186, 125); border-style: none; border-width: 0px; border-image: none 100% / 1 / 0 stretch; white-space: pre-wrap;">npm install network-ai</code></p><p style="margin: 0px 0px 16px; color: rgb(204, 204, 204); font-family: "Segoe WPC", "Segoe UI", sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(37, 37, 38); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Happy to discuss how any of these patterns could inform the Copilot SDK design. The locked blackboard and priority-based preemption were the hardest to get right.</p><!--EndFragment-->
</body>
</html>What you listed that we also cover:
Your Feature network-ai Status
Agent Orchestration SwarmOrchestrator + 12 adapters ✅ Shipping
Agent Delegation delegateTask() with trust levels ✅ Shipping
Persistent Context [LockedBlackboard](vscode-file://vscode-app/c:/Users/Racunar/AppData/Local/Programs/Microsoft%20VS%20Code/c3a26841a8/resources/app/out/vs/code/electron-browser/workbench/workbench.html) with TTL ✅ Shipping
Cost/Budget Tracking [swarm_guard.py](vscode-file://vscode-app/c:/Users/Racunar/AppData/Local/Programs/Microsoft%20VS%20Code/c3a26841a8/resources/app/out/vs/code/electron-browser/workbench/workbench.html) budget system ✅ Shipping
Permission Gating [check_permission.py](vscode-file://vscode-app/c:/Users/Racunar/AppData/Local/Programs/Microsoft%20VS%20Code/c3a26841a8/resources/app/out/vs/code/electron-browser/workbench/workbench.html) AuthGuardian ✅ Shipping
Conflict Resolution Priority-based preemption (0-3) ✅ Shipping
Audit Logging HMAC-SHA256 signed entries ✅ Shipping
Security AES-256-GCM, rate limiting, input sanitization ✅ Shipping
315 tests passing, zero dependencies, pure TypeScript/Node.js.
While we can't solve the Copilot SDK-specific asks (VS Code API hooks, GitHub Actions integration, model routing across providers), the orchestration, state management, and governance layers are framework-agnostic and can wrap any agent — including Copilot SDK sessions.
GitHub: [https://github.com/jovanSAPFIONEER/Network-AI](vscode-file://vscode-app/c:/Users/Racunar/AppData/Local/Programs/Microsoft%20VS%20Code/c3a26841a8/resources/app/out/vs/code/electron-browser/workbench/workbench.html)
npm: npm install network-ai
Happy to discuss how any of these patterns could inform the Copilot SDK design. The locked blackboard and priority-based preemption were the hardest to get right. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Product Feedback
Copilot Feature Area
General
Body
GitHub Copilot SDK Feature Request: Multi-Agent Workflow Orchestration
Date: January 30, 2026
SDK Version: Beta (Node.js)
Use Case: Autonomous multi-step development workflows
Executive Summary
The current Copilot SDK provides excellent session-based conversational AI capabilities but lacks primitives for autonomous multi-agent workflow orchestration. This limits its applicability for complex, multi-step development tasks that require:
This document proposes architectural enhancements that would position the Copilot SDK as a true workflow automation platform rather than just a chat interface.
Current Limitations
1. Single-Session Architecture
Current Behavior:
Limitation: Cannot decompose complex tasks across multiple specialized agents or dynamically switch models based on task requirements.
2. No Agent Delegation
Missing: Ability for a primary agent to spawn child agents for subtasks and coordinate their work.
Example Use Case:
3. Static Model Selection
Current: Model chosen at session creation, cannot change.
Desired: Runtime model routing based on:
4. Limited Tool Ecosystem
Current:
defineTool()for custom functions only.Desired: Rich built-in tool library similar to:
Proposed Features
Feature 1: Agent Orchestration API
Enable hierarchical agent workflows with parent-child relationships:
Benefits:
Feature 2: Dynamic Model Routing
Allow agents to switch models mid-conversation based on task needs:
Benefits:
Feature 3: Workflow Definition Language
Support declarative workflow specifications:
Benefits:
Feature 4: Built-in Tool Library
Provide standard development tools out of the box:
Benefits:
Feature 5: VS Code Extension Integration
Enable SDK to run as VS Code extension with full API access:
Benefits:
Feature 6: Persistent Context Management
Enable agents to maintain state across sessions:
Benefits:
Feature 7: Cost Optimization Framework
Built-in tools for managing API costs:
Benefits:
Competitive Analysis
Claude Agent SDK Has:
Copilot SDK Currently Has:
GitHub's Unique Advantages:
Implementation Priority
P0 - Critical (Enable Workflow Use Cases)
P1 - High Impact (Developer Experience)
P2 - Quality of Life (Nice to Have)
Success Metrics
If these features were implemented, developers could:
Quantifiable Goals:
Conclusion
The Copilot SDK has a strong foundation as a conversational AI interface. By adding agent orchestration, dynamic model routing, and workflow primitives, it can evolve into a comprehensive development automation platform.
GitHub is uniquely positioned to build the best IDE-integrated agent system because you control both the IDE (VS Code) and have access to multiple AI providers. The opportunity is to go beyond chat and enable truly autonomous development workflows.
Recommended Next Steps:
Appendix: Example Workflow
Complete Code Review Workflow:
This workflow demonstrates autonomous multi-agent coordination with minimal manual intervention.
Beta Was this translation helpful? Give feedback.
All reactions