Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Hyogi - Autonomous AI CouncilNew to Visual Studio Code? Get it now.
Hyogi - Autonomous AI Council

Hyogi - Autonomous AI Council

Shunsuke F

|
1 install
| (0) | Free
Autonomous cross-model council and circuit breaker that AI coding agents invoke when stuck in fix loops or architectural forks.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Visual Studio Marketplace GitHub License: MIT

Hyogi - Autonomous AI Council

Hyogi is an autonomous deliberation council that coding agents call when repeated fixes or architectural choices block implementation.

Hyogi - Autonomous AI Council

For AI coding agents, Hyogi provides a circuit breaker before another speculative edit: two failed attempts, a major design fork, or an ambiguous specification can trigger a focused council and return one actionable decision.

When a Copilot Agent calls #convene_ai_council, Hyogi sends the blocker to three isolated roles, streams the discussion to a live side monitor, and returns only the decision, rationale, constraints, and ordered next steps to the calling agent.

Japanese: README.ja.md

Quick Start

VS Code and Copilot Agent

  1. Install the extension:

    ext install ShunsukeF.hyogi
    
  2. Run Hyogi: Initialize Autonomous Council Rules from the Command Palette and choose the workspace instruction files to update.

  3. Work in Copilot Agent mode. After two failed fixes, or at a major implementation fork, ask Copilot to use #convene_ai_council.

The VS Code path uses models already available through vscode.lm; it does not require a separate Hyogi API key.

stdio MCP

The bundled MCP server uses an OpenAI-compatible endpoint. Configure a local Ollama endpoint or a compatible hosted API.

{
  "mcpServers": {
    "hyogi": {
      "command": "node",
      "args": ["/path/to/extension/dist/mcp-server.js"],
      "env": {
        "HYOGI_API_BASE_URL": "http://localhost:11434/v1",
        "HYOGI_MODEL": "qwen2.5-coder:7b"
      }
    }
  }
}

For an authenticated hosted endpoint, set HYOGI_API_KEY. Hyogi reads secrets from the process environment and does not persist them.

What The Council Returns

{
  "decision": "Use a per-test fixture instead of shared setup state.",
  "rationale": "The same failure changed with test order, which supports a state-isolation fault.",
  "constraints": [
    "Keep existing public setup APIs stable"
  ],
  "nextSteps": [
    "Add a focused test that proves the ordering failure",
    "Replace shared setup with an isolated fixture",
    "Run the affected suite before widening the change"
  ]
}

Workflow

Main coding agent
  | repeated failure, architecture fork, or ambiguous requirement
  v
Hyogi: convene_ai_council(stuckReason, attemptedOrOptions, relevantCode)
  |
  |-- Architect proposes an implementable route
  |-- Critic checks risks, boundaries, and counterexamples
  `-- Facilitator returns structured decision JSON
       |
       |-- Live VS Code monitor shows the transcript
       `-- Main agent receives decision, constraints, and next steps

Main Features

  • Agent-invoked deliberation: Hyogi is a native VS Code Language Model Tool and an MCP tool, so the coding agent can call it without a human chat UI.
  • Cross-model review when available: Architect, Critic, and Facilitator are assigned from the models exposed by VS Code. Hyogi prefers different lineages for Architect and Critic and falls back cleanly when only one model is available.
  • One-round isolation: The council performs one bounded Architect-Critic-Facilitator round so failed speculation does not become an unbounded agent conversation.
  • Idempotent circuit-breaker rules: hyogi.initRules inserts or updates one managed block in .github/copilot-instructions.md, AGENTS.md, and CLAUDE.md without duplicating it.
  • Optional ADR output: hyogi.autoExportAdr can save the decision and complete transcript to the workspace docs/adr/ directory.
  • Live side monitor: The monitor opens without taking editor focus and renders model output with textContent, not raw HTML.

Commands And Settings

Item Name Result
Language Model Tool convene_ai_council Runs one Architect-Critic-Facilitator deliberation and returns structured guidance
Command Hyogi: Open Council Monitor Opens the live deliberation monitor
Command Hyogi: Initialize Autonomous Council Rules Inserts or updates managed circuit-breaker rules
Setting hyogi.autoExportAdr Controls automatic ADR saving; default false
Setting hyogi.adrDirectory Sets the workspace-relative ADR directory; default docs/adr

Requirements And Privacy

  • VS Code 1.105.0 or later.
  • The Language Model Tool path requires at least one VS Code language model and its provider consent.
  • The MCP path requires an OpenAI-compatible endpoint. Ollama can be used locally; hosted providers need their own API key and may send council prompts to that provider.
  • Hyogi does not include or persist API keys. It stores ADR files only when ADR export is enabled or explicitly requested.
  • Untrusted workspaces are not supported because the extension can write instruction and ADR files.

Build From Source

bun install --frozen-lockfile
bun run test
bun run typecheck
bun run build
bun run test:mcp
bun run package

Support And License

  • Issues: https://github.com/furukawa658/hyogi/issues
  • Changelog: CHANGELOG.md
  • License: MIT
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft