Repository navigation
AgentCouncil 2.0: router skill, current models, plugin marketplace, evals - #6
Merged
Merged
Conversation
Explicit invocations always convene (light path for simple tasks); mode is routed by prefix then intent; context brief for seats; single model roster with fallbacks; anonymized orchestrator inputs; triage on orchestrator seat; mandatory tensions; disclosure footer. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Found in an end-to-end adversarial run and code review: the verdict cited anonymized response labels, and orchestrator prompts lacked the read-only instruction given to seats. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The breaking packaging and protocol migration has unresolved defects and still needs human review and hosted installation/update verification.
7 open issues
Restore coordinator editing while keeping subagents read-only · New Reject missing, nonnumeric, zero, and negative --runs values · New Require exact changelog version matches and handle invalid versions · New Resolve conflicting explicit and inferred effort selection rules · New Define protocol behavior for two-seat fallback installations · New Restrict verbose triage output to full adversarial runs · New Classify shared unresolved CRITICAL risks as contested partial consensus · New
What changed in this PR
Modernizes AgentCouncil’s Copilot CLI plugin and centralizes its multi-model council protocol.
Changes:
- Adds light effort, refreshed models, fallbacks and anonymized orchestration.
- Renames and packages the plugin for marketplace installation and updates.
- Adds validation, routing evaluations, CI and release documentation.
| File | Description |
|---|---|
skills/agentcouncil/SKILL.md |
Centralizes routing, models and dispatch rules. |
skills/agentcouncil/references/light.md |
Defines the lightweight council protocol. |
skills/agentcouncil/references/collaborative.md |
Defines draft, improve and synthesis phases. |
skills/agentcouncil/references/adversarial.md |
Defines triage, attacks and verdicts. |
skills/agent-council/skill.md |
Removes the old monolithic skill. |
scripts/validate.mjs |
Adds static plugin and documentation checks. |
scripts/eval-routing.mjs |
Adds model-driven routing evaluations. |
README.md |
Rewrites installation and usage guidance. |
plugin.json |
Updates plugin identity and manifest format. |
LICENSE |
Adds the MIT license. |
evals/routing.json |
Adds routing evaluation cases. |
docs/plans/2026-02-13-dual-mode-council-design.md |
Marks the original design as historical. |
CONTRIBUTING.md |
Documents development and release workflows. |
com.github.copilot/agents/agentcouncil.agent.md |
Adds a thin skill-loading coordinator. |
CHANGELOG.md |
Records version 2 changes and migration details. |
agents/AgentCouncil.agent.md |
Removes the duplicated agent protocol. |
.github/workflows/validate.yml |
Runs static validation in CI. |
.github/plugin/marketplace.json |
Registers the repository’s plugin marketplace. |
Review effort: Max
| name: AgentCouncil | ||
| description: 'Multi-model council for high-stakes questions. Three subagents on different model families answer independently, then build on each other (collaborative) or attack the leading answer (adversarial) before an orchestrator writes the final result. Use for architecture and security reviews, technology choices, research and brainstorming.' | ||
| model: claude-sonnet-5.5 | ||
| tools: ['read', 'search', 'agent', 'web', 'todo', 'skill'] |
|
|
||
| const skillPath = resolve(root, opt("skill", "skills/agentcouncil/SKILL.md")); | ||
| const model = opt("model", "claude-sonnet-5.5"); | ||
| const runs = Number(opt("runs", "1")); |
| // changelog | ||
| const changelog = join(root, "CHANGELOG.md"); | ||
| if (!existsSync(changelog)) fail(root, "CHANGELOG.md is missing"); | ||
| else if (!new RegExp(`^## \\[?${plugin.version.replace(/\./g, "\\.")}\\]?`, "m").test(read(changelog))) { |
Comment on lines
+33
to
+34
| - **light**: the user says `quick` or `light`, or the council was explicitly invoked for a task that Step 1 would call trivial. | ||
| - **full**: the user says `full`, `deep` or `thorough`, or the task has real tradeoffs, correctness or security risk, or is architecture, research, design or substantial writing. |
|
|
||
| **User overrides.** If the user names models for the seats (for example "council with sonnet, gpt-5.5 and gemini flash"), map them to available model IDs and use them instead of the defaults, keeping the three families distinct. | ||
|
|
||
| **Failures.** If a call fails, times out or returns an invalid or unavailable model error, retry that seat once on its next fallback. When a seat's list is exhausted, use any available model from a family that is not already seated. If none is left, continue with the remaining seats and disclose it in the footer. Never substitute silently and never seat two families twice. If fewer than two seats succeed, stop and tell the user which models failed. Each seat keeps the model it actually ran on for every later phase. |
| {footer} | ||
| ``` | ||
|
|
||
| In adversarial mode, also show the triage result (consensus level, leading seat, reason), each attacker's verdict, and the ruling (SURVIVED, MODIFIED or OVERTURNED). |
|
|
||
| Decide the consensus level: | ||
| - full: all three reach the same core conclusion, no unresolved CRITICAL issue is raised in any critique or validation section, and there is no material contradiction on key claims. | ||
| - partial: the same core conclusion, but material disagreement on specific points. |
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
Implements steps 1 to 5 of the repo review: algorithm fixes, current default models, a restructured skill, packaging as an updatable plugin, a documentation rewrite, and evals plus CI. It also makes the repo ready for an awesome-copilot listing.
Why
claude-opus-4.6,gemini-3.1-pro,gpt-5.4). New users hit invalid-model errors on 3 of 4 seats.skill.mdwas lowercase. The Agent Skills spec and the awesome-copilot validator requireSKILL.md.agent-councilis already taken in the awesome-copilot marketplace by Avyayalaya/agent-council, so the plugin is renamedagentcouncil.What changed
Algorithm (
skills/agentcouncil/SKILL.md,references/)Models: Alpha
claude-opus-5.5, Betagpt-6.1-sol, Gammagemini-4-argon, Orchestratorclaude-opus-5.5. The coordinator agent runs onclaude-sonnet-5.5. The roster table inSKILL.mdis the single source of truth, and CI enforces it.Packaging: Agent Plugins 1.0
plugin.json; agent moved tocom.github.copilot/agents/as a thin wrapper that loads the skill;.github/plugin/marketplace.jsonso the repo is its own marketplace; MIT LICENSE; version 2.0.0.Docs and tooling: README rewritten in plain style; CHANGELOG and CONTRIBUTING added; design doc marked historical;
scripts/validate.mjs,scripts/eval-routing.mjs,evals/routing.jsonand a CI workflow.Breaking changes
agentcouncil.agentcouncil:agentcouncil.Verification
Routing evals: 22 cases, run with an isolated
COPILOT_HOME.skill.md(2 runs)SKILL.md(2 runs)SKILL.mdSKILL.mdThe old skill's case score is low partly because it has no effort concept. On mode it misrouted "the main challenge is" to debate, and choose-between and go/no-go questions to collaborative.
End-to-end runs through
--plugin-dirwith the agent:verbose quick council(light): all three seats ran on their roster models and the footer was correct. About 75 seconds, 45.6 AI credits.verbose debate(full adversarial): partial consensus, two attacks, a MODIFIED ruling and verbose phases. About 5 minutes, 115.3 AI credits.taskcalls need anamefield, the orchestrator answer must be shown verbatim, and anonymized labels must stay out of answers.Install checks:
plugin listloads the plugin via--plugin-dir.node scripts/validate.mjspasses. Fault injection confirmed it catches stale models, version drift,skill.mdcase, em dashes, emoji,$followed by a digit, and missing references.Not verifiable before merge:
copilot plugin marketplace add Sentry01/AgentCouncilreads the default branch, so the GitHub-hosted install and update path needs a check after merge.After merge
git tag v2.0.0 && git push origin v2.0.0, then publish a GitHub release.COPILOT_HOME, runcopilot plugin marketplace add Sentry01/AgentCouncilandcopilot plugin install agentcouncil@agentcouncil.~/.copilot/skills/agent-counciland~/.copilot/agents/AgentCouncil.agent.md, then install from the marketplace.