Repository navigation
Releases
Asctrl 0.3.0
Asctrl 0.3.0 asks the person at the computer before an agent does something it can't take back, and makes self-hosting easier: the controller and relay now run on Node.js 20.12 or newer and come from npm.
English | 简体中文
What's new
- Risky actions wait for a yes. Actions that can't be undone (deleting, uninstalling, destructive shell commands, restarting) or that send something out (send, submit, pay, Enter in a chat box) now show a question on the orb. Nothing happens until the person clicks Allow; Deny, or no answer within 2 minutes, refuses the action and tells the agent. Steps inside plans and programs are asked the same way. On by default, locally and remotely;
ASCTRL_CONFIRMon the driver picks the levels (external,irreversible,external, orofffor unattended use). - A switch for asking on the orb's menu. Turn asking on or off until the driver quits. It can only be turned off while no agent is connected, so an agent can't switch it off for itself.
- Pairing codes expire. A code nobody used for 10 minutes is replaced (
ASCTRL_CODE_TTL_MIN,0keeps it), and New code on the orb's menu replaces it at once. - The relay needs a token. It refuses to start without
RELAY_TOKEN; setRELAY_ALLOW_NO_TOKEN=1only on a closed test network. - Any OpenAI-compatible decision model. Point
ASCTRL_DECISION_BASE_URLandASCTRL_DECISION_MODELat Ollama, vLLM, llama.cpp or any other OpenAI-compatible server, so candidate controls and window text never leave your machines. - Node.js 20.12 and npm. The server archive carries the controller, relay and HTTP connector as built JavaScript (
dist/) for Node.js 20.12 or newer, and they are on npm as@yalosaws/asctrl:npx -p @yalosaws/asctrl asctrl-relay. The TypeScript source now runs on Node.js 22.18 or newer (was 24.5).
Thanks to @klarkxy for suggesting these in #1, #2 and #3.
Upgrading
- Relay operators: the relay won't start without
RELAY_TOKEN. If yours ran without one, choose a secret and set it on the relay and, with the same value, on the controllers and the HTTP connector that use it. - Unattended setups with nobody at the computer to click Allow: set
ASCTRL_CONFIRM=offon the driver, or risky actions are refused after 2 minutes.
Get started
-
Download
asctrl-0.3.0-windows-x64.zipand check it againstSHA256SUMS:Get-FileHash -Algorithm SHA256 .\asctrl-0.3.0-windows-x64.zip. -
Extract it to a folder you keep, such as
C:\Tools\Asctrl. -
Register the stdio server with your agent, using absolute paths:
{ "mcpServers": { "asctrl": { "command": "C:\\Tools\\Asctrl\\runtime\\node.exe", "args": ["C:\\Tools\\Asctrl\\src\\console\\mcp-server.ts"] } } } -
Have the agent call
connectwith{}. The controller starts the bundled driver and the orb appears.
Coding agents setting it up on their own can follow AGENTS.md. Requires Windows x64 with a signed-in desktop and WebView2 (tested on Windows 11); the portable package brings its own Node.js.
Files
| File | Contents |
|---|---|
asctrl-0.3.0-windows-x64.zip |
Portable package: driver, Node runtime, controller and its dependencies, browser extension, notices. Start here. |
Asctrl_0.3.0_x64-setup.exe |
Driver-only installer. Unsigned, so Windows may show a publisher warning. |
asctrl-0.3.0-server.tar.gz |
Controller, relay and HTTP connector for your own server, as TypeScript (src/) and built JavaScript (dist/). |
asctrl-0.3.0-source.zip |
Everything needed to rebuild the release. |
asctrl-0.3.0-driver-notices.zip |
Third-party notices for the driver. Distribute it alongside the standalone installer. |
SHA256SUMS |
Checksums of the files above. |
简体中文
0.3.0 在 Agent 做无法撤销的操作之前,会先问电脑前的人;自托管也更方便了:控制端和中继可以在 Node.js 20.12 及以上版本运行,也可以直接从 npm 获取。
新功能
- 高危操作需要确认。 不可撤销的操作(删除、卸载、破坏性 shell 命令、重启)或会向外发送内容的操作(发送、提交、付款、在聊天窗口按 Enter),会先在悬浮球上弹出确认,等电脑前的人点 Allow;点 Deny 或 2 分钟内没有回应就不执行,并告知 Agent。计划和程序里的每一步同样如此。本机和远程都默认开启,驱动上的
ASCTRL_CONFIRM可以调整:external,irreversible(默认)、external,无人值守时设为off。 - 悬浮球菜单里的确认开关。 可以临时开启或关闭确认,直到驱动退出。只有在没有 Agent 连接时才能关闭,这样 Agent 无法自己把它关掉。
- 配对码自动过期。 10 分钟内没人使用就换新码(
ASCTRL_CODE_TTL_MIN,0则不换);菜单里的 New code 可以立即换一个。 - 中继必须设置令牌。 没有
RELAY_TOKEN时中继拒绝启动;只有在封闭的测试网络里才设置RELAY_ALLOW_NO_TOKEN=1。 - 任意 OpenAI 兼容的决策模型。 用
ASCTRL_DECISION_BASE_URL和ASCTRL_DECISION_MODEL指向 Ollama、vLLM、llama.cpp 或其他 OpenAI 兼容服务,候选控件和窗口文字可以完全不出你自己的机器。 - Node.js 20.12 和 npm。 服务端压缩包带编译好的 JavaScript(
dist/),控制端、中继和 HTTP 连接器可在 Node.js 20.12 及以上版本运行;也已发布到 npm,包名@yalosaws/asctrl:npx -p @yalosaws/asctrl asctrl-relay。直接运行 TypeScript 源码的最低版本从 24.5 降到了 22.18。
感谢 @klarkxy 在 #1、#2、#3 中提出这些建议。
升级注意
- 部署了中继的: 中继没有
RELAY_TOKEN就无法启动。原来没设置令牌的,请生成一个密钥,设置在中继上,并在连接它的控制端和 HTTP 连接器上设置同一个值。 - 无人值守、没人点 Allow 的场景: 请在驱动上设置
ASCTRL_CONFIRM=off,否则高危操作会在 2 分钟后被拒绝。
快速开始
-
下载
asctrl-0.3.0-windows-x64.zip,用SHA256SUMS校验:Get-FileHash -Algorithm SHA256 .\asctrl-0.3.0-windows-x64.zip。 -
解压到一个长期保留的目录,例如
C:\Tools\Asctrl。 -
用绝对路径把 stdio 服务注册给你的 agent:
{ "mcpServers": { "asctrl": { "command": "C:\\Tools\\Asctrl\\runtime\\node.exe", "args": ["C:\\Tools\\Asctrl\\src\\console\\mcp-server.ts"] } } } -
让 agent 用
{}调用connect。控制端会启动包里自带的驱动,屏幕上出现悬浮球。
让编程 agent 自己部署,可以让它按 AGENTS.md 操作。需要 Windows x64、已登录的桌面和 WebView2(在 Windows 11 上测试);便携包自带 Node.js。完整说明见 README.zh-CN.md。
文件
| 文件 | 内容 |
|---|---|
asctrl-0.3.0-windows-x64.zip |
便携包:驱动、Node 运行时、控制端及其依赖、浏览器扩展、第三方声明。从这里开始。 |
Asctrl_0.3.0_x64-setup.exe |
只含驱动的安装程序。没有签名,Windows 可能提示发布者未知。 |
asctrl-0.3.0-server.tar.gz |
部署到自己服务器的控制端、中继和 HTTP 连接器,包含 TypeScript 源码(src/)和编译好的 JavaScript(dist/)。 |
asctrl-0.3.0-source.zip |
重新构建发布包所需的全部文件。 |
asctrl-0.3.0-driver-notices.zip |
驱动的第三方声明。单独分发安装程序时请一并附上。 |
SHA256SUMS |
以上文件的校验和。 |
MIT License
SHA256
cc69b1e1fd38ed096634a46d5d96277e7f25d20bfdceae4c9757109adb7f7aad asctrl-0.3.0-driver-notices.zip
0e63e045494b42dc0e55af31b3b2c24ff8ca6c1fbd67be29fef53bc3a0fdb9d9 asctrl-0.3.0-server.tar.gz
777e0006d96854fde50cc8bf044ebced615eb3d7f6a3e3b2119a1b716c5b5a4c asctrl-0.3.0-source.zip
e1085d8bc2bdf35ec6bece3eed1f717093dd02a815620433e2479605104af302 asctrl-0.3.0-windows-x64.zip
1303dd8be3506b59f1601b613b5ec31d48ce0a12744b952726309d64db855fd6 Asctrl_0.3.0_x64-setup.exe
Asctrl 0.2.0
The first release of Asctrl: a computer-use framework for any AI agent. Plug it into the agent you already use, over MCP, Streamable HTTP or a JSON-lines subprocess, and that agent can see and operate a Windows PC, locally or remotely through a relay you host.
English | 简体中文
Highlights
- Five tools (
connect,query,act,exec,resume) cover everything, so an agent spends few tokens learning them. - Plans and programs run on the computer. A plan or a JavaScript program runs on the driver and comes back only when it ends, asks, or a step fails, instead of a model round trip per click. A program that worked is kept as a skill and runs again with new arguments.
- Remote control built in. Pair an agent with a PC anywhere by a six-digit code, over TLS through a relay on your own server.
- Works with any agent. MCP stdio, Streamable HTTP with access keys or OAuth (PKCE), or plain JSON lines from any language.
- Visible at work. An on-screen orb shows every session; pointers show where the agent acts, as many as the work needs, paced to how fast it goes.
- Measured. 43 ms to read a window's text, 55 ms for a screenshot, about 0.44 s for a five-action program; Claude Code passed 40 of 40 real tasks with Asctrl as its only computer interface (report).
Get started
-
Download
asctrl-0.2.0-windows-x64.zipand check it againstSHA256SUMS:Get-FileHash -Algorithm SHA256 .\asctrl-0.2.0-windows-x64.zip. -
Extract it to a folder you keep, such as
C:\Tools\Asctrl. -
Register the stdio server with your agent, using absolute paths:
{ "mcpServers": { "asctrl": { "command": "C:\\Tools\\Asctrl\\runtime\\node.exe", "args": ["C:\\Tools\\Asctrl\\src\\console\\mcp-server.ts"] } } } -
Have the agent call
connectwith{}. The controller starts the bundled driver and the orb appears.
Coding agents setting it up on their own can follow AGENTS.md. Requires Windows x64 with a signed-in desktop and WebView2 (tested on Windows 11); the portable package brings its own Node.js.
Files
| File | Contents |
|---|---|
asctrl-0.2.0-windows-x64.zip |
Portable package: driver, Node runtime, controller and its dependencies, browser extension, notices. Start here. |
Asctrl_0.2.0_x64-setup.exe |
Driver-only installer. Unsigned, so Windows may show a publisher warning. |
asctrl-0.2.0-server.tar.gz |
Controller, relay and HTTP connector for your own server. |
asctrl-0.2.0-source.zip |
Everything needed to rebuild the release. |
asctrl-0.2.0-driver-notices.zip |
Third-party notices for the driver. Distribute it alongside the standalone installer. |
SHA256SUMS |
Checksums of the files above. |
简体中文
Asctrl 是给任意 AI agent 用的电脑操作框架。通过 MCP、Streamable HTTP 或 JSON Lines 子进程接入你已经在用的 agent,它就能看见并操作 Windows 电脑:可以是本机,也可以经你自己部署的中继操作远程电脑。
- 下载
asctrl-0.2.0-windows-x64.zip,按SHA256SUMS校验后解压,例如解压到C:\Tools\Asctrl。 - 按上面的 JSON 把
runtime\node.exe和src\console\mcp-server.ts的绝对路径注册给 agent,然后让它调用connect。 - 完整说明见 README.zh-CN.md;让编程 agent 自己部署,可以让它按 AGENTS.md 操作。
MIT License
SHA256
354e8afbe574420aaffb4650434be20712a193f00659ca758190de0a07af0eb8 Asctrl_0.2.0_x64-setup.exe
24c269ecd8b6174a1c45c2c54078b93520a50dfa3fe02d47f5a8e36156db79a5 asctrl-0.2.0-driver-notices.zip
c61c80ecd25d362ee0e10102ecec77391b8f1d600bfc4216130a29358f52e6c6 asctrl-0.2.0-server.tar.gz
180de5495d7ebfb9721b1b8b31d7a880187637fa5ceaa4777df9335639354e1f asctrl-0.2.0-source.zip
f3ccd76a2b3ca9ac675a9f99126046be8802d190a755098d7ae30829259c26b4 asctrl-0.2.0-windows-x64.zip