English | 简体中文
AUV means **Application Use Via ...**. - Apple Music Application Use Via [`auv-apple-music`](https://github.com/moeru-ai/auv/tree/main/supported/apps/auv-apple-music)... - macOS Media Control Use Via [`auv-media-macos`](https://github.com/moeru-ai/auv/tree/main/crates/auv-media-macos)... - [Balatro](https://www.playbalatro.com/) (yes the game [Balatro](https://www.playbalatro.com/)) Application Use Via [`auv-game-balatro`](https://github.com/moeru-ai/auv/tree/main/supported/games/auv-game-balatro)... - ... more, waiting for your implementation. > Think of it as a programmable computer use, without agents. ## Table of Contents - [Getting Started](#getting-started) - [Understand AUV](#understand-auv) - [Why even build AUV?](#why-even-build-auv) - [Capability Matrix](#capability-matrix) - [Development](#development) - [Related](#related) - [Acknowledgements](#acknowledgements) - [Special Thanks](#special-thanks) - [Star History](#star-history) - [License](#license) ## Getting Started ### Install Install a prebuilt release: #### macOS ```sh brew install moeru-ai/tap/auv auv --version ``` Alternatively, without [Homebrew](https://brew.sh/): ```sh curl -fsSL https://auv.moeru.ai/install.sh | sh ``` #### Linux ```sh curl -fsSL https://auv.moeru.ai/install.sh | sh auv --version ``` > [!NOTE] > > Set `AUV_VERSION` or `AUV_INSTALL_DIR` to change the release version or the > install directory (default: `~/.local/bin`). > > The glibc Linux release is a full bundle: it includes AUV's private native > libraries, the PipeWire client files they need, and the English Tesseract > model. It needs glibc 2.36 or newer (for example Debian 12 or Ubuntu 24.04). > Additional OCR languages can be supplied through `TESSDATA_PREFIX`. Linux > musl is not currently supported. #### Windows ##### Scoop ```powershell scoop bucket add auv https://github.com/moeru-ai/auv scoop install auv/auv auv --version ``` ##### Manual installation Download the archive for your architecture: - [x86-64](https://github.com/moeru-ai/auv/releases/latest/download/auv-x86_64-pc-windows-msvc.zip) - [ARM64](https://github.com/moeru-ai/auv/releases/latest/download/auv-aarch64-pc-windows-msvc.zip) Extract the archive to a permanent directory. Add that directory to your user `PATH`. The archive contains a single `auv.exe`; the Windows helper is embedded. ### Install with proto Install and configure [proto](https://moonrepo.dev/docs/proto) first. Then add the AUV plugin and install the latest release: ```sh proto plugin add auv "https://raw.githubusercontent.com/moeru-ai/auv/main/toolchain/proto/auv.toml" --to global proto install auv latest --config-mode global --pin global auv --version ``` > [!NOTE] > > `AUV Helper.app` for macOS is included in the `proto` installation. On > Windows, `auv-helper.exe` is embedded in `auv.exe` and extracted only by the > elevated helper setup command. > [!WARNING] > > Linux musl is not supported. (But PRs are welcomed!) ### Install with Nix Install [Nix](https://nixos.org/download/) 2.27 or later and enable the `nix-command` and `flakes` experimental features. On macOS, install Apple's build tools first: ```sh xcode-select --install ``` Then install the default AUV package from this repository: ```sh nix profile install 'git+https://github.com/moeru-ai/auv#default' auv --version ``` The `git+https` transport is required so Nix fetches AUV's Git submodules. The flake defines source-built packages for Apple Silicon and Intel macOS and for x86-64 and ARM64 Linux. The package does not support Windows or Linux musl. The Nix package does not embed the signed `AUV Helper.app`. On macOS, use Homebrew, proto, or a direct release download if you need to run `auv setup macos-helper install` with the official helper. ### Install with Cargo Prerequisites: [Rust](https://www.rust-lang.org/tools/install) and the platform build tools below. AUV includes the Protobuf sources, so Buf is not required. > [!WARNING] > `cargo install` does not include AUV Helper. Use an install method above if > you need it. #### macOS Install the Xcode Command Line Tools: ```sh xcode-select --install cargo install --git https://github.com/moeru-ai/auv auv-cli --bin auv auv --version ``` #### Linux On Ubuntu or Debian, install the native build dependencies: ```sh sudo apt-get update sudo apt-get install -y \ pkg-config libclang-dev libxcb1-dev libxrandr-dev libdbus-1-dev \ libpipewire-0.3-dev libwayland-dev libxkbcommon-dev libegl-dev \ libleptonica-dev libtesseract-dev cargo install --git https://github.com/moeru-ai/auv auv-cli --bin auv auv --version ``` > [!NOTE] > Other Linux distributions can use different package names. #### Windows Install Rust with the MSVC toolchain, Visual Studio Build Tools, and the Windows SDK. ```powershell cargo install --git https://github.com/moeru-ai/auv auv-cli --bin auv auv --version ``` ### Setup #### macOS Official macOS releases include the signed `AUV Helper.app`. On macOS 13 or later, install it for the current user: ```sh auv setup macos-helper install auv setup macos-helper status ``` > [!TIP] > The installation does not require `sudo` or an administrator password. If macOS requests approval, open the Background Items and Accessibility settings: ```sh auv setup macos-helper open-background-items-settings auv setup macos-helper open-accessibility-settings ``` > [!NOTE] > Projects that integrate AUV can rebrand `AUV Helper.app`. They can change its > name, icon, bundle identifier, and Apple Developer signing identity. See > [Shipped helper identity](crates/auv-device-helper-macos/README.md#shipped-helper-identity) > for packaging options. Grant these permissions to the application that starts AUV, usually your terminal application: | 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 you change the permissions, restart the terminal. Then run: ```sh auv doctor auv invoke permission.probe ``` #### Windows > [!IMPORTANT] > The Windows setup commands require an elevated PowerShell. ```powershell auv setup windows-helper install auv setup windows-helper status ``` > [!NOTE] > The setup command extracts the `auv-helper.exe` that is embedded in `auv.exe` > into `%ProgramFiles%\AUV`. Then it registers that file as the LocalSystem > `AuvHelper` service. The Helper does not listen on the network. Lock and > unlock work through an ordinary `auv serve` that runs as the logged-in user. > To accept paired Devices from the network, start that daemon with > `--remote-bind 0.0.0.0:9847`. Setup also registers the `AUV Daemon` > scheduled task for the user who runs it. The task starts a local-only > `auv serve` at that user's logon, in the interactive session and with > limited privileges. If a 0.0.28 Helper is installed, run > `auv setup windows-helper uninstall` first, then install again and pair > clients again. > > Evidence level: one installed lock and unlock gate on one Windows 11 host. > This is not a general support claim. See the > [Windows Helper and daemon split](docs/ai/references/session-api/2026-10-06-windows-helper-daemon-split.md#evidence). #### Local daemon `auv invoke` and `auv mcp serve` run commands through your local AUV daemon and its Runner, so state such as a window maximize record stays between calls. If no daemon runs, the first command starts one. It runs as you, accepts only local connections, keeps its store and traces in your AUV state directory, and stops 5 minutes after the last command. The command output names the Run and the store. To run a command in the calling process instead, use `auv --no-daemon invoke| Tool-call loop | Rust scripts |
|---|---|
| ```text • Ran screenshot └ saved screen.png • Ran read image screen.png └ form is visible • Ran click "Email" └ clicked • Ran type "user@example.com" └ typed • Ran screenshot └ saved after.png • Ran verify form state └ ready ``` |
```rust
pub fn open_and_fill_form(
app: &mut AppSession,
data: FormData,
) -> AuvResult |
| ```text • Ran screenshot └ saved page-1.png • Ran OCR visible rows └ 12 rows • Ran scroll └ scrolled down • Ran OCR visible rows └ 10 rows, 4 repeated • Ran guess when to stop └ uncertain ``` |
```rust
pub fn scan_visible_rows(
region: &mut WindowRegion,
) -> AuvResult |
| ```text • Ran click target └ clicked • Ran screenshot └ saved after-click.png • Ran semantic check └ mismatch • Ran retry manually └ repeated tool loop ``` |
```rust
pub fn verify_and_retry |