AgentWorkflowParams
AgentWorkflowParams =
object
Defined in: packages/workflow/src/agent/agent-workflow.ts:102
Properties
agents
agents:
BaseWorkflowAgent
[] |AgentWorkflow
[]
Defined in: packages/workflow/src/agent/agent-workflow.ts:108
List of agents to include in the workflow. Need at least one agent. Can also be an array of AgentWorkflow objects, in which case the agents from each workflow will be extracted.
rootAgent
rootAgent:
BaseWorkflowAgent
|AgentWorkflow
Defined in: packages/workflow/src/agent/agent-workflow.ts:114
The agent to start the workflow with.
Must be an agent in the agents
list.
Can also be an AgentWorkflow object, in which case the workflow must have exactly one agent.
memory?
optional
memory:Memory
Defined in: packages/workflow/src/agent/agent-workflow.ts:119
Optional predefined memory to use for the workflow. If not provided, a new empty memory will be created.
verbose?
optional
verbose:boolean
Defined in: packages/workflow/src/agent/agent-workflow.ts:120
timeout?
optional
timeout:number
Defined in: packages/workflow/src/agent/agent-workflow.ts:124
Timeout for the workflow in seconds.