Lightweight automation workflow · A/C RPA

Fill in Excel,
automate everything

Write your steps into Excel (or just record them once) and let the computer do the rest — image recognition / window management / OCR / browser automation / workflow orchestration / NetLink multi-device / scheduled tasks / local AI enhancement, all built in.

Latest: (stable) · · 18.0 MiB · SHA-256 30f77941…b64e73

✔ Completely free · MIT open source ✔ Portable & efficient · unzip and run, no installation ✔ One PC manages many machines on the LAN
0
Built-in automation commands
0
Ready-to-use script templates
0
Step types · workflow orchestration
Latest version
USE CASES

What repetitive work can ACRPA handle

No programming required. Match the task below — every one is backed by built-in templates, sample scripts or dedicated commands.

🧾 Receipt filing (finance)

✅ Download bank receipts → OCR → write to Excel → archive, fully automatic, with no manual row-by-row copying.
Backed by: Read Text / Wait Text / Click Text commands + bank receipt sample script

🌐 Web form filling

✅ Open the page → read from Excel → fill it in → retry on failure. Configure a login or form flow once and reuse it.
Backed by: Open Page / Browser Input / Wait Element + "Login Flow / Form Filling" templates

📊 Daily report delivery

✅ Scheduled start → collect data → build the report → send mail. It runs on time even when you are away.
Backed by: scheduler + send-mail / screenshot sample scripts

🖱 Batch clicking

✅ Bulk listing / delisting, scheduled price changes and stock checks — hand hundreds of repeated clicks to a script.
Backed by: Batch Click / Form Filling templates + scheduled tasks

🖥 Intranet distribution

✅ Push scripts to many machines on the LAN → run right after push → watch progress and logs from a phone browser.
Backed by: NetLink multi-device linking (zero extra dependencies)
HOW IT WORKS

Up and Running in 3 Steps

From "record it once" to "fully automated" — in as little as 3 minutes.

①

Record it, or write it in Excel

Use the built-in recorder to run through the steps once and generate a script automatically; or write one command per row directly in a .xls sheet — 94 built-in commands, if you can fill a spreadsheet you can write a script.

②

Tune parameters, let AI locate

Just adjust the window title and parameters; if fixed coordinates are unstable, switch to "AI Find Image" and describe the element in plain language, or use OCR "Click Text" to locate by text — small UI changes stay adaptive.

③

Run it, then let it run

Run immediately, debug with breakpoints, or hand it to the scheduler; you can also distribute scripts in bulk over NetLink to many machines on the LAN.

SCREENSHOTS

Interface Overview

Real ACRPA screens. Click any image to enlarge.

Script editing screen
01 · Script Editing

Your spreadsheet is the script

Commands in column A, parameters in columns B–J — double-click a cell to edit. The script is just a spreadsheet you can rewrite.

Execution and editing screen
02 · Execution & Editing

Stop it halfway through

Pause / resume / single-step right from the toolbar — when a run goes sideways, freeze it and look.

Workflow screen
03 · Workflow

Drag nodes into a flow diagram

Four step types — script, parallel, condition, wait — and the connectors are the execution order.

Settings navigation screen
04 · Settings

Settings split by purpose

Basic execution / AI enhancement / scheduling / logs / advanced each own a card, saved independently.

Dark mode screen
05 · Dark Mode

Light and dark, one click

Themes switch instantly, easier on the eyes during long overnight runs.

CAPABILITIES

Capability Matrix

From basic automation to intelligent workflows, ACRPA covers the entire automation stack.

✍️

Write scripts

Excel as the script: commands in column A, parameters in columns B–J, no programming needed. Or record a run to generate one, or write Python directly (sandbox / trusted / full privilege levels).

🎯

Find elements

Four ways to locate, each for its own case: image recognition (OpenCV / Pillow, region and grayscale acceleration), window-relative coordinates (10–100× faster), OCR by text, and AI by plain-language description.

🔁

Run flows

