Principle:0xNyk Council of high intelligence Multi Provider Diversity
| Knowledge Sources | |
|---|---|
| Domains | AI, Multi_Model_Systems, Routing |
| Last Updated | 2026-10-20 00:00 GMT |
Overview
A routing strategy that distributes deliberation seats across different LLM provider families to reduce correlated reasoning errors, enforced by polarity-pair separation and provider-spread constraints.
Description
Multi-Provider Diversity is the principle that a deliberation panel should not be served by a single LLM provider when alternatives are available. Different model families (Anthropic, OpenAI, Google, open-weight via Ollama, NVIDIA NIM, Cursor aggregator) have different training data, reasoning biases, and failure modes. Routing seats across providers ensures that the panel's collective blind spots are not all the same provider's blind spots.
The routing algorithm enforces this through layered constraints: polarity-pair separation (hard constraint — opposing thinkers must be on different providers), provider spread (hard constraint — even distribution across available providers), provider affinity (soft tiebreaker — prefer providers listed in the member's frontmatter), and tier matching (soft — match the member's model tier to the provider's high/mid tier).
= Usage
Apply this principle when multiple LLM providers are detected and available. Skip it when only one provider exists (Claude-only setups remain valid). Key scenarios:
- Auto-routing: detect providers, then apply the routing algorithm
- Manual routing: user provides a `--models` YAML with explicit seat mappings
- No routing: `--no-auto-route` flag uses agent frontmatter defaults (Claude-only)
Theoretical Basis
The principle rests on the observation that LLM families have correlated error patterns:
If all seats run on the same provider, errors are highly correlated. Distributing across providers decorrelates the error terms, improving the panel's collective accuracy.
Routing algorithm (applied in order):
- Polarity-pair separation (hard): For any polarity pair where both members are on the panel, assign to different providers. This ensures opposing thinkers don't share training bias.
- Provider spread (hard): With N providers and M members, each provider gets floor(M/N) or ceil(M/N) members. Aggregators (NIM, Cursor) count as single providers.
- Provider affinity (soft): Prefer providers listed earlier in the member's `provider_affinity` frontmatter array. NIM assigned only when no other provider has capacity.
- Tier matching (soft): Members with `model: opus` get high-tier models; `model: sonnet` get mid-tier. Per `configs/auto-route-defaults.yaml`.
- OpenAI-compatible hydration: For seats on `openai_compatible_api` providers, resolve `base_url` and `api_key_env` at routing time.
# Abstract algorithm (NOT real implementation)
def route_seats(panel, detected_providers, config):
assignments = {}
# 1. Polarity-pair separation (hard)
for a, b in polarity_pairs_on_panel(panel):
assignments[a], assignments[b] = different_providers(detected_providers)
# 2. Provider spread (hard)
distribute_evenly(panel, detected_providers, assignments)
# 3. Provider affinity (soft)
for member in unassigned(panel):
for provider in member.provider_affinity:
if has_capacity(provider, assignments):
assignments[member] = provider
break
# 4. Tier matching (soft)
for member, provider in assignments.items():
tier = "high" if member.model == "opus" else "mid"
assignments[member] = (provider, config.provider_models[provider][tier])
return assignments
Related Pages
Implemented By
- Implementation:0xNyk_Council_of_high_intelligence_Auto_Routing_Algorithm
- Implementation:0xNyk_Council_of_high_intelligence_Dispatch_Methods
- Implementation:0xNyk_Council_of_high_intelligence_detect_providers_sh
- Implementation:0xNyk_Council_of_high_intelligence_auto_route_defaults_yaml