Skip to content

AgentCouncil 2.0: router skill, current models, plugin marketplace, evals - #6

Merged
Sentry01 merged 6 commits into
mainfrom
sentry01-agentcouncil-v2
Oct 17, 2026
Merged

Sentry01 merged 6 commits into
mainfrom
sentry01-agentcouncil-v2

Conversation

@Sentry01

Copy link
Copy Markdown
Owner

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

  • Every default model was retired or superseded (claude-opus-4.6, gemini-3.1-pro, gpt-5.4). New users hit invalid-model errors on 3 of 4 seats.
  • The protocol was duplicated in the skill (597 lines) and the agent (372 lines), and the copies had already drifted.
  • skill.md was lowercase. The Agent Skills spec and the awesome-copilot validator require SKILL.md.
  • There was no LICENSE file, no versioning and no update channel.
  • agent-council is already taken in the awesome-copilot marketplace by Avyayalaya/agent-council, so the plugin is renamed agentcouncil.

What changed

Algorithm (skills/agentcouncil/SKILL.md, references/)

  • Explicit invocations (prefixes or the agent) always convene. Simple tasks take a new light path (4 calls). Implicit loads still answer trivial tasks directly.
  • Mode routing: prefix first, then intent, then default. Substring keyword matching is gone.
  • A context brief goes to every seat, and every subagent prompt includes a read-only instruction.
  • Orchestrator inputs are anonymized and reordered. Adversarial triage now runs on the orchestrator seat, not the session model.
  • Confidence labels must state what they rest on. Tensions are mandatory, and unadopted first-draft ideas reach the synthesis.
  • Per-seat fallbacks with a one-family-per-seat rule, user overrides, and a footer that discloses the models that actually ran.

Models: Alpha claude-opus-5.5, Beta gpt-6.1-sol, Gamma gemini-4-argon, Orchestrator claude-opus-5.5. The coordinator agent runs on claude-sonnet-5.5. The roster table in SKILL.md is the single source of truth, and CI enforces it.

Packaging: Agent Plugins 1.0 plugin.json; agent moved to com.github.copilot/agents/ as a thin wrapper that loads the skill; .github/plugin/marketplace.json so 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.json and a CI workflow.

Breaking changes

  • The plugin, skill and marketplace are now agentcouncil.
  • The agent ID is agentcouncil:agentcouncil.
  • 1.x installs and manual copies must be removed first. The README covers the steps.

Verification

Routing evals: 22 cases, run with an isolated COPILOT_HOME.

Skill Classifier model Cases Mode Domain Convene
old skill.md (2 runs) claude-sonnet-5.5 8/44 26/34 27/30 42/44
new SKILL.md (2 runs) claude-sonnet-5.5 44/44 34/34 30/30 44/44
new SKILL.md gpt-5.5 22/22 17/17 15/15 22/22
new SKILL.md gemini-3.8-flash 22/22 17/17 15/15 22/22

The 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-dir with 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.
  • Fixes from these runs are included: the task calls need a name field, the orchestrator answer must be shown verbatim, and anonymized labels must stay out of answers.

Install checks:

  • plugin list loads the plugin via --plugin-dir.
  • Local marketplace add, browse, install and uninstall all work.
  • The agent resolves in both plugin-dir and marketplace modes.
  • node scripts/validate.mjs passes. Fault injection confirmed it catches stale models, version drift, skill.md case, em dashes, emoji, $ followed by a digit, and missing references.

Not verifiable before merge: copilot plugin marketplace add Sentry01/AgentCouncil reads the default branch, so the GitHub-hosted install and update path needs a check after merge.

After merge

  1. Tag and release: git tag v2.0.0 && git push origin v2.0.0, then publish a GitHub release.
  2. In a clean COPILOT_HOME, run copilot plugin marketplace add Sentry01/AgentCouncil and copilot plugin install agentcouncil@agentcouncil.
  3. Remove the local 1.x copies under ~/.copilot/skills/agent-council and ~/.copilot/agents/AgentCouncil.agent.md, then install from the marketplace.
  4. Submit to awesome-copilot.

Sentry01 and others added 6 commits October 17, 2026 17:22
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>
@Sentry01
Sentry01 requested a max review from Copilot October 17, 2026 06:57
@Sentry01
Sentry01 merged commit abad48d into main Oct 17, 2026
2 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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
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']
Comment thread scripts/eval-routing.mjs

const skillPath = resolve(root, opt("skill", "skills/agentcouncil/SKILL.md"));
const model = opt("model", "claude-sonnet-5.5");
const runs = Number(opt("runs", "1"));
Comment thread scripts/validate.mjs
// 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants