Skip to main content
Agents can run with different execution settings - timeouts, retries, and parallel processing. For user-driven stops (a Stop button), see Cancellation — timeouts stay here.

Quick Start

1

Simple Usage

2

With Configuration


Running a task with execute(task?, context?)

execute() runs one task on an agent and matches Python’s Agent.execute(task, context=None).
Breaking change (v2). Before this release, a single string argument was the previous result and the agent always ran its own instructions. That chaining call is now written execute(undefined, previousResult). See Agent → execute for the full resolution order.

User Interaction Flow


Configuration Levels


Execution Options


API Reference

ExecutionConfig

Complete configuration options

Best Practices

Most tasks complete in 30-60 seconds.
Network calls and external APIs benefit from retries.
Too many parallel tasks can overwhelm resources.

Workflows

Multi-step workflows

Failover

Automatic backup