Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Implementation:0xNyk Council of high intelligence auto route defaults yaml

From Leeroopedia
Knowledge Sources
Domains Configuration, Routing, Multi_Model_Systems
Last Updated 2026-10-20 00:00 GMT

Overview

Concrete YAML configuration file that defines default model tier mappings per provider and Chairman selection defaults for the auto-routing algorithm.

Description

auto-route-defaults.yaml is the default configuration consumed by the coordinator's auto-routing algorithm (STEP 1) and Chairman selection (STEP 1.7). It maps each provider to a high-tier and mid-tier model ID, and defines default Chairman models per provider. The coordinator uses this when no `--models` override is provided.

The `provider_models` block maps a member's frontmatter `model` field (`opus` or `sonnet`) to a concrete model ID per provider. Members with `model: opus` get the `.high` tier; `model: sonnet` gets `.mid`. For ollama, both tiers are `null` (the coordinator uses the first available model from `detect-providers.sh`).

The `chairman_defaults` block defines the default Chairman model when the auto-select algorithm picks that provider. The `chairman` block allows an explicit override (leave `null` to use the algorithm).

Usage

This config is consumed when:

  • Auto-routing is active (STEP 1, Path B) — tier matching (rule 4)
  • Chairman selection (STEP 1.7) — chairman_defaults and chairman override
  • Installed to the skill config directory via `install.sh --copy-configs`

Code Reference

Source Location

Signature

# Default model tier mapping per provider.
# Used by the coordinator when auto-routing members to providers.
# "high" = members with model: opus in frontmatter (heavyweight analysis)
# "mid"  = members with model: sonnet in frontmatter (faster/practical)

provider_models:
  anthropic:
    high: opus
    mid: sonnet
  openai:
    high: gpt-5.4
    mid: gpt-5.4
  google:
    high: gemini-3-pro
    mid: gemini-3-pro
  ollama:
    high: null   # uses first available model from detect-providers.sh
    mid: null
  nvidia_nim:
    high: deepseek-ai/deepseek-v4-pro
    mid: deepseek-ai/deepseek-v4-flash
  cursor_cli:
    high: gpt-5.4-high
    mid: gemini-3-pro

chairman_defaults:
  anthropic: opus
  openai: gpt-5.4
  google: gemini-3-pro
  ollama: null
  nvidia_nim: deepseek-ai/deepseek-v4-pro
  cursor_cli: gpt-5.4-high

chairman: null  # explicit override; null = use the STEP 1.7 algorithm

Import

# The coordinator reads this from the skill config directory:
# ~/.claude/skills/council/configs/auto-route-defaults.yaml
# Or via plugin layout: ${CLAUDE_PLUGIN_ROOT}/configs/auto-route-defaults.yaml

# Install with configs:
./install.sh --copy-configs

I/O Contract

Inputs

Name Type Required Description
provider_models mapping Yes Provider → {high: model, mid: model}
chairman_defaults mapping Yes Provider → default Chairman model
chairman null Yes Explicit Chairman override (null = use algorithm)

Outputs

Name Type Description
Tier resolution str Member model (opus/sonnet) → concrete model ID per provider
Chairman default str Provider → default Chairman model ID

Usage Examples

Tier Matching

# Member: council-socrates
# Frontmatter: model: opus
# Routed provider: openai

# Coordinator reads auto-route-defaults.yaml:
# provider_models.openai.high = "gpt-5.4"
# Result: socrates → openai / gpt-5.4 / codex_exec

Chairman Auto-Select

# Panel: socrates (anthropic), feynman (openai), aurelius (anthropic)
# No --chairman flag, no config chairman override

# STEP 1.7 auto-select algorithm:
# 1. Detected providers: anthropic, openai
# 2. Panel providers: anthropic, openai
# 3. Prefer provider not on panel: none available (both on panel)
# 4. Fall back to highest-tier: openai (gpt-5.4 per chairman_defaults)
# Result: Chairman = gpt-5.4 via openai (shares provider with feynman — noted in metadata)

Explicit Chairman Override

# In auto-route-defaults.yaml:
chairman:
  provider: google
  model: gemini-3-pro

# OR via CLI flag:
/council --chairman gemini Should we open-source?

# Both override the auto-select algorithm

Related Pages

Implements Principle

Requires Environment

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment