UseAgentOptions
Agent Runtimes / hooks/useAgentRuntimes / UseAgentOptions
Interface: UseAgentOptions
Defined in: src/hooks/useAgentRuntimes.ts:54
Options for the useAgents hook.
Properties
agentConfig?
optionalagentConfig?:AgentConfig
Defined in: src/hooks/useAgentRuntimes.ts:58
Agent configuration
agentSpec?
optionalagentSpec?:Record<string,any>
Defined in: src/hooks/useAgentRuntimes.ts:64
Full agent spec object (persisted with checkpoints)
agentSpecId?
optionalagentSpecId?:string
Defined in: src/hooks/useAgentRuntimes.ts:56
Agent spec ID — when provided, enables full lifecycle management (launch, pause, resume, terminate)
autoCreateAgent?
optionalautoCreateAgent?:boolean
Defined in: src/hooks/useAgentRuntimes.ts:60
Auto-create agent when runtime connects (default: true)
autoStart?
optionalautoStart?:boolean
Defined in: src/hooks/useAgentRuntimes.ts:62
Auto-start runtime on mount (default: false)
runtimeCreationBaseUrl?
optionalruntimeCreationBaseUrl?:string
Defined in: src/hooks/useAgentRuntimes.ts:72
Explicit base URL for runtime create/list operations.
runtimeCreationTarget?
optionalruntimeCreationTarget?:RuntimeCreationTarget
Defined in: src/hooks/useAgentRuntimes.ts:70
Where runtime create/list operations should be sent.
backend-services: use backend runtimes service URLlocal-agent-runtimes: use local agent-runtimes URL