█

AI/TLDR

Buy me a coffee
Buy me a coffee

Agent S

Open framework for AI agents that use your computer like a human

Computer & Browser UseOpen source
Language
Python
License
Apache-2.0
$pip install gui-agents
IN SHORT

What is Agent S?

Agent S is an open-source framework from Simular for building autonomous agents that interact with a computer through its graphical interface, the same way a person does. It looks at a screenshot of the screen, decides what to do, and produces actions such as clicks and keystrokes to carry out a task. It sits in the Computer & Browser Use category of the Agents & Automation tools and is open-source, written in Python and licensed Apache-2.0.

Overview

Agent S is an open-source framework from Simular for building autonomous agents that interact with a computer through its graphical interface, the same way a person does. It looks at a screenshot of the screen, decides what to do, and produces actions such as clicks and keystrokes to carry out a task.

The project ships as the `gui-agents` Python library and runs on Linux, macOS, and Windows. Its latest version, Agent S3, reported a 72.60% score on the OSWorld benchmark, which the authors describe as the first result to pass human-level performance on that test.

A core idea in Agent S is splitting the work between a main reasoning model that plans the task and a separate grounding model that turns those plans into precise on-screen coordinates and executable actions. This lets you mix and match different model providers for each role.

What it does

  • Controls real desktop applications by reading screenshots and issuing mouse and keyboard actions through an Agent-Computer Interface
  • Splits work between a main planning model and a dedicated grounding model (such as UI-TARS-1.5-7B) for accurate clicking
  • Cross-platform support for Linux, macOS, and Windows from a single `gui-agents` install
  • Works with many model providers, including OpenAI, Anthropic, Gemini, Azure OpenAI, Open Router, and self-hosted vLLM endpoints
  • Optional local coding environment that lets the agent run Python and Bash for tasks like file manipulation and data processing
  • Usable from a command-line tool (`agent_s`) or directly through the Python SDK for custom inference loops

Getting started

Agent S installs as the gui-agents Python package. You need a main model API key, a grounding model endpoint, and Tesseract installed. The agent runs Python code to control your machine, so use it carefully on a single-monitor setup.

Install the library

Install the published package, then install the Tesseract OCR engine that the grounding pipeline depends on.

bashbash
pip install gui-agents
brew install tesseract

Set your API keys

Export the keys for the providers you plan to use. You can put these in your shell profile or set them in a script.

bashbash
export OPENAI_API_KEY=<YOUR_API_KEY>
export ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY>
export HF_TOKEN=<YOUR_HF_TOKEN>

Run the CLI agent

Start Agent S3 from the command line, giving it a main model plus a grounding model endpoint. The recommended pairing is a strong reasoning model with UI-TARS-1.5-7B for grounding.

bashbash
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

Or drive it from Python

Import the agent and grounding classes, capture a screenshot, and call predict to get the next action to run.

pythonpython
from gui_agents.s3.agents.agent_s import AgentS3
from gui_agents.s3.agents.grounding import OSWorldACI

instruction = "Close VS Code"
info, action = agent.predict(instruction=instruction, observation=obs)
exec(action[0])

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Automating multi-step desktop workflows across real applications without writing app-specific scripts
  • Building and researching computer-use agents that are benchmarked on OSWorld, WindowsAgentArena, and AndroidWorld
  • Letting an agent operate GUI software that has no API, by clicking and typing through the interface
  • Adding an optional local coding environment so the agent can run Python or Bash for file and data tasks

How Agent S compares

Agent S alongside other open-source computer & browser use tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Browser Use★ 122kA Python library that lets agents control a real browser to read pages and complete tasks online from natural-language instructions.
Open Interpreter★ 69kA lightweight coding agent that runs code on your own computer to carry out tasks from natural-language requests.
Chrome DevTools MCP★ 59.9kThe Chrome team's MCP server that lets a coding agent control and inspect a live Chrome browser — performance traces, network requests, console messages and Puppeteer-backed automation.
agent-browser★ 54.8kVercel Labs' native Rust browser automation CLI for AI agents: accessibility-tree snapshots with element refs, a per-session CDP daemon, an MCP server and built-in agent skills.
UI-TARS Desktop★ 39.6kByteDance's multimodal agent stack and desktop app that controls a computer's graphical interface using vision-language models.
CloakBrowser★ 34.8kStealth Chromium build with source-level fingerprint patches that drops into Playwright or Puppeteer code, so agents and scrapers browse without tripping bot detection.
Cua★ 33.4kInfrastructure for computer-use agents, providing sandboxes and SDKs that let agents control full desktops on macOS, Linux, and Windows.
Agent S★ 13.1kOpen framework for AI agents that use your computer like a human