Conditions / loops + workflow orchestration (script / parallel / condition / wait step types) + schedules and triggers (daily / weekly / interval / boot / hotkey).

🌐

Automate the web

Built-in Playwright: open, click, type, wait for elements, tabs, downloads, cookies and packet capture — chainable with any other step in one script.

🖥️

Manage machines

NetLink multi-device: one PC monitors many LAN machines in real time, distributes scripts in bulk and controls them remotely, viewable from a phone browser — zero extra dependencies.

🐞

Debug it

Breakpoints / single-step / variable watch / call stack / timing; structured logs, exception handling, stop-on-error and runaway protection — unattended runs still end safely.

COMMAND SYSTEM

Command System · 94 Built-in Commands

94 built-in commands: write one per row in Excel and use them right away (all 94 are listed in the quick reference below, grouped into 9 categories). Click any command or example to copy it. See the README → for full documentation.

Expand the Command Reference · 9 categories · 94 commandsFull docs in the README →
🎯 Basic Ops
🪟 Windows
🧮 Variables & Logic
🔍 OCR
🤖 AI
🧩 Workflow
🌐 Browser
📁 Files & System
🔗 Data & Network
CommandDescriptionExample
找图Search the whole screen for an image; on match, move the mouse to that position (hover)找图, hello, 0.9
点图Find an image and click it, with precision control点图, submit, 0.9
区域找图 / 区域点图Limit the scan region for faster matching, with grayscale acceleration区域找图, icon, 0.8, 100,100,500,500
坐标Click at the given screen coordinates; button, click count and interval are configurable坐标, 500, 300, left, 1, 0.1
悬停Move the mouse to the given coordinates悬停, 500, 300
按键 / 热键Simulate key presses and combinations (Ctrl+C / Ctrl+V and so on)热键, ctrl, c
输入 / 写入Paste-style input (unaffected by the IME) or character-by-character simulated typing (DD driver supported)写入, Hello, 0.05, auto
等待Delay / wait, supports random ranges (for example 1.0-3.0)等待, 1.0-3.0
滚轮 / 拖拽 / 相移Scroll, drag to given coordinates, or move relative to the current mouse position滚轮, -3
按下 / 释放Hold and release a key to implement press-and-drag and other complex actions按下, a
复制 / 粘贴Built-in shortcut combinations (Ctrl+A+C / Ctrl+A+V)复制
代码Execute Python code from a specified txt file (the program built-in libraries can be called)代码, my_code
PythonExecute Python code directly from a cell, subject to permission and AST pre-checks, with the built-in libraries availablePython, ${x}+1, sandbox
截屏Take and save a screenshot; a timestamp is appended to the filename automatically截屏, shot, E:/ACRPA/screenshots
CommandDescriptionExample
激活窗口Activate the window with the given title; fuzzy matching supported激活窗口, Notepad
关闭窗口Close the specified window关闭窗口, Untitled - Notepad
最小化窗口 / 最大化窗口Minimize the window to the taskbar / maximize it最小化窗口, Calculator
获取窗口位置Get the window coordinates and size and save them to variables获取窗口位置, Notepad, x, y, w, h
等待窗口Wait for a window to appear or disappear, with a configurable timeout等待窗口, Chrome, 10, exists
窗口坐标Click relative to the window top-left corner; stays accurate even after the window moves ★窗口坐标, Notepad, 100, 50
设置窗口样式Set a window to stay on top, change its opacity, or hide / show it设置窗口样式, Notepad, 200, yes
CommandDescriptionExample
设置变量Set a variable value; numbers are converted automatically and ${var} references work throughout设置变量, count, 100
读取剪贴板Read clipboard content into a variable读取剪贴板, clip_text
字符串处理Substring / replace operations on strings字符串处理, text, substring, 0:5, result
数学运算Perform math calculations; ${var} references are supported数学运算, ${x}*${y}+1, sum
如果 / 否则 / 结束如果Conditional branch control flow如果, ${count}>10
循环开始 / 循环结束Loop block, by iteration count or condition expression循环开始, 5
跳出循环Break out of the current loop immediately跳出循环
CommandDescriptionExample
识别文字OCR the text in a given screen region and store it in a variable识别文字, 0, 0, 800, 300, ocr_text
等待文字Wait for specified text to appear / disappear, with a configurable search region等待文字, Submit succeeded, 10, exists
点击文字Find the text position and click it; confidence and search region are configurable点击文字, Login now, 0.8
CommandDescriptionExample
AI找图Describe a UI element in natural language; AI analyzes the screenshot and locates it (click / hover / find only)AI找图, the login button, 0.8, click
AI识别界面AI analyzes all UI elements on the current screen; results are stored in a ${prefix}_elements variableAI识别界面, ui
AI优化建议AI analyzes historical execution data and gives script optimization suggestionsAI优化建议, log

