# lean-computer-use > Background Mac computer control for AI agents: desk tools, a fresh runner subagent, retry guards and a transcript token meter, installed with one command Install: `npx lean-computer-use` ## Project links - [lean-computer-use | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-computer-use/): Canonical project page, release notes and setup overview. - [Markdown mirror](https://aunysillyme.dev/projects/lean-computer-use/index.md): Clean Markdown twin of the project page. - [GitHub repository](https://github.com/aunysillyme/lean-computer-use): Source code, releases and issue tracker. - [npm package](https://www.npmjs.com/package/lean-computer-use): Published `lean-computer-use` package on the npm registry. - [Site directory (llms.txt)](https://aunysillyme.dev/llms.txt): Full AunySillyMe.dev index across all projects and stacks. ## Documentation - [Version history | lean-computer-use | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-computer-use/versions/) ([Markdown](https://aunysillyme.dev/projects/lean-computer-use/versions/index.md)): Every release of lean-computer-use, newest first. - [Changelog | lean-computer-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-computer-use/docs/changelog/) ([Markdown](https://aunysillyme.dev/projects/lean-computer-use/docs/changelog/index.md)): All notable changes to this project are documented here. The format follows Keep a Changelog, and the project uses Semantic Versioning. - [Commands | lean-computer-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-computer-use/docs/commands/) ([Markdown](https://aunysillyme.dev/projects/lean-computer-use/docs/commands/index.md)): These Python tools keep native Mac app actions in one small helper context. They resolve a bundle id to a process and usable window, inject those ids, save the full driver response, and return a short result. Python uses only its standard library. Native app control requires macOS, CuaDriver.app, cua-driver, osascript, Accessibility permission, and Screen Recording permission. - [Guarantees | lean-computer-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-computer-use/docs/guarantees/) ([Markdown](https://aunysillyme.dev/projects/lean-computer-use/docs/guarantees/index.md)): The optional hooks help a runner stop a repeated error, combine small actions and end the processes it leased. Install their registrations with npx lean-computer-use --with-hooks. The installer merges settings-snippet.json into the selected Claude Code settings file, substitutes the installed hook folder for __HOOKS_DIR__, and marks the entries lean-computer-use. Uninstall removes those marked entries while preserving other settings. - [Guides | lean-computer-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-computer-use/docs/guides/) ([Markdown](https://aunysillyme.dev/projects/lean-computer-use/docs/guides/index.md)): Every agent step re-reads its conversation. Keep native app work in a fresh, small context and bundle predictable actions to reduce repeated context reads. A runner is a fresh subagent that performs the app actions. The main session frames the task and verifies evidence; the runner performs the screen actions. Use a cheap helper or desk-runner; use the runner for all app work when a cheap helper is unavailable. The driver is cua-driver, the background app driver from trycua/cua. - [How computer use works | lean-computer-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-computer-use/docs/how-it-works/) ([Markdown](https://aunysillyme.dev/projects/lean-computer-use/docs/how-it-works/index.md)): Every agent step re-reads the conversation available to that agent. Put screen work in a small, fresh context and bundle predictable actions so it takes fewer steps. The main session frames the task, checks saved evidence, and reports the result; a cheap helper or desk-runner performs the app work. When no cheap helper is available, the runner handles every native app task. - [lean-computer-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-computer-use/docs/) ([Markdown](https://aunysillyme.dev/projects/lean-computer-use/docs/index.md)): Browse the documentation and guides for lean-computer-use. - [Install | lean-computer-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-computer-use/docs/install/) ([Markdown](https://aunysillyme.dev/projects/lean-computer-use/docs/install/index.md)): Use Node >=22 to run the installer. Native app control needs macOS, Python 3 and the separately installed cua-driver. Follow the driver precautions before granting system permissions. - [Overview | lean-computer-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-computer-use/docs/overview/) ([Markdown](https://aunysillyme.dev/projects/lean-computer-use/docs/overview/index.md)): Background Mac computer control for AI agents: chain actions, read once with a filter, and verify cleanup. - [Proof | lean-computer-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-computer-use/docs/proof/) ([Markdown](https://aunysillyme.dev/projects/lean-computer-use/docs/proof/index.md)): Package receipts include the command, measurement date and expiry in proof/results.json. They measure the package and synthetic fixture. Regenerate them from a source checkout with npm run proof after running the checks. The npm package includes the receipts and proof scripts; regeneration uses the source checkout's test suites and fixtures.