Skip to main content

Using devlanes? Please consider donating to support my open source work ❤️
Help devlanes grow! Star and share this amazing repository with your friends and co-workers!


devlanes: Sandboxes for your agents. localhost for you.


License Release CI Downloads Last commit



devlanes

Sandboxes for your agents. localhost for you.


devlanes runs your dev stack once per Git worktree, so you and your coding agents can work on different branches at the same time. Each worktree gets a lane with its own ports, HTTPS hostnames and data. Lanes run on your machine or on a remote one, and open in your browser either way.

It runs on macOS, Linux and Windows 11, and it is in beta.



Why devlanes

  • A lane per worktree: the main branch at myapp.localhost, a feature branch at myapp1.localhost, each on its own ports.
  • HTTPS hostnames with certificates your browser trusts, and no port to remember.
  • A database per lane: one Postgres container, and a database in it for each lane.
  • Coding agents start, test and stop their own lane through a skill or an MCP server, and leave yours alone.
  • Remote boxes: run the lanes on a VPS, a container or a codespace, and open them under the same hostnames.
  • One daemon runs the processes, so they keep running after you close the terminal. A CLI and a TUI talk to it.

Get started

Paste this into your coding agent:

Install the devlanes skill:
npx skills add devlanes-run/devlanes --skill devlanes

Then install devlanes on this machine, set up everything it needs,
and help me port this project to devlanes from whatever runs it today.

Or install it yourself, with the package manager you already use:

brew install devlanes-run/tap/devlanes
npm install -g devlanes
uv tool install devlanes

Or with the install script, on macOS and Linux:

curl -fsSL https://devlanes.run/install.sh | sh

On Windows 11:

irm https://devlanes.run/install.ps1 | iex

Install devlanes has the steps that follow the install.

You install it once. devlanes then keeps itself up to date in the background, without interrupting your work.

A project in one file

# devlanes.yaml
project: myapp

services:
  api:
    run_script:
      file: api/package.json
      name: dev
    hosts: "api.${{ lane.domain }}"
  web:
    preset: vite
    run_script:
      file: web/package.json
      name: dev
    env:
      VITE_API_URL: "${{ services.api.public_url }}"
    hosts: "${{ lane.domain }}"
devlanes start

In the main worktree this serves myapp.localhost and api.myapp.localhost over HTTPS. In a second worktree the same file serves myapp1.localhost and api.myapp1.localhost, on other ports.

Documentation

The docs start with a tour that follows one project from a single service to lanes on another machine. devlanes --help lists the commands.

The PyPI package

uv tool install devlanes and pipx install devlanes install the command for your user. pip install devlanes installs into the active environment, so the command disappears with that environment.

This package holds the native devlanes binaries; it has no Python code. pip, uv and pipx pick the wheel for your platform: macOS arm64 or x86_64, Linux arm64 or x86_64 with glibc 2.35 or later, Windows 11 x64 or arm64. Other platforms, including Linux with musl, have no wheel.

devlanes daemon install records the path of the installed binary. After installing into a different environment, run it again. Update with devlanes update. On Windows the daemon and the TUI keep a second hard link to the running devlanes.exe, which lets uv and pipx replace it; where they can't make one, devlanes update says to run devlanes daemon stop first.

Contributing

CONTRIBUTING.md covers building, testing and the design notes, and AGENTS.md has the conventions for people and agents working on the code.

Every commit on main that passes CI is published as the next build, so once your pull request is merged you can use it without waiting for a release. On macOS and Linux:

curl -fsSL https://devlanes.run/install.sh | sh -s -- --channel next

On Windows 11:

iex "& {$(irm https://devlanes.run/install.ps1)} -Channel next"

devlanes update then moves a next install to the latest build of main.

mprocs and dekit informed the terminal interaction. pitchfork, process-compose, devenv, Coasts, portless, kache, overmind and Conductor informed the process and worktree workflows.

License

Licensed under the Apache-2.0 License. See LICENSE for more information.

Metadata

Release files for devlanes 0.15.1

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

Built distributions (wheels)

