Skip to content

RunOptions

optional abortSignal?: AbortSignal;

optional agentId?: string;

optional driver?: ChannelDriver;

optional historyDelta?: ModelMessage[];

optional input?: UserContent;

The user turn: plain text, or AI SDK multimodal content (text + file/image/audio parts).


optional seedMessages?: ModelMessage[];

optional selection?: ResolvedSelection;

optional sessionId?: string;

optional signalDelivery?: SignalDelivery;

optional userId?: string;

optional wake?: WakeOptions;

Agent-initiated (proactive) turn — mutually exclusive with input. The runtime appends a wake note instead of a user message and runs the normal loop: free-conversation agents proactively re-engage; an active flow re-prompts its current step. Schedule wakes with createWakeJobRunner.