Skip to content

Latest commit

 

History

History
87 lines (68 loc) · 4.07 KB

File metadata and controls

87 lines (68 loc) · 4.07 KB

AgentBay Python SDK API Reference

This directory contains auto-generated API reference documentation.

Quick Links

Synchronous vs Asynchronous

AgentBay provides both synchronous and asynchronous APIs with identical interfaces:

Feature Sync API Async API
Use Case Simple scripts, linear workflows Concurrent operations, high performance
Performance Sequential execution 4-6x faster for parallel tasks
Syntax result = agent.create() result = await agent.create()
Import from agentbay import AgentBay from 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.