Skip to main content

Interface: SpawnAgentRevivalRequest

Defined in: chat/src/spawn-agent.ts:30

Request to spawn or revive an agent

Properties

context?

optional context?: Record<string, any>

Defined in: chat/src/spawn-agent.ts:42


goal

goal: string

Defined in: chat/src/spawn-agent.ts:34


id?

optional id?: string

Defined in: chat/src/spawn-agent.ts:32

Optional: persistent agent ID (for revival)


maxIterations?

optional maxIterations?: number

Defined in: chat/src/spawn-agent.ts:37


message?

optional message?: string

Defined in: chat/src/spawn-agent.ts:41

Optional: new message when reviving (instead of re-running goal)


name

name: string

Defined in: chat/src/spawn-agent.ts:33


retryOnFailure?

optional retryOnFailure?: boolean

Defined in: chat/src/spawn-agent.ts:38


systemPrompt

systemPrompt: string

Defined in: chat/src/spawn-agent.ts:35


tools

tools: string[]

Defined in: chat/src/spawn-agent.ts:36