3.27 Mixture of Agents (MoA) — Model-Per-Seat Routing
MoA CODING PIPELINE 1. Spec PA writes spec With user requirement 2. Route Model selection Per-task routing 3. Generate Programmer writes Sonnet 4.6 codegen 4. Review Automated QA Lint + type check 5. Deploy Git + Vercel Smoke test gate MoA CODING PIPELINE — sequential pipeline through all phases. 🟢 In Plain EnglishMoA 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.
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.
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.
| Seat | Model | Why this model? |
|---|---|---|
| PA | Session default (user-selected) | PA talks to Eugin — best model in the active session. Rotates with evaluator recommendations. |
| Programmer | Claude Sonnet 4.6 | Top-tier code output and tool-use accuracy. Pinned for consistency across all coding tasks. |
| Scribe | Kimi K3 | Long-context, document-quality output. Excellent for HTML generation and structured prose. |
| Architect | Kimi K3 | Deep reasoning over large codebases. Called in only for ADR-class decisions. |
| RedTeam | Claude Opus 4 (thinking) | Maximum adversarial capability for security reviews and threat modelling. |
What MoA Is NOT
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:
-
1PA 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. -
2Programmer 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.
-
3PA 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
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
Section C Model Routing Table
The full routing table for all 5 seats. Pinned in each profile’s config.yaml.
| Profile | Pinned Model | Config path | Spawnable by cron? |
|---|---|---|---|
pa | Session default | ~/.hermes/profiles/pa/config.yaml | No — PA is the dispatcher, not a dispatch target |
programmer | claude-sonnet-4-6 | ~/.hermes/profiles/programmer/config.yaml | Yes — assignee_profile=programmer |
scribe | kimi-k3 | ~/.hermes/profiles/scribe/config.yaml | Yes — assignee_profile=scribe |
architect | kimi-k3 | ~/.hermes/profiles/architect/config.yaml | No — on-demand only, PA invokes directly |
redteam | claude-opus-4 (thinking) | ~/.hermes/profiles/redteam/config.yaml | No — 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
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
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.