Table of built distributions (wheels) for devlanes 0.15.1
File Actions
devlanes-0.15.1-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for devlanes-0.15.1-py3-none-win_arm64.whl
devlanes-0.15.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for devlanes-0.15.1-py3-none-win_amd64.whl
devlanes-0.15.1-py3-none-manylinux_2_35_x86_64.whl Python 3 none Linux glibc 2.35+ x86-64 Details for devlanes-0.15.1-py3-none-manylinux_2_35_x86_64.whl
devlanes-0.15.1-py3-none-manylinux_2_35_aarch64.whl Python 3 none Linux glibc 2.35+ ARM64 Details for devlanes-0.15.1-py3-none-manylinux_2_35_aarch64.whl
devlanes-0.15.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for devlanes-0.15.1-py3-none-macosx_11_0_arm64.whl
devlanes-0.15.1-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for devlanes-0.15.1-py3-none-macosx_10_12_x86_64.whl

Total release size: 135.0 MB

Release files / devlanes-0.15.1-py3-none-win_arm64.whl

Download URL devlanes-0.15.1-py3-none-win_arm64.whl
Size 21.8 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
3d7733b915874e8b3b5dc9cf2f13eefb29fb1c51adfc3d9d32c76439fe74608b
BLAKE2b-256 checksum
How to use checksums
6f958df9da44d5c95629dcf2a1bb2c0a31aa28fca184f2f1c4a61a822778a548
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 23, 2026.

Transparency log

Release files / devlanes-0.15.1-py3-none-win_amd64.whl

Download URL devlanes-0.15.1-py3-none-win_amd64.whl
Size 23.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
e0d933395703622179a0b8eb05a43475d46e9f4f1b7ef4b936ec30c589beea85
BLAKE2b-256 checksum
How to use checksums
c880d06d33ce98188c562ab8a04223f3778449c0b7f3dc889e58c77b52fcdaec
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 23, 2026.

Transparency log

Release files / devlanes-0.15.1-py3-none-manylinux_2_35_x86_64.whl

Download URL devlanes-0.15.1-py3-none-manylinux_2_35_x86_64.whl
Size 23.6 MB
Tags Linux glibc 2.35+ x86-64 Python 3
SHA-256 checksum
How to use checksums
8d761a483674dab46da653c1c6b56672b8b5219f7f42933a1809ba012b8f2629
BLAKE2b-256 checksum
How to use checksums
587fe5baceaa5726f1db8ec0558153f7fbb4f8260dbdfded09426c65e2515d3e
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 23, 2026.

Transparency log

Release files / devlanes-0.15.1-py3-none-manylinux_2_35_aarch64.whl

Download URL devlanes-0.15.1-py3-none-manylinux_2_35_aarch64.whl
Size 21.8 MB
Tags Linux glibc 2.35+ ARM64 Python 3
SHA-256 checksum
How to use checksums
e267b7774b4613f3010419693b72286af73d584e4aebbc6c1adb372b6813336f
BLAKE2b-256 checksum
How to use checksums
dd444aa827eb2be3fe0e12527ea415af900ae3c48003216975cd5fa973b4b624
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 23, 2026.

Transparency log

Release files / devlanes-0.15.1-py3-none-macosx_11_0_arm64.whl

Download URL devlanes-0.15.1-py3-none-macosx_11_0_arm64.whl
Size 21.2 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a8523a6947551c922e7d1f9b16d005cfee81a46cb91370529a199d0add4c20b0
BLAKE2b-256 checksum
How to use checksums
5da58fb102980cb38462980879134f789557ed6c8ad23b5f95ba6d71e7d781c4
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 23, 2026.

Transparency log

Release files / devlanes-0.15.1-py3-none-macosx_10_12_x86_64.whl

Download URL devlanes-0.15.1-py3-none-macosx_10_12_x86_64.whl
Size 22.8 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
a7a0a6973d6d3e32d0e0c1b0464ca19bbedf6b4cac5b46f8fca99719d6b977d1
BLAKE2b-256 checksum
How to use checksums
335980779922937df5a533f78858fb446c969cd98b532a04536ee0bbaa295fb2
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 23, 2026.

Transparency log

Security for devlanes 0.15.1

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

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for devlanes-0.15.1-py3-none-win_arm64.whl

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 23, 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