Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
change default model
Sarina Lia8d21ae77bcd
diff --git a/README.md b/README.mdindex 024353b419..270f85e07c 100644--- a/README.md+++ b/README.md@@ -117,7 +117,7 @@ from agent import ComputerAgent# ComputerAgent works with any computer initialized with the Computer SDKagent = ComputerAgent(- model="anthropic/claude-3-5-sonnet-20241022",+ model="anthropic/claude-sonnet-4-5-20250929",tools=[computer],max_trajectory_budget=5.0)diff --git a/blog/build-your-own-operator-on-macos-2.md b/blog/build-your-own-operator-on-macos-2.mdindex 1caac8090c..7a42d9ae5a 100644--- a/blog/build-your-own-operator-on-macos-2.md+++ b/blog/build-your-own-operator-on-macos-2.md@@ -268,7 +268,7 @@ from agent import ComputerAgentasync def run_multi_task_workflow():async with Computer() as macos_computer:agent = ComputerAgent(- model="anthropic/claude-3-5-sonnet-20241022",+ model="anthropic/claude-sonnet-4-5-20250929",tools=[macos_computer])diff --git a/docs/content/docs/agent-sdk/custom-computer-handlers.mdx b/docs/content/docs/agent-sdk/custom-computer-handlers.mdxindex c76a5d662e..4559090e24 100644--- a/docs/content/docs/agent-sdk/custom-computer-handlers.mdx+++ b/docs/content/docs/agent-sdk/custom-computer-handlers.mdx@@ -34,7 +34,7 @@ You can then use this as a tool for your agent:from agent import ComputerAgentagent = ComputerAgent(- model="anthropic/claude-3-5-sonnet-20241022",+ model="anthropic/claude-sonnet-4-5-20250929",tools=[custom_computer],)@@ -122,7 +122,7 @@ class MyCustomComputer(AsyncComputerHandler):custom_computer = MyCustomComputer()agent = ComputerAgent(- model="anthropic/claude-3-5-sonnet-20241022",+ model="anthropic/claude-sonnet-4-5-20250929",tools=[custom_computer],)diff --git a/docs/content/docs/agent-sdk/custom-tools.mdx b/docs/content/docs/agent-sdk/custom-tools.mdxindex 00847cf6ee..7e47ebf96c 100644--- a/docs/content/docs/agent-sdk/custom-tools.mdx+++ b/docs/content/docs/agent-sdk/custom-tools.mdx@@ -16,7 +16,7 @@ def calculate(a: int, b: int) -> int:# Use with agentagent = ComputerAgent(- model="anthropic/claude-3-5-sonnet-20241022",+ model="anthropic/claude-sonnet-4-5-20250929",tools=[computer, calculate])```@@ -43,7 +43,7 @@ from computer import Computercomputer = Computer(...)agent = ComputerAgent(- model="anthropic/claude-3-5-sonnet-20241022",+ model="anthropic/claude-sonnet-4-5-20250929",tools=[computer, read_file],)```diff --git a/docs/content/docs/agent-sdk/telemetry.mdx b/docs/content/docs/agent-sdk/telemetry.mdxindex cba00cab44..a045f351af 100644--- a/docs/content/docs/agent-sdk/telemetry.mdx+++ b/docs/content/docs/agent-sdk/telemetry.mdx@@ -65,16 +65,31 @@ computer = Computer(telemetry_enabled=False)```pythonfrom agent import ComputerAgent+import os++# Basic telemetry - performance metrics only (opt-out, enabled by default)+agent = ComputerAgent(+ model="claude-sonnet-4-5-20250929",+ telemetry_enabled=True # Default is True+)++# Enable telemetry with full conversation trajectory logging (opt-in)+agent = ComputerAgent(+ model="claude-sonnet-4-5-20250929",+ telemetry_enabled={+ "log_trajectory": True # Logs full conversation items+ }+)# Disable completelyagent = ComputerAgent(- model="claude-3-5-sonnet-20241022",+ model="claude-sonnet-4-5-20250929",telemetry_enabled=False)# Enable trajectory logging (opt-in)agent = ComputerAgent(- model="claude-3-5-sonnet-20241022",+ model="claude-sonnet-4-5-20250929",telemetry_enabled={"log_trajectory": True})```diff --git a/docs/content/docs/example-usecases/form-filling.mdx b/docs/content/docs/example-usecases/form-filling.mdxindex d9a6158103..f60beaba67 100644--- a/docs/content/docs/example-usecases/form-filling.mdx+++ b/docs/content/docs/example-usecases/form-filling.mdx@@ -76,7 +76,7 @@ verbosity=logging.INFO,) as computer:agent = ComputerAgent(- model="anthropic/claude-3-5-sonnet-20241022",+ model="anthropic/claude-sonnet-4-5-20250929",tools=[computer],only_n_most_recent_images=3,verbosity=logging.INFO,@@ -189,7 +189,7 @@ verbosity=logging.INFO,) as computer:agent = ComputerAgent(- model="anthropic/claude-3-5-sonnet-20241022",+ model="anthropic/claude-sonnet-4-5-20250929",tools=[computer],only_n_most_recent_images=3,verbosity=logging.INFO,@@ -293,7 +293,7 @@ verbosity=logging.INFO,) as computer:agent = ComputerAgent(- model="anthropic/claude-3-5-sonnet-20241022",+ model="anthropic/claude-sonnet-4-5-20250929",tools=[computer],only_n_most_recent_images=3,verbosity=logging.INFO,@@ -400,7 +400,7 @@ verbosity=logging.INFO,) as computer:agent = ComputerAgent(- model="anthropic/claude-3-5-sonnet-20241022",+ model="anthropic/claude-sonnet-4-5-20250929",tools=[computer],only_n_most_recent_images=3,verbosity=logging.INFO,diff --git a/docs/content/docs/get-started/quickstart.mdx b/docs/content/docs/get-started/quickstart.mdxindex e5c2d166f2..3cfa71c261 100644--- a/docs/content/docs/get-started/quickstart.mdx+++ b/docs/content/docs/get-started/quickstart.mdx@@ -303,7 +303,7 @@ Then, use the `ComputerAgent` object:from agent import ComputerAgentagent = ComputerAgent(- model="anthropic/claude-3-5-sonnet-20241022",+ model="anthropic/claude-sonnet-4-5-20250929",tools=[computer],max_trajectory_budget=5.0)diff --git a/examples/agent_examples.py b/examples/agent_examples.pyindex 42fa5c7f75..6a3772ff65 100644--- a/examples/agent_examples.py+++ b/examples/agent_examples.py@@ -45,7 +45,7 @@ async def run_agent_example():# model="anthropic/claude-opus-4-20250514",# model="anthropic/claude-sonnet-4-20250514",# model="anthropic/claude-3-7-sonnet-20250219",- # model="anthropic/claude-3-5-sonnet-20241022",+ # model="anthropic/claude-sonnet-4-5-20250929",# == UI-TARS ==# model="huggingface-local/ByteDance-Seed/UI-TARS-1.5-7B",# model="mlx/mlx-community/UI-TARS-1.5-7B-6bit",diff --git a/libs/python/agent/agent/cli.py b/libs/python/agent/agent/cli.pyindex dcd4544bb4..10cb40f79c 100644--- a/libs/python/agent/agent/cli.py+++ b/libs/python/agent/agent/cli.py@@ -6,7 +6,7 @@ Usage:Examples:python -m agent.cli openai/computer-use-preview- python -m agent.cli anthropic/claude-3-5-sonnet-20241022+ python -m agent.cli anthropic/claude-sonnet-4-5-20250929python -m agent.cli omniparser+anthropic/claude-3-5-sonnet-20241022"""@@ -232,7 +232,7 @@ async def main():epilog="""Examples:python -m agent.cli openai/computer-use-preview- python -m agent.cli anthropic/claude-3-5-sonnet-20241022+ python -m agent.cli anthropic/claude-sonnet-4-5-20250929python -m agent.cli omniparser+anthropic/claude-3-5-sonnet-20241022python -m agent.cli huggingface-local/ByteDance-Seed/UI-TARS-1.5-7B""",@@ -240,7 +240,7 @@ Examples:parser.add_argument("model",- help="Model string (e.g., 'openai/computer-use-preview', 'anthropic/claude-3-5-sonnet-20241022')",+ help="Model string (e.g., 'openai/computer-use-preview', 'anthropic/claude-sonnet-4-5-20250929')",)parser.add_argument(diff --git a/notebooks/agent_nb.ipynb b/notebooks/agent_nb.ipynbindex 69959037bb..46ca6265bd 100644--- a/notebooks/agent_nb.ipynb+++ b/notebooks/agent_nb.ipynb@@ -430,14 +430,7 @@"execution_count": null,"metadata": {},"outputs": [],- "source": [- "anthropic_agent = ComputerAgent(\n",- " tools=[computer],\n",- " model=\"anthropic/claude-3-5-sonnet-20241022\",\n",- " trajectory_dir=str(Path(\"trajectories\")),\n",- " verbosity=logging.INFO\n",- ")\n"- ]+ "source": "anthropic_agent = ComputerAgent(\n tools=[computer],\n model=\"anthropic/claude-sonnet-4-5-20250929\",\n trajectory_dir=str(Path(\"trajectories\")),\n verbosity=logging.INFO\n)\n"},{"cell_type": "markdown",diff --git a/notebooks/customizing_computeragent.ipynb b/notebooks/customizing_computeragent.ipynbindex 56f0beb955..82ef22b9e5 100644--- a/notebooks/customizing_computeragent.ipynb+++ b/notebooks/customizing_computeragent.ipynb@@ -148,18 +148,7 @@"execution_count": null,"metadata": {},"outputs": [],- "source": [- "from agent.callbacks import ImageRetentionCallback, TrajectorySaverCallback\n",- "\n",- "agent_with_callbacks = ComputerAgent(\n",- " model=\"anthropic/claude-3-5-sonnet-20241022\",\n",- " tools=[computer],\n",- " callbacks=[\n",- " ImageRetentionCallback(only_n_most_recent_images=3),\n",- " TrajectorySaverCallback(\"./trajectories\"),\n",- " ],\n",- ")\n"- ]+ "source": "from agent.callbacks import ImageRetentionCallback, TrajectorySaverCallback\n\nagent_with_callbacks = ComputerAgent(\n model=\"anthropic/claude-sonnet-4-5-20250929\",\n tools=[computer],\n callbacks=[\n ImageRetentionCallback(only_n_most_recent_images=3),\n TrajectorySaverCallback(\"./trajectories\"),\n ],\n)\n"},{"cell_type": "markdown",@@ -198,4 +187,4 @@},"nbformat": 4,"nbformat_minor": 5-}+}\ No newline at end of file