RAIA™ Specification

3.27 Mixture of Agents (MoA) — Model-Per-Seat Routing

MoA in RAIA (Real estate Artificial Intelligence Agent) means each seat uses the best model for its job. PA uses the session model. Programmer uses Sonnet 4.6. Scribe and Architect use Kimi K3. RedTeam uses Opus thinking. It does NOT mean routing tasks through multiple profiles. The 8-profile chain was retired in ADR-271 because the coordination overhead outweighed the value.

← Back to Developer Hub TEXTBOOK SPECIFICATION
🟢 In Plain English

MoA in RAIA (Real estate Artificial Intelligence Agent) means each seat uses the best model for its job. PA uses the session model. Programmer uses Sonnet 4.6. Scribe and Architect use Kimi K3. RedTeam uses Opus thinking. It does NOT mean routing tasks through multiple profiles. The 8-profile chain was retired in ADR-271 because the coordination overhead outweighed the value.

Model-selection-per-seat: each Hermes profile uses the best LLM for its job. MoA is not multi-profile orchestration. The 8-profile chain was retired in ADR-271 — replaced by the 2-hop PA→Programmer→PA pattern.

ADR-271 Model Routing 2-Hop Pattern MoA
5
Seats with pinned models — PA, Programmer, Scribe, Architect, RedTeam
2
Hops in the coding pipeline — PA specifies, Programmer executes
8
Profiles in the retired chain — PA→PM→Architect→Programmer→Quality…
1w
Evaluator cron cadence — cron 7c5852ea6fae, Sunday 01:00 UTC

Section A MoA = Best Model Per Seat

Mixture of Agents, in the RAIA (Real estate Artificial Intelligence Agent) context, means that different Hermes profiles run different LLMs — each model chosen for what that seat actually does all day.

SeatModelWhy this model?
PASession default (user-selected)PA talks to Eugin — best model in the active session. Rotates with evaluator recommendations.
ProgrammerClaude Sonnet 4.6Top-tier code output and tool-use accuracy. Pinned for consistency across all coding tasks.
ScribeKimi K3Long-context, document-quality output. Excellent for HTML generation and structured prose.
ArchitectKimi K3Deep reasoning over large codebases. Called in only for ADR-class decisions.
RedTeamClaude Opus 4 (thinking)Maximum adversarial capability for security reviews and threat modelling.

What MoA Is NOT

MoA ≠ Multi-Profile Orchestration

In the old system, MoA meant a task bounced through 4–6 profiles before a human saw output: PA received the request → PM wrote the PRD → Architect designed it → Programmer built it → Quality reviewed it → Data verified the schema → DevOps deployed it. That is NOT what MoA means now. MoA now means: one seat, one model, one job. The best model for that job. No handoff tax.

graph LR
    subgraph MoA_Current["MoA (Current - ADR-271)"]
        PA1["PA\nSession model"] -->|spec| Prog1["Programmer\nSonnet 4.6"]
        Prog1 -->|output| PA1
        PA1 -.->|ADR only| Arch1["Architect\nKimi K3"]
        PA1 -.->|security only| RT1["RedTeam\nOpus thinking"]
        Scribe1["Scribe\nKimi K3"] -.->|docs tasks| PA1
    end
    subgraph Retired["Retired 8-Profile Chain"]
        PA2[PA] --> PM2[PM] --> Arch2[Architect] --> Prog2[Programmer]
        Prog2 --> Qual2[Quality] --> Data2[Data] --> DevOps2[DevOps] --> PA2
    end

Section B The 2-Hop Pattern

Every coding task follows this pattern:

  1. 1
    PA specifies

    PA receives Eugin’s request, reads STATE.md, reads the relevant README, and writes a precise implementation spec. The spec includes: what to build, what files to touch, what schema changes are needed, what the git commit message should say. PA dispatches to Programmer via kanban (assignee_profile=programmer) or direct CLI invocation.

  2. 2
    Programmer executes

    Programmer (Sonnet 4.6) receives the spec, reads the codebase, writes the code, runs tests, and returns the finished implementation. Programmer does not talk to Eugin. Programmer does not invent scope.

  3. 3
    PA verifies

    PA checks the output against the original spec. If correct: commits and marks Done. If not: sends Programmer back for a fix with a precise correction note. This is PA completing its own job — not a third hop.

Why the 8-Profile Chain Was Retired

Orchestration Tax

The 8-profile chain created 4–6 handoffs per task. Each handoff: (a) started a new Hermes session with a fresh context window, losing the previous session’s understanding; (b) required a profile to re-read all the same files the previous one read; (c) introduced a new place for the spec to drift from the original intent. The total LLM cost of the handoff chain exceeded the cost of doing the task directly. ADR-271 abolished the chain. Total handoffs now: 1 outbound (PA to Programmer), 1 inbound (Programmer to PA). Two hops.

Weekly Evaluator Cron

Model assignments are not permanent. A weekly cron (cron ID 7c5852ea6fae, fires every Sunday at 01:00 UTC) runs a model evaluation battery and reports results to PA via Telegram. If a newer model outperforms the pinned model on the test suite for a given seat, PA gets a recommendation to update the pin. PA reports to Eugin before changing any model assignment.

# View evaluator cron
hermes cron list | grep 7c5852ea6fae

# Schedule: 0 1 * * 0  (Sunday 01:00 UTC)
# Tests: code generation quality, tool-use accuracy, context retention
# Output: Telegram message to PA with per-seat scores and delta vs current pin

🔒 Developer-Only Section

Section C Model Routing Table

The full routing table for all 5 seats. Pinned in each profile’s config.yaml.

ProfilePinned ModelConfig pathSpawnable by cron?
paSession default~/.hermes/profiles/pa/config.yamlNo — PA is the dispatcher, not a dispatch target
programmerclaude-sonnet-4-6~/.hermes/profiles/programmer/config.yamlYes — assignee_profile=programmer
scribekimi-k3~/.hermes/profiles/scribe/config.yamlYes — assignee_profile=scribe
architectkimi-k3~/.hermes/profiles/architect/config.yamlNo — on-demand only, PA invokes directly
redteamclaude-opus-4 (thinking)~/.hermes/profiles/redteam/config.yamlNo — on-demand only, PA invokes directly

delegation.model Config

Each profile’s config.yaml has a delegation.model key that specifies the model used when delegate_task is called FROM that profile:

# ~/.hermes/profiles/programmer/config.yaml
model: claude-sonnet-4-6
delegation:
  model: claude-sonnet-4-6   # model used in sub-sessions spawned by this profile
  max_depth: 2               # max nesting of delegate_task calls

Why delegate_task Has No model Param

Model is a Profile Property, Not a Call Argument

The delegate_task tool has no model parameter. The model for a delegated session is determined by the target profile’s config.yaml — not by the caller. This prevents the failure mode where PA spawns a Programmer session with a cheap model, getting lower-quality output silently. The model pin lives in one place (config.yaml), is version-controlled, and only changes after the evaluator cron recommends it.

Profile Pinning via config.yaml

To change a profile’s model:

# 1. Check current pin
hermes config get model --profile programmer

# 2. Update the pin
hermes config set model claude-sonnet-4-7 --profile programmer

# 3. Document in STATE.md section 8 and update this routing table
Never Change a Model Pin Without Documenting It

Model changes affect all future dispatched sessions for that seat. Always: (1) update STATE.md §8, (2) update this routing table, (3) report to Eugin via PA. Do not change model pins during an active dispatch cycle.

Repository Code

The live codebase implementation for this textbook logic sits within the following repository folder: