UseAgentOptions
Agent Runtimes / hooks/useAgentRuntimes / UseAgentOptions
Interface: UseAgentOptions
Defined in: hooks/useAgentRuntimes.ts:51
Options for the useAgents hook.
Properties
agentConfig?
optionalagentConfig?:AgentConfig
Defined in: hooks/useAgentRuntimes.ts:55
Agent configuration
agentSpec?
optionalagentSpec?:Record<string,any>
Defined in: hooks/useAgentRuntimes.ts:61
Full agent spec object (persisted with checkpoints)
agentSpecId?
optionalagentSpecId?:string
Defined in: hooks/useAgentRuntimes.ts:53
Agent spec ID — when provided, enables full lifecycle management (launch, pause, resume, terminate)
autoCreateAgent?
optionalautoCreateAgent?:boolean
Defined in: hooks/useAgentRuntimes.ts:57
Auto-create agent when runtime connects (default: true)
autoStart?
optionalautoStart?:boolean
Defined in: hooks/useAgentRuntimes.ts:59
Auto-start runtime on mount (default: false)