Skip to main content
AutonomousAgent inherits all execution methods from Agent, including synchronous, asynchronous, and streaming options.

Synchronous Execution

The simplest way to run an autonomous agent:

Asynchronous Execution

For async applications:

Streaming Output

Stream responses as they’re generated:

Long Tasks

The agent handles complex long tasks automatically:

Working with Files

Example of reading and modifying files:

Running Shell Commands

Execute terminal commands safely:

Accessing Results

Get detailed information about the execution:

Session Persistence

Session memory is enabled by default, so the agent remembers context between tasks: