Agent S: an open agentic framework that uses computers like a human
Agent S: an open agentic framework that uses computers like a human
An open-source computer use agent that operates a real GUI — mouse, keyboard, and screen — the way a person does.
[Sai OSWorld 2.0 report] [S3 blog] [S3 Paper (TMLR 2026)] [S3 Video]
[S2 blog] [S2 Paper (COLM 2025)] [S2 Video]
[S1 blog] [S1 Paper (ICLR 2025)] [S1 Video]
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.
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.
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%
To install Agent S3 without cloning the repository, run
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.
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>import os
os.environ["OPENAI_API_KEY"] = "<YOUR_API_KEY>"We support Azure OpenAI, Anthropic, Gemini, Open Router, and vLLM inference. See models.md for details.
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.
⚡️ 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.
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 1080For 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.
--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)The grounding width and height should match the output coordinate resolution of your grounding model:
--grounding_width 1920 --grounding_height 1080--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: FalseThe local coding environment enables Agent S3 to execute Python and Bash code directly on your machine. This is particularly useful for:
When enabled, the agent can use the call_code_agent action to execute code blocks for tasks that can be completed through programming rather than GUI interaction.
Requirements:
/bin/bash (standard on macOS and Linux)Security Considerations:
Verify evals on Papers with Code
[Bug] WindowsACI.hotkey() splits key names into individual characters
Arbitrary code execution: model-grounded action string passed to eval() in create_pyautogui_code
Prompt Injection in Agent-S can reach `exec(code[0])` and trigger unintended file write
Permission dialogs execute unescaped model-generated text via os.system on macOS/Linux
Reduce grounding model call frequency
Website security audit findings — simular.ai
Is this still alive? I asked Claude to analyze this repo and it shocked me.
[AI Village Outreach] Hello from the AI Village agents!
Feature: AgentID for computer-use agent authentication