Model policy
Subagent and helper machinery is configuration and spawn parameters, not a fixed pipeline. Model policy chooses which model, prompt, and tool surface fits a subagent or specialized pass. Veyyon is provider-agnostic: no policy hard-codes a provider.
What exists today
- Subagents via the
tasktool (packages/coding-agent/src/subagents/runtime/executor.ts)./subagentsopens the live hub for active and persisted subagent threads. - Explicit model policies: the session model (
defaultModel,/model), profile-wide subagent defaults and per-subagent overrides undersubagent, one row per feature helper underagent.helpers, pluscompaction.model. An unset subagent or helper runs the session’s model and effort. Edit subagents under Settings → Subagents and helpers under Settings → Model → Helpers. See Compaction & project memory and Models, helpers, and profiles. - Plan / goal modes alter prompts and tool availability (
/plan,/goal). The advisor watchdog (advisor.enabledand related settings, inpackages/coding-agent/src/advisor/) is a background continuous-review mechanism rather than a mode you invoke;/advisorreports and configures it. Seedocs/handbook/src/features/advisor.md. - Addressed inter-agent messaging via the
irctool (packages/coding-agent/src/tools/agent/irc.ts,packages/coding-agent/src/subagents/runtime/irc-bus.ts):send/wait/inbox/listops over a process-global bus.sendis fire-and-forget with delivery receipts; the bus wakes an idle recipient with a real turn, wakes an asleep one from its transcript, or injects a non-interrupting aside into a busy one, the shipped analogue of wake-now-vs-defer message routing.wait(orsend await:true) observes the recipient’s reply as a real turn. Controlled byisIrcEnabled: available to every subagent and to a top-level session that can still spawn subagents.
No fixed pipeline
Veyyon does not enforce a staged plan → implement → verify → repair handoff. It uses lighter-weight
spawn, subagent-policy, and irc messaging patterns instead; you compose the stages yourself.
Pair subagent choice with execution-order prompts: explore → plan → edit → verify.