Skip to main content

lima-ai

Run several Claude Code agents in parallel on a Mac, each in its own disposable Linux VM, each working on one workspace of your project: a branch, an experiment, a review.

lima-ai new preludian/myapp feat-login     →  lima-dev-myapp-feat-login.local
lima-ai new preludian/myapp feat-billing   →  lima-dev-myapp-feat-billing.local

Every VM gets its own copy of the project, its own Docker daemon and its own network address. The same docker compose app can run on the same port in every VM at once, and you open each one by name from your Mac's browser. Inside a VM the agent has full control: root, Docker, and claude --dangerously-skip-permissions with no permission prompts. It still cannot write to your Mac's files, except for one backup folder.

How it works

lima-ai base builds one golden Ubuntu VM with Docker, Node, Rust and Claude Code, then seals it. lima-ai new clones that base in seconds, copies in your project, your Claude config and your git config, and gives the clone its own IP and mDNS name. Nothing is shared with your Mac except a read-only mount of ~/Developer and one read-write backups folder, and no VM port is forwarded to your Mac's localhost.

Documentation

The manual is at https://lima-ai.readthedocs.io/:

Requirements

  • macOS on Apple Silicon
  • Lima 2.0 or later: brew install lima
  • Rosetta, for running linux/amd64 images: softwareupdate --install-rosetta --agree-to-license
  • Claude Code on the Mac, signed in with a Max subscription
  • An SSH key loaded in ssh-agent, so git over SSH works in the VMs
  • uv, to install lima-ai from PyPI or from source (not needed with Homebrew)
  • Optional: docker-backup 0.4.0 or later, to restore VM backups into the Mac's Colima: brew install joepreludian/tap/docker-backup

Installation

From PyPI (recommended):

uv tool install lima-ai      # or: pipx install lima-ai

With Homebrew (installs Lima too):

brew install joepreludian/tap/lima-ai

Or download a self-contained executable (macOS Apple Silicon, Linux x86_64 or Linux arm64) from GitHub Releases (the macOS one is unsigned; see the manual for the Gatekeeper step), or install from a checkout with uv tool install . or make pex. The Installation page covers all of these.

Check it with lima-ai --version, then run lima-ai doctor to see what else is missing.

Development

make test        # unit tests; no VM or Lima install needed
make test-lima   # end-to-end tests with real VMs (a few minutes; longer if dev-base must be built)
make lint        # ruff check and format check
make pex         # dist/lima-ai, a self-contained executable for this machine's platform

make test-lima builds dev-base if it is missing, creates dev-limaaitest-* VMs from a small compose project, and deletes them and their backups when it finishes.

Metadata

Release files for lima-ai 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lima-ai 0.10.0
File Size Uploaded Provenance Actions
lima_ai-0.10.0.tar.gz 49.8 kB With provenance Details for lima_ai-0.10.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lima-ai 0.10.0
File Interpreter ABI Platform Actions
lima_ai-0.10.0-py3-none-any.whl Python 3 none any Details for lima_ai-0.10.0-py3-none-any.whl

Total release size: 109.0 kB

Release files / lima_ai-0.10.0.tar.gz

Download URL lima_ai-0.10.0.tar.gz
Size 49.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d19a9a8cb5df1d5c034f7b99844ccaf36482546361cce56e621bef259e028018
BLAKE2b-256 checksum
How to use checksums
c0b48e7cc10e297f6e297575415a2c78568840eae403a32acbd2d127a1f213ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / lima_ai-0.10.0-py3-none-any.whl

Download URL lima_ai-0.10.0-py3-none-any.whl
Size 59.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
434196f4055b89aa9186698967c06444ff6cbae873592ef1c79a97883ebaaf22
BLAKE2b-256 checksum
How to use checksums
07c6b13a7e0cc8a7745e52b16592f2356e49968e160fe044ad88676c7c03d666
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for lima-ai 0.10.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lima_ai-0.10.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page