bodhi-realtime-agent / InteractiveSubagentConfig
Interface: InteractiveSubagentConfig
Defined in: agent/subagent-session.ts:58
Extends SubagentConfig with interactive session options.
Extends
Properties
createInstance()?
optionalcreateInstance: () =>SubagentConfig
Defined in: types/agent.ts:77
Optional factory that returns an isolated subagent config instance per handoff. Use this when tool state must not be shared across concurrent background runs.
Returns
Inherited from
dispose()?
optionaldispose: () =>void|Promise<void>
Defined in: types/agent.ts:79
Optional cleanup function called when the subagent run ends (success, error, or abort).
Returns
void | Promise<void>
Inherited from
inputTimeout?
optionalinputTimeout:number
Defined in: agent/subagent-session.ts:62
Timeout per waitForInput() call in ms. Default: 120_000 (2 min).
instructions
instructions:
string
Defined in: types/agent.ts:62
System instructions for the subagent's LLM call.
Inherited from
interactive?
optionalinteractive:boolean
Defined in: agent/subagent-session.ts:60
Whether this subagent supports interactive user input.
Overrides
maxInputRetries?
optionalmaxInputRetries:number
Defined in: agent/subagent-session.ts:64
Max retries before cancellation on timeout. Default: 3.
maxSteps?
optionalmaxSteps:number
Defined in: types/agent.ts:66
Maximum number of LLM steps before stopping (default 5).
Inherited from
model?
optionalmodel:string
Defined in: types/agent.ts:70
Override the model used for this subagent (defaults to session model).
Inherited from
name
name:
string
Defined in: types/agent.ts:60
Unique name identifying this subagent configuration.
Inherited from
timeout?
optionaltimeout:number
Defined in: types/agent.ts:68
Timeout in milliseconds for the entire subagent run.
Inherited from
tools
tools:
Record<string,unknown>
Defined in: types/agent.ts:64
Vercel AI SDK tool() definitions available to the subagent.