# OSWright — desktop automation

> Drive real desktop apps from your agent without paying for a screenshot every step.

OSWright — desktop automation is a free AI agent skill on Agensi by Arnav Kshirsagar, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Arnav Kshirsagar](https://www.agensi.io/creators/arnav-kshirsagar)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Uses: 3
- Version: 1.0
- Last updated: 2026-10-16
- Security: scan passed (2026-10-16); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/oswright-desktop-automation
- Tags: api, automation, productivity, python, windows, ocr, desktop-automation, gui

## About this skill

OSWright is an open-source MCP server for desktop automation — click, type, read on-screen text, manage windows, fill forms. This skill tells your agent when to use it and which tools are the cheap ones.

The difference from screenshot-based tools: OSWright keeps a model of the screen and re-reads only what changed. Measured on a live desktop, the median step changes 0.012% of the screen's pixels, so a full screenshot is mostly wasted tokens.

Measured, and reproducible from the repo's `benchmarks/`:

- Eight-field data-entry task: 25,122 → 3,404 tokens (7×), with the result checked against the application's own state, not against OCR.
- Against Windows-MCP on a shared task set: 16.9× cheaper. Windows-MCP was more reliable (20/20 vs 19/20).

Requires the server: `uvx oswright` (or `pip install oswright`). Strongest on Windows, where it uses built-in OCR and UI Automation with no PyTorch download. Linux (X11) and macOS are supported through EasyOCR.

MIT licensed. Source: https://github.com/Ask-812/oswright

## Requires

- uv (Python tool runner)
- Python

## Known limitations

Strongest on Windows. Linux (X11) and macOS work through EasyOCR, which needs a ~2.5 GB PyTorch download. Electron apps and web content expose little through accessibility, so lookups there fall back to OCR. Needs a live desktop session. In a head-to-head benchmark Windows-MCP was slightly more reliable (20/20 vs 19/20); OSWright was 16.9× cheaper in tokens.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the OSWright — desktop automation skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does OSWright reduce token costs compared to standard desktop automation?

It keeps a model of the screen between actions and re-reads only the regions that changed, instead of sending a full screenshot after every step. On an eight-field data-entry task this measured 25,122 → 3,404 tokens (7×). Wall-clock time is about the same; the saving is in tokens.

### Which operating systems are supported by this skill?

The skill is fully compatible with Windows via native UI Automation, while macOS and Linux support is provided through an integrated EasyOCR layer for visual text recognition.

### What do I need to use it?

The skill is free. It needs the OSWright MCP server (uvx oswright, or pip install oswright), Python 3.10+, and a live desktop session. It is MIT licensed.

### Can this skill automate older legacy applications that don't have an API?

Often, yes. It works through the screen, the keyboard and Windows UI Automation, so it does not need an API. Apps that draw custom controls without accessibility data are handled through OCR instead.

### Are there any limitations when using this with Electron-based applications?

Electron apps expose very little through the accessibility tree, so lookups there rely on OCR. This is handled automatically: element lookups fall through a cascade from cached model to OCR to accessibility to a full rescan.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
