Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Merge branch 'main' into feature/agent/uitars-mlx

Dillon DuPont979c6ae6ffc1
diff --cc README.md
index 04e7f0543e,640902dcc6..1e286f3ab9
--- a/README.md
+++ b/README.md
@@@ -79,11 -79,11 +79,11 @@@ If you want to use AI agents with virtu
from computer import Computer
from agent import ComputerAgent, LLM, AgentLoop, LLMProvider
- async with Computer(verbosity=logging.DEBUG) as macos_computer:
+ async with Computer(os_type="macos", display="1024x768") as macos_computer:
agent = ComputerAgent(
computer=macos_computer,
- loop=AgentLoop.OPENAI, # or AgentLoop.ANTHROPIC, or AgentLoop.UITARS, or AgentLoop.OMNI
- model=LLM(provider=LLMProvider.OPENAI) # or LLM(provider=LLMProvider.ANTHROPIC)
+ loop=AgentLoop.OPENAI, # or AgentLoop.UITARS, AgentLoop.OMNI, or AgentLoop.UITARS, or AgentLoop.ANTHROPIC
+ model=LLM(provider=LLMProvider.OPENAI) # or LLM(provider=LLMProvider.MLXVLM, name="mlx-community/UI-TARS-1.5-7B-4bit")
)
tasks = [