CuaReferenceAgent sdkv0.3

Agent SDK v0.3 API Reference

API reference for Agent SDK version 0.3

This is documentation for v0.3. View latest version.

v0.3.2

pip install cua-agent==0.3.2

Cua (Computer Use) Agent for AI-driven computer interaction.

Classes

ClassDescription
LLMProviderSupported LLM providers.
LLMConfiguration for LLM model and provider.
ComputerAgentA computer agent that can perform automated tasks using natural language instructions.

LLMProvider

Supported LLM providers.

LLM

Configuration for LLM model and provider.

ComputerAgent

A computer agent that can perform automated tasks using natural language instructions.

Methods

ComputerAgent.initialize

async def initialize(self) -> None

Initialize the agent and its components.

ComputerAgent.run

async def run(self, task: str) -> AsyncGenerator[AgentResponse, None]

Run a task using the computer agent.

Args: task: Task description

Yields: Agent response format

Was this page helpful?


On this page