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.11.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.11.0
File Size Uploaded Provenance Actions
lima_ai-0.11.0.tar.gz 50.5 kB With provenance Details for lima_ai-0.11.0.tar.gz

Built distribution (wheel)

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

Total release size: 110.6 kB

Release files / lima_ai-0.11.0.tar.gz

Download URL lima_ai-0.11.0.tar.gz
Size 50.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2163e2564aec12ceeb512b63eca323faa0b2bc9367a3c6993c2cd7d03fc333ac
BLAKE2b-256 checksum
How to use checksums
cbf7d08491d55dc644af3f3e716fd06fd7d97babbbed7d2149b8817d39bfdb05
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.11.0-py3-none-any.whl

Download URL lima_ai-0.11.0-py3-none-any.whl
Size 60.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c684aa100c988d3f3c36663d70251741423662ab67a5385ed24915372a667787
BLAKE2b-256 checksum
How to use checksums
6ba89850385c5dc67e74d4a55328de345714e220d2a1c03def7da6eed913a3e6
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.11.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.11.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