Interface AgentSpec

Minimum spec the manager must supply when calling spawn_specialist.

interface AgentSpec {
    role: string;
    instructions: string;
    model?: string;
    provider?: string;
    justification?: string;
}

Properties

role: string

Identifier for the new agent — becomes part of delegate_to_<role>.

instructions: string

System instructions for the new agent.

model?: string

Optional override of the agency-level model.

provider?: string

Optional override of the agency-level provider.

justification?: string

Optional justification (required when EmergentPlannerConfig.requireJustification is true).