Authentication and Initialization
The SDK uses cookie-based authentication with Bearer token format. The API key is passed as a cookie namedaccess_token with value Bearer {api_key}.
ToolHub
list_tools
Retrieves the catalog of available managed tools.
run_weather_tool
Executes the weather tool to retrieve current weather data for a specified city.
list_google_emails
Lists all emails from the user’s Gmail account.
Deployment
deploy
The Deployment client manages the agent deployment lifecycle, including packaging, uploading, and listing deployed applications.
Signature: deploy(folder: Path, name: str, description: Optional[str] = None, envs: Optional[dict[str, str]] = None) -> dict
Parameters:
- folder (Path): Path to directory containing agent code
- name (str): Deployment name (must be unique)
- description (str, optional): Human-readable deployment description
- envs (dict[str, str], optional): Environment variables as key-value pairs
- id: Unique deployment identifier
- status: Deployment status (“BUILDING”, “READY”, “FAILED”)
- url: Endpoint URL (when status is “READY”)