@oona/vlo / agent / DecisionOptions
Interface: DecisionOptions<I>
Defined in: sdk/ts/sdk/src/agent/decision.ts:14
@oona/vlo/agent — the agent layer, built on the authoring surface of @oona/vlo.
An agent is the reducer model in its purest form: state is memory plus budget, the event is an observation, the command is the next tool call. Nothing here does I/O; agentLoop returns a WorkflowDef you hand to defineWorkflow.
Type Parameters
I
I extends z.ZodType
Properties
input
input:
I
Defined in: sdk/ts/sdk/src/agent/decision.ts:16
What the decider is shown. agentLoop sends { goal, memory, candidate, score }.
queue?
optionalqueue?:string
Defined in: sdk/ts/sdk/src/agent/decision.ts:20
retry?
optionalretry?:RetryOptions
Defined in: sdk/ts/sdk/src/agent/decision.ts:19
timeoutMs?
optionaltimeoutMs?:number
Defined in: sdk/ts/sdk/src/agent/decision.ts:22
Wall-clock ceiling for one decision; the host fails the task with cause: "timeout".
tools
tools:
Record<string,Activity>
Defined in: sdk/ts/sdk/src/agent/decision.ts:18
The tools it may pick from, keyed by the name it returns in tool.