AUV means Application Use Via ....
- Apple Music Application Use Via
auv-apple-music... - macOS Media Control Use Via
auv-media-macos... - Balatro (yes the game Balatro) Application Use Via
auv-game-balatro... - ... more, waiting for your implementation.
Think of it as a programmable computer use, without agents.
- Getting Started
- Understand AUV
- Why even build AUV?
- Capability Matrix
- Development
- Related
- Acknowledgements
- Special Thanks
- Star History
- License
Install directly from GitHub:
cargo install --git https://github.com/moeru-ai/auv auv-cli --bin auv
auv --helpThird-party Protobuf sources are included in the repository; Cargo installs do not require Buf or a separate Protobuf dependency-generation step. See the macOS Git-install verification.
After installation, use the auv CLI directly:
auv --help
auv invoke --helpOS permissions are required to be granted to the process that launches AUV, usually your terminal app.
Open System Settings -> Privacy & Security and enable:
| Permission | Needed for |
|---|---|
| Accessibility | AX tree reads, focused element control, keyboard/pointer automation. |
| Screen Recording | Screenshots, OCR, visual inspection, and evidence capture. |
| Automation | AppleScript/System Events app activation and foreground fallback paths. |
After changing permissions, restart the terminal process and rerun:
auv doctor
auv invoke app.probePermissionsFor Cua, agent-browser, and
similar computer-use projects, it is common to execute screenshot, read image, click, type,
wait, and follow-up verification steps in sequence, then ask LLMs or agents to judge the next move.
flowchart LR
A[Agent] --> B[screenshot]
B --> C[read image]
C --> D[decide next step]
D --> E[click]
E --> F[wait]
F --> G[type]
G --> H[verify]
H --> D
Many of those repeated sequences can be squashed into reusable GUI operations. Opening an app, waiting for readiness, filling a form, and checking the result should be callable as one command instead of spending tokens on the same step-by-step loop every time.
Modern agents often use skills or project instructions to orchestrate tool calls, CLIs, and scripts. But built-in computer-use surfaces, such as OpenAI Computer Use or Claude Computer Use, are still primarily interactive model-tool loops, not scriptable GUI automation libraries.
Similar to Playwright, what if we could organize those actions into executable scripts, reusable?
| Tool-call loop | Rust scripts |
|---|---|
|
pub fn open_and_fill_form(
app: &mut AppSession,
data: FormData,
) -> AuvResult<OperationResult> {
app.open()?;
app.wait_for_ready()?;
app.fill(data)?;
app.verify_submitted()
} |
|
pub fn scan_visible_rows(
region: &mut WindowRegion,
) -> AuvResult<ScrollScanArtifact> {
region.scan_rows_until_stop()
} |
|
pub fn verify_and_retry<F>(
mut operation: F,
) -> AuvResult<OperationResult>
where
F: FnMut() -> AuvResult<OperationResult>,
{
retry_until_verified(&mut operation)
} |
AUV expects agents to write, test, and improve reusable GUI automation for E2E tests and rapid application actions.
In fact, AUV is not a computer-use agent. It does not ship an agent or harness. It offers tools, CLIs, drivers, and verifiable observable results so agents can build reusable GUI operations.
AUV is meant to work with coding agents and agent products such as:
That means:
- If your agent can call a CLI, AUV can be used as computer use.
- If your agent can write code, AUV can move repeated GUI work into reusable Rust or JavaScript/TypeScript operations. Python bindings remain planned. Once a GUI flow is finalized as an operation, repeated execution can approach zero reasoning-token cost.
AUV born from the grounding knowledge of building general gaming agents for Project AIRI, since 2024, we tried to build agents to allow LLMs to play the following games, you can find how we implement the agents in the following repos:
There are more games we implemented where you can find in Project AIRI organization, but these four requires YOLO, OCR, screen understanding, and computer-use capabilities.
Now you have the framework to build for any applications, games.
Since Vercel published the agent-browser, we fell in love with it and have it assisted agents to build many web projects, but we found that the loop it requires for agents to call agent-browser CLI to execute the commands is too slow and inefficient, while in computer use world, many operations can be repeated thousands of times, just like how Playwright/Vitest would allow us to write E2E test for applications, why don't we expand this idea of writing code to control application to computer use world?
What AUV can do, compared to other computer-use projects.
- β : implemented and exposed by a current public repository surface.
β οΈ : implemented with the limit shown in the table or notes.- β³: planned, but not implemented.
| Capability | AUV | Cua | OpenBridge (KWWK core) | Playwright |
|---|---|---|---|---|
| Agent model | π‘ BYOA | π‘ BYOA + built-in agent | π‘ OpenBridge built-in agent KWWK is agent-free |
π‘ BYOA + built-in Test Agents |
| Scriptable | β
Rust + JS/TS β³ Python |
β Python/TypeScript/Rust SDKs | β Swift package | β JS/TS/Python/Java/.NET |
| Native desktop drivers | β
macOS/Linux/Windows β³ Android/iOS |
β macOS/Linux/Windows | β browser only | |
| CLI | β | β | β | β |
| MCP | β | β | β | β browser MCP |
| Run / trace recording | β runs + tracing + artifacts + OTEL export | β per-action trajectories | β | |
| Display / window capture | β macOS/Linux/Windows | β macOS/Linux/Windows | β macOS | β browser only |
| OCR | β macOS Vision/Linux Tesseract/Windows OCR | β | β | |
| Template image localization | β | |||
| Accessibility tree | β macOS AX/Linux AT-SPI/Windows UIA | β macOS AX/Linux AT-SPI/Windows UIA | β macOS AX | |
| Accessibility actions | β | β | ||
| Mouse / click | β macOS/Linux/Windows | β | β | |
| Background pointer input | β
macOS β Linux/Windows |
β macOS/Linux/Windows, best effort | β macOS background | |
| Foreground pointer input | β macOS/Linux/Windows | β | β | |
| Keyboard | β macOS/Linux/Windows | β | β | |
| Scroll | β macOS/Linux/Windows | β | β | |
| Scroll native lists | Generic CLI deferred |
β | ||
| Action evidence | β attempts + fallback + disturbance + separate verification | β structured tool outputs + trajectories | ||
| YOLO / Custom Models | β | β | β | β |
- Scroll scan is a major reason AUV exists. Most desktop automation stacks can
scroll or read a screenshot, but they do not turn a native app's visual list into
page records, row candidates, crop artifacts, OCR fragments, and inspectable
stop reasons. AUV's current scroll-scan implementation is still contract work,
so the old public
scan window-regionCLI was removed until the reusable API is clear. - Feedback means the automation returns machine-readable evidence after an attempt: what input path was used, what changed, what artifacts were captured, whether verification passed, and why an operation should retry, stop, or fail.
cargo fmt --check
cargo check
cargo testTo update vendored Protobuf dependencies, see the Protobuf source distribution reference.
Note
If you use proto, then
proto install buf
proto install node
proto install pnpm, this should help you install necessary tools.
pnpm install
pnpm generate:proto
pnpm exec playwright install chromium
pnpm build
pnpm test:run
pnpm lint
pnpm typecheckAfter you change headings in the root or package READMEs, run pnpm docs:update.
This command updates all three tables of contents.
Useful entrypoints:
auv doctor
auv invoke <command-id> --help
auv serve --help
auv devices list
auv runner --help
auv run --help
auv mcp serve
auv plugin listUse docs/TERMS_AND_CONCEPTS.md for shared vocabulary. Durable design and
evidence notes live under docs/ai/references/.
Note
This project is part of the Project AIRI ecosystem.
Special thanks to all contributors for their contributions to auv β€οΈ