RPA Sandbox
Lets AI agents record GUI workflows once over VNC/noVNC and replay them at zero vision-token cost with local OCR verification. Includes Ubuntu XFCE sandboxes and 2x2 Multi-View.
Documentación
RPA-SANDBOX for AI Agent
A desktop workspace you can automate and take over when it needs you.
RPA (robotic process automation) records a desktop task as clicks and keystrokes you can run again. Use RPA Sandbox to run those steps yourself, or connect an AI agent through MCP so it can pick and run saved workflows. You can watch the desktop as it works and step in when a screen needs your judgment. No AI account is needed for your first recording.
한국어 · VS Code Quick Start · Desktop Quick Start · Downloads

Start with one line of text
- Install RPA Sandbox. Use the VS Code extension or the standalone desktop app. In VS Code, open a trusted local folder and click the RPA Sandbox monitor icon. If it is hidden, look under ….
- Connect a test desktop. In Setup & Diagnostics, create a Python environment and install the required packages. Start Docker or Podman and choose Start Workspace Container to open an Ubuntu desktop. If you already have a VNC desktop, use Configure VNC Target instead. Run Check Environment and VNC before recording.
- Record and replay. Open Recorder Studio, select Focus → Take Over, and open a blank text editor inside the guest. Record yourself typing one line and choose Stop & Review → Save Workflow. Clear the starting document, open Test Replay… → Open Replay Console, choose the saved workflow, and press Run Workflow. Check that your line appears in the guest. The illustrated guide shows each screen.

Step in without leaving the workspace
Focus enlarges one desktop without sending input. Take Over lets you use the guest mouse and keyboard, and Return Control releases control again. On supported managed sandboxes, takeover blocks agent inputs routed through RPA Sandbox. It does not pause unrelated agents on an external VNC desktop, and an interrupted run does not restart automatically. Check the current screen before retrying.
Recorder controls and RPA Exchange · Workspace setup and supported runtimes · Optional self-hosted MCP · Agent sandbox isolation
MCP directory listings
Listing approvals were received on November 30, 2026 (KST). Glama's separate quality checks and search visibility have not been verified.
Use a VNC virtual machine as a sandbox
When a hypervisor provides a reachable VNC display, RPA Sandbox can connect to its Windows, Linux, or macOS guest as a working sandbox. The desktop app and MCP server run on the host; recording and replay use the guest's screen and input through VNC. The bundled Ubuntu container connects the same way. Match the guest's resolution and scaling to the recording when replaying saved coordinates.
flowchart LR
Agent[AI agent / MCP client] --> App[RPA Sandbox desktop app and MCP server]
User[User / noVNC sidebar] --> App
App -->|Screen reads · pointer/keyboard input| VNC[VNC endpoint]
VNC --> VM[Hypervisor or container]
VM --> Guest[Windows · Linux · macOS guest]
Guest --> Target[Browser or target app]
A person or a frontier LLM can author a workflow once and hand it to a smaller model to run. For example, a person can write a Python login script by hand, record the steps over noVNC, or ask a larger model to write a replay with coordinate clicks and a signed-in checkpoint. The author tests it in a fresh session and saves it. A lightweight agent then finds the workflow through MCP, supplies the inputs for this run, and reads the result. The recorder handles the clicks. If a changed screen fails an OCR check, the author can use the failed stage and current screen to repair the workflow.
Use the noVNC RPA Toolbar · Use Recorder Studio in VS Code
On Linux and Windows, PaddleOCR uses PP-OCRv5 models with 80+ recognition languages, letting you verify desktop workflows across many locales. Choose the target’s language codes for OCR, such as en, ko, ja, zh, es, ar, hi or ru. Recognition quality depends on the selected model and screen layout. PP-OCRv5 recognition models
Tested with Beam Free, with less model work after setup
The Juice Shop workflow ran through MCP with Beam Free. Once a workflow is recorded, the model selects it and reads the result. Recorded VNC replay handles clicks and keystrokes, and local OCR checks the result. That reduces the need for per-step screen analysis, image inputs, and model decisions on repeat runs, making saved workflows practical for lightweight agents.

