Agent S:像人一样操作电脑的开源计算机使用代理框架(Agent-S)
Agent S 是 Simular 开源的计算机使用代理(Computer Use Agent)框架,通过自然语言任务驱动鼠标、键盘和屏幕操作真实的桌面与网页应用,无需逐个应用做 API 集成或脚本。Agent S3 是第三代框架,来源称其在 OSWorld 上以 72.60% 首次超过人类表现,并支持 macOS、Windows、Linux;可搭配 OpenAI、Anthropic、Gemini、Open Router、vLLM 等模型,推荐 gpt-5-2025-08-07 + UI-TARS-1.5-7B 组合。仓库还提供 pip 安装的 gui-agents 包、CLI 与 Python SDK、可选本地代码执行环境(有安全风险)。
社区作者 · zZz
它解决什么问题
项目概览
Agent S 是一个开源的计算机使用代理(computer use agent)框架,来自 Simular。它接收自然语言任务,观察屏幕,然后通过在普通桌面应用和网页应用中点击、输入、滚动来完成任务——不需要 API 集成,也不需要为每个应用单独写脚本(来源原文:no API integration and no per-app scripting required)。
Agent S3 是该框架的第三代,来源称其是首个在 OSWorld 基准上超过人类表现的计算机使用代理,得分 72.60%,可运行在 macOS、Windows 和 Linux 上,并可与 OpenAI、Anthropic 以及开源权重提供方的模型配合使用。
- 配图 1(Logo):images/agent_s.png
- 配图 2(Agent S3 Results):images/s3_results_new.png
- 配图 3(Star History Chart):Star History 趋势图
主要能力
- 以真实 GUI 为操作对象:鼠标、键盘、屏幕,像人一样操作。
- 跨桌面与网页应用完成长流程任务,无需逐应用做 API 对接。
- 主生成模型(main model)负责规划与决策,另需一个“接地模型”(grounding model)把动作翻译成可执行坐标/代码,接地模型为必需项。
可选本地编码环境:启用后代理可调用 call_code_agent 动作,在本机执行
Python 与 Bash 代码,用于数据处理、文件操作、系统自动化、代码开发、文本处理等更适合编程而非 GUI 交互的任务。
提供 gui_agents SDK,其中 AgentS3 是主代理类,OSWorldACI 是将代理动作转换为可执行
Python 代码的接地代理。
基准与成绩(来源数据)
- 2026 年 8 月(来源标注):Simular 的托管代理产品 Sai 在 OSWorld 2.0 上达到 73% 成功率;该基准包含 108 个长期专业与日常任务,据称熟练人类完成单个任务需要一小时以上。来源称 Sai 超过 OpenAI 报告的 GPT-5.6 Sol 的 62.57%,且单任务成本更低。
- Agent S3 在 OSWorld 的 100 步设置下单独达到 66%,超过此前 63.4% 的 SOTA(GTA1 w/ GPT-5);加入 Behavior Best-of-N 后提升到 72.6%,超过 OSWorld 上约 72% 的人类水平,官方记录为 72.60%。
- 零样本泛化:WindowsAgentArena 上从仅用 Agent S3 的 50.2% 提升到从 3 次 rollout 中选优的 56.6%;AndroidWorld 上从 68.1% 提升到 71.6%。
- 历史数据:2025/10/02 发布 Agent S3 时称在 OSWorld 创下 69.9% 的 SOTA(接近 72% 的人类表现)。
版本与更新(按来源整理)
- 2026/08/28:Sai 登顶 OSWorld 2.0(73%),以更低成本超过 GPT 与 Opus(来源表述)。
- 2026/07/30:Agent S3 论文《Scaling Agents for Computer Use》被 TMLR 2026 接收。
- 2025/12/15:Agent S3 首个在 OSWorld 超过人类水平,得分 72.60%。
- 2025/10/02:发布 Agent S3 及其技术论文,OSWorld 新 SOTA 69.9%,在 WindowsAgentArena 与 AndroidWorld 上泛化良好,且更简单、更快、更灵活。
- 2025/08/01:发布 Agent S2.5(gui-agents v0.2.5),在 OSWorld-Verified 上取得新 SOTA。
- 2025/07/07:Agent S2 论文被 COLM 2025 接收。
- 2025/04/27:Agent S 论文获 ICLR 2025 Agentic AI for Science Workshop 最佳论文奖。
- 2025/04/01:发布 Agent S2 论文,在 OSWorld、WindowsAgentArena、AndroidWorld 上刷新结果。
- 2025/03/12:发布 Agent S2 与 gui-agents v0.2.0,称超越 OpenAI 的 CUA/Operator 与 Anthropic 的 Claude 3.7 Sonnet Computer-Use。
- 2025/01/22:Agent S 论文被 ICLR 2025 接收。
- 2025/01/21:发布 gui
— 本文由 AI 根据公开来源辅助整理,命令、版本与许可证请在使用前到原始页面复核。
安装 / 开始使用
💡 Introduction Agent S is an open source computer use agent framework from Simular .
It takes a natural-language task, looks at the screen, and completes the task by clicking, typing, and scrolling in ordinary desktop and web applications — no API integration and no per-app scripting required.
Agent S3 is the third generation of the framework and was the first computer use agent to surpass human performance on the OSWorld benchmark, at 72.60% .
It runs on macOS, Windows, and Linux, and works with models from OpenAI, Anthropic, and open-weight providers.
The research continues in production: in August 2026, Sai — Simular's hosted computer use agent, built on the ideas in this repo — reached a 73% success rate on OSWorld 2.0 , ahead of GPT-5.6 Sol at 62.57% as reported by OpenAI, and at lower cost.
If you are looking for a hosted, production version of this technology rather than a research framework, see Sai . Whether you're researching OS agents, automating your own desktop, or contributing to open source computer use, we're excited to have you here.
🎯 OSWorld Benchmark Results August 2026 — Sai tops OSWorld 2.0 (73%) Our flagship product Sai reaches a 73% success rate on OSWorld 2.0 , a 108-task benchmark of long professional and everyday tasks that take skilled humans more than an hour to complete.
That places Sai ahead of GPT-5.6 Sol at 62.57% as reported by OpenAI, and it does so at lower cost per task. Full write-up: Sai Tops OSWorld 2.0 .
Agent S3 on OSWorld, WindowsAgentArena and AndroidWorld On OSWorld, Agent S3 alone reaches 66% in the 100-step setting, already exceeding the previous state of the art of 63.4% (GTA1 w/ GPT-5).
With the addition of Behavior Best-of-N, performance climbs even higher to 72.6%, surpassing human-level performance on OSWorld (~72%)! Agent S3 also demonstrates strong zero-shot generalization! On WindowsAgentArena, accuracy rises from 50.
2% using only Agent S3 to 56.6% by selecting from 3 rollouts. Similarly on AndroidWorld, performance improves from 68.1% to 71.6% 🛠️ Installation & Setup Prerequisites
Installation To install Agent S3 without cloning the repository, run
- 🛠️ Installation & Setup
- 🚀 Usage
- 🎬 See Sai in Action
- 🤝 Acknowledgements
- 💬 Citation
- Single Monitor : Our agent is designed for single monitor screens
- Security : The agent runs Python code to control your computer - use with care
- Supported Platforms : Linux, Mac, and Windows
pip install gui-agentsIf you would like to test Agent S3 while making changes, clone the repository and install using
pip install -e .Don't forget to also brew install tesseract ! Pytesseract requires this extra installation to work. API Configuration Option 1: Environment Variables Add to your .bashrc (Linux) or .zshrc (MacOS):
export OPENAI_API_KEY= < YOUR_API_KEY >export ANTHROPIC_API_KEY= < YOUR_ANTHROPIC_API_KEY >export HF_TOKEN= < YOUR_HF_TOKEN >Option 2
Python Scriptimport os os . environ [ "OPENAI_API_KEY" ] = "<YOUR_API_KEY>" Supported Models We support Azure OpenAI, Anthropic, Gemini, Open Router, and vLLM inference. See models.md for details. Grounding Models (Required) For optimal performance, we recommend UI-TARS-1.
5-7B hosted on Hugging Face Inference Endpoints or another provider. See Hugging Face Inference Endpoints for setup instructions.
🚀 Usage ⚡️ Recommended Setup: For the best configuration, we recommend using OpenAI gpt-5-2025-08-07 as the main model, paired with UI-TARS-1.5-7B for grounding. CLI Note, this is running Agent S3, our improved agent, without bBoN.
Run Agent S3 with the required parameters: agent_s \ --provider openai \ --model gpt-5-2025-08-07 \ --ground_provider huggingface \ --ground_url http://localhost:8080 \ --ground_model ui-tars-1.
5-7b \ --grounding_width 1920 \ --grounding_height 1080 Local Coding Environment (Optional) For tasks that require code execution (e.g.
, data processing, file manipulation, system automation), you can enable the local coding environment: agent_s \ --provider openai \ --model gpt-5-2025-08-07 \ --ground_provider huggingface \ --ground_url http://localhost:8080 \ --ground_model ui-tars-1.
5-7b \ --grounding_width 1920 \ --grounding_height 1080 \ --enable_local_env ⚠️ WARNING : The local coding environment executes arbitrary Python and Bash code locally on your machine. Only use this feature in trusted environments and with trusted inputs.
Required Parameters
Optional Parameters
Grounding Model Dimensions The grounding width and height should match the output coordinate resolution of your grounding model:
Optional Parameters
Local Coding Environment Details The local coding environment enables Agent S3 to execute Python and Bash code directly on your machine. This is particularly useful for:
- --provider : Main generation model provider (e.g., openai, anthropic, etc.) - Default: "openai"
- --model : Main generation model name (e.g., gpt-5-2025-08-07) - Default: "gpt-5-2025-08-07"
- --ground_provider : The provider for the grounding model - Required
- --ground_url : The URL of the grounding model - Required
- --ground_model : The model name for the grounding model - Required
- --grounding_width : Width of the output coordinate resolution from the grounding model - Required
- --grounding_height : Height of the output coordinate resolution from the grounding model - Required
- --model_temperature : The temperature to fix all model calls to (necessary to set to 1.0 for models like o3 but can be left blank for other models)
- UI-TARS-1.5-7B : Use --grounding_width 1920 --grounding_height 1080
- UI-TARS-72B : Use --grounding_width 1000 --grounding_height 1000
- --model_url : Custom API URL for main generation model - Default: ""
- --model_api_key : API key for main generation model - Default: ""
- --ground_api_key : API key for grounding model endpoint - Default: ""
- --max_trajectory_length : Maximum number of image turns to keep in trajectory - Default: 8
- --enable_reflection : Enable reflection agent to assist the worker agent - Default: True
- --enable_local_env : Enable local coding environment for code execution (WARNING: Executes arbitrary code locally) - Default: False
- Data Processing : Manipulating spreadsheets, CSV files, or databases
- File Operations : Bulk file processing, content extraction, or file organization