Skip to content
Français

HarnessSubagentOptions

import type { HarnessSubagentOptions } from "@elie-laloum/outpost";
  • nameRequired
    string
    Unique tool name exposed to the parent model, using 1–64 letters, digits, underscores or hyphens.
  • descriptionRequired
    string
    Tells the parent model when to delegate to this child; sent with the tool schema.
  • agentRequired
    CustomAgent
    Built-in agent from createAgent({ harness: createHarness(…), model }) that supplies the child’s instructions, tools, limits and permissions. A CLI agent is rejected with code configuration.
export interface HarnessSubagentOptions {
  readonly name: string;
  readonly description: string;
  readonly agent: CustomAgent;
}