The OpenCode screenshot reports US$0.00 across three RPA test agents. It shows about 964,800 tokens excluding cache reads and 4.68 million including them. The totals include multiple sessions and do not measure per-run token savings against direct computer use.
Quickstart prompt for Codex or Claude
Paste this into Codex or Claude to connect the local MCP server:
Install RPA Sandbox MCP for this project using rpa-sandbox.mcpb from the latest
GitHub release that includes an MCPB asset:
https://github.com/wayfarer6/RPA-SANDBOX-for-AI-Agent/releases
Use the MCPB if your host supports it. Otherwise extract the bundle and register
server/server.py as a local stdio MCP server using a Python virtual environment with
the project’s OCR dependencies and Robot Framework. Follow the repository setup guide
for the platform. Reuse my existing recordings folder and VNC target if configured.
Otherwise use examples/juice-shop for discovery and ask me which VNC target and Juice Shop base URL to use.
Keep the VNC password in the host's protected settings.
After connecting, call rpa_list_pipelines to verify MCP access and tell me what
workflows are available. Wait for my request before replaying anything.
Set up VS Code
- Install from the VS Code Marketplace. For manual installation, download the VSIX from GitHub Releases, or build it locally. Open a trusted workspace in VS Code 1.102 or later.
- In RPA Sandbox → Setup & Diagnostics, use Create Python Environment to create a workspace
.venvwith OCR, or select an existing Python 3.10+ interpreter. Use Install Required Python Packages to install the viewer and Robot Framework. Use Install OCR Packages to select or repair the CPU/CUDA backend. - Use Choose Recordings Folder and Configure VNC Target. Leave the VNC password blank if the server does not require one.
- Set the VNC guest to 1920 × 1080, 100% display scaling, and recorder Display Scale 1.0. Start the VNC server separately. The recorder's local x11vnc auto-start is off by default.
- Use Check Environment and VNC and open How to Use for the walkthrough.
Record and run
- Use RPA Sandbox: Open Recorder Studio in a trusted local VS Code window with Integrated Browser. Choose Focus → Take Over → Start Recording → Stop & Review → Save Workflow. For browser capture, Create Recording still opens the noVNC recorder.
- Collections shows recording titles from the Robot files. Open a title to inspect the suite, or use the collection's edit action to add or remove membership.
- Run History separates manual and agent runs. Its menu links to Robot pipelines and replay failures for reviewing the stage and checkpoint before retrying.
- Set Workflow Input stores per-folder runtime values in VS Code SecretStorage. Restart the MCP connection after changing a runtime input.
Use MCP
Connect a self-hosted Rakazo bot to RPA Sandbox and replay Google Home with fewer CUA decisions · 한국어
Use the VS Code extension’s local stdio MCP provider or install the MCPB in a compatible client. To expose an authenticated service rather than a local extension provider, follow the self-hosted MCP server guide. Configure the Python interpreter, recordings folder, and VNC target. Local clients using the same build and Python environment share a worker. Each connection keeps its own settings and input values.
The Juice Shop example includes a staged login pipeline and other recordings for a local lab. Choose examples/juice-shop as the recordings folder to use that collection. See the integration guide and bundled agent skill for tool details.
The RPA Bank / Gildong Bank example provides bilingual banking apps and a financial rate comparison page. Run both banks with Python 3 and access them from your VNC desktop over the network.
Watch the English banking demo · 한국어 영상 · Screenshot walkthrough · Windows / VirtualBox setup
Compare net interest, redeem and reinvest: smart deposit strategy.

On macOS 13+, install Xcode Command Line Tools. The MCP server builds a native Swift helper and selects Apple Vision OCR at startup. On Apple Silicon, the helper runs as ARM64 even when Python runs under Rosetta. Vision manages device selection. Use --ocr-host-info to see the languages supported by the current version of macOS. Linux and Windows use PaddleOCR.
Run from a terminal
Create a Python 3.10+ virtual environment and install the platform-specific dependencies. The desktop GUI also requires Tk.
python3 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt
.venv/bin/python sample-rpa/gui_recorder-v7.py --ocr-host-info
Run recordings through gui_recorder-v7.py --exec-replay path/to/workflow.py. A recording directory contains the Python replay, Robot suite, event log, and metadata. Supply protected runtime values through the launch environment.
Build the packages
Run bash integrations/rpa-mcp/build.sh with Node.js and npm available. The script writes the VSIX and MCPB to dist/. Use --vsix-only to rebuild only the VS Code extension.
License
The original RPA Sandbox code is MIT licensed. OCR engines and model weights, x11vnc, and noVNC retain their upstream licenses. See Third-party notices.