AgentWorkflowParams
AgentWorkflowParams =
object
Defined in: .build/typescript/packages/workflow/src/agent/agent-workflow.ts:114
Properties
Section titled “Properties”agents
Section titled “agents”agents:
BaseWorkflowAgent
[] |AgentWorkflow
[]
Defined in: .build/typescript/packages/workflow/src/agent/agent-workflow.ts:120
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
Section titled “rootAgent”rootAgent:
BaseWorkflowAgent
|AgentWorkflow
Defined in: .build/typescript/packages/workflow/src/agent/agent-workflow.ts:126
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?
Section titled “memory?”
optional
memory:Memory
Defined in: .build/typescript/packages/workflow/src/agent/agent-workflow.ts:131
Optional predefined memory to use for the workflow. If not provided, a new empty memory will be created.
verbose?
Section titled “verbose?”
optional
verbose:boolean
Defined in: .build/typescript/packages/workflow/src/agent/agent-workflow.ts:135
Whether to log verbose output
timeout?
Section titled “timeout?”
optional
timeout:number
Defined in: .build/typescript/packages/workflow/src/agent/agent-workflow.ts:139
Timeout for the workflow in seconds.
logger?
Section titled “logger?”
optional
logger:Logger
Defined in: .build/typescript/packages/workflow/src/agent/agent-workflow.ts:143
Attach optional custom logger