AgentBay Python SDK API Reference

May 14, 2026 ยท View on GitHub

This directory contains auto-generated API reference documentation.

Synchronous vs Asynchronous

AgentBay provides both synchronous and asynchronous APIs with identical interfaces:

FeatureSync APIAsync API
Use CaseSimple scripts, linear workflowsConcurrent operations, high performance
PerformanceSequential execution4-6x faster for parallel tasks
Syntaxresult = agent.create()result = await agent.create()
Importfrom agentbay import AgentBayfrom agentbay import AsyncAgentBay

See Synchronous vs Asynchronous Guide for detailed comparison.


Synchronous API

All synchronous API classes are in the sync/ directory:

Asynchronous API

All asynchronous API classes are in the async/ directory:

Common Classes

Shared classes used by both sync and async APIs are in the common/ directory:


Note: This documentation is auto-generated from source code. Run python scripts/generate_api_docs.py to regenerate.