Skip to content
Français

RecipeBindings

import type { RecipeBindings } from "@elie-laloum/outpost/recipes";
  • sandboxRequired
    Sandbox
    Caller-owned open sandbox shared by all command and agent steps. Keep it open until Workflow.start() settles, then close it; recipe concurrency must be 1.
  • agentsOptional
    Readonly<Record<string, DispatchAgent>> | undefined
    Composed Outpost agents keyed by the exact names used in YAML agent fields. Missing names are rejected at declaration; command-only recipes may omit this registry. Authentication and model choices stay in the composed agents.
  • inputsOptional
    Readonly<Record<string, WorkflowJson>> | undefined
    Declared recipe input values; format 3 also accepts lossless JSON objects, arrays and null. Inputs are validated before tasks run.
export interface RecipeBindings {
  readonly sandbox: Sandbox;
  readonly agents?: Readonly<Record<string, DispatchAgent>>;
  readonly inputs?: Readonly<Record<string, WorkflowJson>>;
}