Beyond commands, the script editor also provides an [AI] Debug button: ask AI in natural language and it analyzes the execution logs to answer debugging questions.

CommandDescriptionExample
运行工作流Invoke a workflow file (.json / .yaml) to run multi-script orchestration运行工作流, workflow.json
工作流变量Set workflow-level shared variables for use by multiple sub-steps工作流变量, var_name, value
CommandDescriptionExample
打开网页Open a URL in the built-in browser; suitable for post-login data retrieval, web form filling and similar flows打开网页, https://example.com
浏览器管理Open / attach / close a browser session, choosing the browser type, headless mode and a user-data dir (which persists the login state)浏览器管理, 打开, Edge, 否, E:/ACRPA/profile
浏览器点击Click a web element by CSS selector or visible text浏览器点击, #login-btn
浏览器输入Fill text into the specified input box (located by selector)浏览器输入, #username, admin
浏览器选择Pick a dropdown option by label / value / index; non-select controls fall back to clicking浏览器选择, #city, 北京, 标签
浏览器读取Read an element's text / attribute / value / HTML / count / visibility, or the page URL / title, into a variable浏览器读取, #price, 文本, price
等待元素Wait for a web element to appear / disappear, with a configurable timeout等待元素, .result, 10, 出现
浏览器截图Save a full-page or specific-element screenshot浏览器截图, result, page
浏览器执行JS / 执行JSExecute JS in the page and write the return value to a variable (the two names are aliases)浏览器执行JS, document.title, title
浏览器读取CookieExport the current context's cookies to a variable or file, in json / header / netscape format浏览器读取Cookie, cookie, json
浏览器设置CookieInject cookies from a variable or file, optionally scoped to a domain浏览器设置Cookie, cookie, example.com
切换框架 / 返回主框架Enter an iframe (by locator expression or index), or return to the top-level document切换框架, 0
新建标签页Open a new tab and make it active, optionally navigating to a URL新建标签页, https://example.com
切换标签页Switch the active tab by index, title or URL match切换标签页, 2
关闭标签页Close the current tab or the tab at a given index关闭标签页
等待下载Wait for a browser download to finish and save the file, with filename matching, timeout and write-back等待下载, E:/ACRPA/downloads, *.xls, 60, file_path
浏览器上传Set local files on an input[type=file] element, several files at a time浏览器上传, #file, E:/a.png
连接已开浏览器 / 接管浏览器Take over an already running browser through a CDP endpoint (requires --remote-debugging-port)连接已开浏览器, http://127.0.0.1:9222
开始监听Start queueing network responses (packet capture), with URL matching and resource-type filtering开始监听, */api/*
等待数据包Wait for and retrieve matching packets, writing them back to a variable or exporting to disk等待数据包, */api/*, 1, 30, resp
停止监听Stop listening and clear the queue停止监听
启动浏览器录制Record web actions with Playwright codegen and append the result to the script as DSL启动浏览器录制
关闭浏览器End the browser session and release the process; the next command relaunches it per your settings关闭浏览器
浏览器验证码Slider-captcha loop: gap offset measurement (gap bounding-box geometry, or grayscale column diff on the background image) + eased dragging + success detection with refresh-and-retry; self-implemented on Playwright + PIL, no OpenCV / OCR component required浏览器验证码, #slider, #bg

Browser commands are implemented on Playwright, installed on demand (about 155 MB, not bundled with the main program); if it is missing, the command shows how to install it. Workflow and web steps can be chained serially in the same script.

CommandDescriptionExample
复制文件Copy a file or directory (relative paths resolve against the script directory), with overwrite and write-back复制文件, data.csv, backup/data.csv, yes
移动文件Move a file or directory; same directory means rename移动文件, a.txt, b.txt
删除文件Delete a file or directory; sent to the Recycle Bin by default, falling back to permanent deletion删除文件, E:/tmp/old, yes, yes
创建目录Create a directory, including nested levels创建目录, E:/ACRPA/out/report
列出目录List directory contents into a variable line by line, with glob and sorting support列出目录, E:/ACRPA, *.xls, name, files
读取文本文件Read a text file into a variable, with a fixed or auto-detected encoding读取文本文件, note.txt, auto, content
写入文本文件Write a text file atomically, in overwrite or append mode写入文本文件, log.txt, ${result}, append, utf-8
文件是否存在Check whether a file or directory exists; writes 1 / 0 to a variable文件是否存在, E:/a.png, exists
启动程序Launch an external program, document or URL; can wait for exit or hide the window启动程序, notepad.exe, , , no, no
结束进程Kill a process by name, guarded by a built-in whitelist of critical system processes结束进程, notepad.exe, no, yes
打开系统面板Open a system panel from a fixed whitelist (Task Manager / Services / Registry / Control Panel / Device Manager and more)打开系统面板, Task Manager
电源操作Shut down / restart / log off / lock / sleep / hibernate, with delay and dry-run support电源操作, shutdown, 60, no, yes
音量控制Set, raise or lower the volume, or toggle mute音量控制, set, 50
磁盘空间Query a disk's total / free capacity and usage rate into variables磁盘空间, C:, disk_total, disk_free, disk_percent
CommandDescriptionExample
HTTP 请求Send an HTTP(S) request; writes the response body and status code to variables, and can save to a fileHTTP 请求, GET, https://api.example.com/data, , , 30, resp, code
JSON 取值Extract a value by path expression from a variable, file or JSON text, with a default fallbackJSON 取值, ${resp}, data.items[0].name, , name
Base64 编解码Base64 encode or decodeBase64 编解码, encode, ${text}, b64
URL 编解码URL percent-encode or decodeURL 编解码, encode, ${keyword}, url
哈希值Compute the MD5 / SHA1 / SHA256 hash of text or a file哈希值, sha256, file, E:/a.exe, hash

Visual workflow diagram · nodes arranged by drag and drop

▶Login script
→
◇Condition: logged in?
↙↘
☰Parallel: data collection
⟳Retry ×3
↓
✓Build report · done
💡 During execution the current node is highlighted in green and failed nodes are marked in red; outer loop count and maximum execution minutes are configurable.
WORKFLOW

Workflow Orchestration

Chain several scripts into one pipeline and schedule it visually with a flow diagram.

📜
Four step types

Script (sequential), parallel (run several sub-steps at once), condition (if/else branch) and wait (delay).

🧩
Categorized action library

Flow control / mouse / keyboard / recognition / window / file / variable / browser, with search filtering and recent items; double-click to add a node quickly.

📝
Node-level control

Four node types — command / variable / loop / log — share one edit form and support enable-disable, comments, cloning, copy-paste and reordering.

🎯
Execution highlighting

The running node is highlighted live with result tracking; failed nodes are marked red, making debugging direct and efficient.

Requirements: nothing to install or license — it ships with the program. A workflow is saved as .json or .yaml (YAML goes through a built-in minimal parser, no pyyaml needed) and invoked with the 运行工作流 command, or run straight from the Workflow tab once the nodes are arranged.
Scope: multi-step jobs that chain several scripts in sequence, in parallel or behind condition branches. If one script already finishes the job in a single pass, skip the workflow and run that script.
AI ENHANCED

AI Enhanced · From Automation to Intelligence

Add an API key to unlock four AI capabilities, with a unified model registry covering DeepSeek / Qwen / GPT / Claude.

👁️

AI visual localization

Describe a UI element in natural language (for example "the login button"); AI analyzes the screenshot, locates it intelligently and clicks or hovers.

🔄

AI smart retry

After a failure AI analyzes the cause and adaptively adjusts parameters before retrying — smarter than a fixed retry count.

🚨

AI anomaly detection

AI continuously watches for abnormal screens and states during a run and warns early, preventing incorrect operations from spreading.

💬

Natural-language debugging

Ask AI directly about logs and execution issues; it analyzes them and returns conclusions plus optimization advice — debugging with no barrier to entry.

💡 Requirements: enter an API key in Settings first (DeepSeek / Qwen / GPT / Claude, or a custom base URL and model name); the model dropdown auto-matches the right endpoint. The key is stored in the Windows credential store — never in config.json, never in logs. Smart retry and anomaly detection are off by default and must be enabled separately. Without a key the AI commands are unavailable; everything else keeps working.
Scope: reach for AI visual localization when image, coordinate and OCR targeting all miss, AI screen description to inventory UI elements, and AI optimization advice when tuning a finished script. Plain find-image, find-color and OCR are more stable and cheaper — prefer them whenever they work.
TEMPLATES

Sample Script Library · Ready to Run

Ten built-in snippets whose names, row counts and purposes match the in-app snippet library — insert one, swap the image feature names, coordinates and inputs for your own, and it runs.

Office Office · Daily Tasks

  • 登录流程Locate the account / password / login button by image, type, then click; swap the parameters to fit your own system (10 rows).
  • 表单填写Click a field → type → Tab to the next; three fields filled and submitted (9 rows).
  • 数据采集Click export → copy → Alt+Tab to the other window → paste, pulling data out of another system (8 rows).
  • 文本编辑Copy → Ctrl+A → Delete → paste, replacing the whole text in one pass (8 rows).

System System · OS Operations

  • 页面截图Grab a shot into the screenshots folder → scroll down → grab another, keeping a full-page record (6 rows).
  • 文件下载Click download → wait for the save dialog → arrow key + Enter to confirm, no picking a path by hand (6 rows).
  • 窗口切换Alt+Tab to the target window, then locate by image — the opening move for cross-window flows (4 rows).

Other Other · UI Interaction

  • 批量点击Click the same target three times at 0.3s intervals — drop it into a loop for paged clicking (5 rows).
  • 滚动浏览Two scrolls down, one back up, mimicking a person browsing a page (6 rows).
  • 右键菜单Right-click at a coordinate to open the menu → arrow key + Enter to pick an item (5 rows).
📂 Import steps: open the program → click 片段 (Snippets) on the toolbar → pick a template under Office / System / Other → choose append / insert before the selected row / replace all → change the image feature names, coordinates and inputs to your own → press F5 to run.
The ten above are the built-in snippets in the library, with row counts matching the app and fully offline. Bundled .xls business samples (send mail, bank receipts, interval clicking and more) open directly via "File → Import Script".
TECH STACK

Tech Stack & Runtime

Lightweight, fast cold start, small footprint. Available as an install-free exe or run from source.

🧰 Tech Stack

Python 3.7+ tkinter PyAutoGUI OpenCV Pillow pywin32 DD driver PaddleOCR Windows OCR Tesseract AI API Playwright

Packaged as a single-file exe — double-click and go. If OpenCV is unavailable it falls back to Pillow matching automatically, so it stays stable instead of crashing.

Full documentation / README →

⚙️ Key Configuration (config.json)

dark_mode Light / dark theme switch
retry_max / retry_interval Failure retry count and interval
image_timeout Image match timeout in seconds
api_key / api_model AI key and model selection
use_dd_driver DD driver high-performance input
minimize_to_tray / mini_bar_enabled Tray residency and collapsible status bar
sched_enabled / sched_tasks Scheduled task execution
log_level / log_retention_days Log level and retention days
stop_on_error / failsafe Stop-on-error and runaway protection
check_update / app_protect Startup update self-check and process guard
CHANGELOG

Release History

Continuous iteration, recently focused on the update mechanism, workflow orchestration, AI enhancement and stability. See GitHub Releases → for the full history.

SECURITY · TRUST

Safe Enough to Double-Click, Open Enough to Read

The hardest question for an automation tool is "should I dare install it?". ACRPA answers with: open source, local, install-free.

🔓 Open and auditable|MIT licensed, source fully public and mirrored on GitHub and Gitee — anyone can review it and build it themselves.
🔑 Keys stay on your machine|AI API keys are stored in the Windows credential store, never written to config.json, and your activity is never uploaded.
💻 Local-first execution|Core automation runs on your machine with no server dependency; with AI disabled it is fully offline.
📦 Portable, no installer|A single-file exe that runs once unzipped. It writes nothing to the system and installs no runtime — deleting the folder uninstalls it.
⚠️ On first run Windows may show "Unknown publisher" / SmartScreen. This is normal and happens because the binary is not signed with a paid code-signing certificate — click "More info → Run anyway", or add the install folder to your antivirus allowlist.

Known Limitations (Stated Honestly)

  • The current is a stable release; as always, validate script and workflow changes in a test environment before production use.
  • The exe is not signed with a paid certificate, so SmartScreen or antivirus software may block the first run (see the note above for how to proceed).
  • Scripts support .xls only (.xlsx is not supported yet); image assets must be PNG, and avoid non-ASCII characters in paths and filenames.
  • NetLink is designed for the local network (LAN); real-world cross-machine validation is still in progress and the web panel is off by default.
  • AI features need your own API key (DeepSeek / Qwen / OpenAI / local Ollama and other OpenAI-compatible endpoints are supported).
FAQ

Frequently Asked Questions

A few things you may want to know before downloading.

Do I need Python installed?
No. Download the portable exe and double-click to run — no Python installation required. You only need Python 3.7+ if you want to modify the source.
Which operating systems are supported?
Windows (x64) only, available as a portable build and an installer. macOS and Linux are not supported at this time.
What format are scripts in?
Excel .xls spreadsheets (.xlsx is not supported yet): one command per row, with the command name in column A and parameters in the following columns. Ten templates and a recorder are built in to generate scripts automatically. Image assets must be PNG, and avoid non-ASCII characters in paths and filenames.
Is it really free? Can I use it commercially?
Completely free under the MIT license. Individuals and companies alike may use, modify and commercialize it. No feature or time limits, no ads, no in-app purchases.
Antivirus or SmartScreen flags it. What now?
Because the binary is not signed with a paid certificate, the first run may be blocked. Click "More info → Run anyway" or add the folder to your allowlist; you are also welcome to build from source and verify it yourself.
Do the AI features cost extra?
ACRPA itself is free. AI uses your own model key (DeepSeek / Qwen / OpenAI / Anthropic / local Ollama and so on) and is billed by that provider based on usage. Without AI it runs fully offline at zero cost.
How is it different from other RPA tools?
It is lighter (single file, no installation), more approachable (an Excel spreadsheet is the script, so anyone can read and write it), supports local AI visual localization, and is fully open source so you can modify the code for free.
Are my scripts and data safe?
Automation runs locally, keys are kept in the system credential store, and the program neither collects nor uploads your operational data.

Start Your Automation Journey

Questions, ideas, or want to contribute? Get in touch with the author.

WeChat QR code
ACRPA QQ group QR code
ACRPA logo
📧 Email: yoho12138@aliyun.com
🤝 Scan to add on WeChat and swap automation tips
🐧 QQ group: 682075338
⭐ Suggestions, bug reports and contributions are all welcome