aisland
One workspace of many Python projects, set up the same way on every machine. aisland keeps a git repository whose projects are submodules, installs every project editable into the workspace's one virtual environment, and gives the workspace what its projects share: git aliases that pull and push them all, local services (Jenkins, and the ones the projects bring, such as MLflow) under one supervisor, generated CI files, an environment check, and the agent rules every AI coding session in the workspace reads.
Install
uv tool install aisland # or: pipx install aisland
aisland --version # which aisland runs: aisland, version <its version>
Install aisland once, as a tool: that copy only creates workspaces. Each workspace then gets its own aisland in
its .venv, which aisland setup, the git aliases and CI use, so every workspace keeps the version it was set up
with. A project is any git repository with a pyproject.toml. uv tool install and pipx install give the tool an
environment of its own; a plain pip install aisland works only inside a virtual environment, since the system
Python of Homebrew or Debian refuses it (externally-managed-environment).
aisland setup also installs rule files for AI coding agents: an AGENTS.md in the root (CLAUDE.md and
GEMINI.md link to it), the rules and commands in .agents/, and a .claude/commands link in the root and in every
project. To have none of them, write [harness] sets = [] into workspace.toml
(harness).
aisland runs on macOS and Linux with Python 3.12 or newer, git, uv and bash (the git
aliases and the shell start-up file project.bashrc are bash), and on macOS Homebrew, through which
it installs tools. aisland setup installs the system tools your projects declare. aisland's own are installed the
first time a command needs one, after asking you — on macOS through Homebrew: process-compose for the services, Colima
and Docker, SwiftBar, act, and the Java Jenkins accepts; on Linux only process-compose, into aisland's own bin/
folder, while Docker and Java are yours to install. Without a terminal the command stops and prints the install line
instead. Three extras add optional parts:
| Extra | Adds |
|---|---|
aisland[mcp] |
aisland-mcp, an MCP server that offers a chosen set of aisland's commands to an AI client |
aisland[connect] |
aisland tunnel connect, a terminal on a remote machine over its VS Code tunnel |
aisland[prune] |
aisland wheels prune and aisland wheels reset, which rewrite a project's history with git-filter-repo |
Installing aisland also registers a pytest plugin, aisland_test_stats. It records every test run of a project
in an aisland workspace (how long it took, and each test's outcome) in the workspace's .aisland/data/test-stats/;
a project outside a workspace records nothing. aisland tests report reads the record. To turn it off
(tests says what it writes):
aisland workspace test-stats off [PROJECT…] [--machine-only] # for good
pytest -p no:aisland_test_stats # for one run
A first workspace
The aisland tool creates the workspace; the workspace's own aisland, installed into its .venv, sets it up:
aisland workspace init ~/work/acme --add git@github.com:acme/models.git
cd ~/work/acme
uv venv --seed .venv && .venv/bin/pip install aisland # the workspace's own aisland
.venv/bin/aisland setup
init creates the repository and its starting files and adds each --add project as a submodule:
==> Created workspace acme in /Users/you/work/acme
.git/ git init
models/ submodule git@github.com:acme/models.git
.gitignore written
.env written
mypy.ini written
vscode-init-bash.sh written
workspace.toml the projects, how to start another machine from them
git aliases pull-all, push-all, … in the local git config
.agents/ harness: aisland (6 commands, 1 script, rules) (`.claude/commands` links to its commands)
AGENTS.md written (imports the rules; CLAUDE.md and GEMINI.md link to it)
aisland setup then installs the system tools the projects declare, installs every project editable into .venv, and writes the
editor's workspace file and project.bashrc, the shell start-up file:
source project.bashrc # activates .venv and exports .env
aisland completion install # shell completion for every tool in .venv; project.bashrc loads it from now on
git pull-all # every project and the workspace, merged
aisland doctor # the environment checks, each with the command that fixes it
init never writes over a file that exists, and setup can be run again at any time: it brings the workspace in
line with workspace.toml and the projects' own declarations.
The same workspace on another machine
workspace.toml is committed: it lists every project (its folder, its repository, its branch) and starts with the
commands that create the workspace on a machine that has no aisland yet:
[workspace]
format = 1
name = "acme"
[project."models"]
url = "git@github.com:acme/models.git"
branch = "main"
In an empty folder holding only that file:
uv venv --seed .venv && .venv/bin/pip install aisland
.venv/bin/aisland workspace init . --from workspace.toml # clones every project on its branch
.venv/bin/aisland setup
Configure
Where a project comes from, whether this machine has it and which extras the projects install are settings of
aisland workspace configure. A setting is committed in workspace.toml, or kept for this machine only with
--machine-only:
aisland workspace configure source set models pypi # install models from PyPI instead of its checkout
aisland workspace configure source set models local --machine-only
aisland workspace configure extras set dev # the extras every project installs
aisland workspace show # what the projects declare to aisland
aisland workspace projects # the project folders, dependencies first
A project tells aisland what it brings — a selection to choose from, a service to run, the system tools it
needs — in its own pyproject.toml, under [tool.aisland]. It never imports aisland.
What aisland assumes
aisland comes with the habits of the workspace it grew in. Each one can be left alone, or turned off:
- Two branches per project: work on
dev/main, release frommain. The git aliases andaisland workspace mirror syncknow both by name. Other branches work too, but they get no special handling. - Two test runs: a fast
pytestthat stays under five minutes, and a slowpytest -m slow.aisland tests reportproposes which tests to move between them, measured against that budget. - Python with machine-learning dependencies: the generated root
uv.tomlinstallsopencv-python-headlessin place ofopencv-pythoneverywhere.aisland doctoralso checks for known problems with OpenCV,huggingface_huband torch's extension builds; a check passes with a note where its package is not installed.
Common tasks
| To … | Run | Page |
|---|---|---|
| create a workspace, or set up an existing repository | aisland workspace init <folder> |
workspace |
| bring the workspace in line after a change | aisland setup |
workspace |
see which of the projects' variables this machine's .env lacks |
aisland workspace env-example --missing |
workspace |
| choose where a project comes from | aisland workspace configure source set <project> local|github|pypi |
sources |
| choose the extras the projects install | aisland workspace configure extras set <names…> |
selections |
| choose whether the root records a project's commits, and see what is set | aisland workspace track set|unset [<project>], aisland workspace track status |
workspace |
| pull, push or tag every project | git pull-all, git push-all, git tag-all <tag> |
git |
| run the local services | aisland services start [NAME…] |
services |
| check the environment | aisland doctor |
doctor |
| see where a command failed | aisland --debug <command> (every error is one Error: line, exit 1; this adds its traceback and aisland's debug log) |
doctor |
| check every project, or one, before a push | aisland check [<project>] (isort, black, flake8, mypy, pytest, act; --write lets isort and black rewrite) |
ci |
| write a project's CI files | aisland jenkins scaffold <project> |
ci |
| see a project's test runs and slowest tests | aisland tests report <project> |
tests |
| carry a project to a machine without the workspace | aisland wheels build <project> |
wheels |
| drop old committed wheels from a project's history | aisland wheels prune <project> --apply |
wheels |
| reclaim a project's disk, and undo it | aisland clean <project>, aisland backups restore |
clean |
| refresh shell completion | aisland completion install |
completion |
| give the editor window its own theme | aisland workspace theme set <name> |
editor |
| list the workspace's MCP servers for an AI client | aisland mcp claude |
mcp |
| keep notebooks in git without their outputs | nothing: aisland setup registers the git filter aisland notebooks clean and adds *.ipynb filter=ipynb-cleaner to the root's .gitattributes (a project adds the line to its own) |
notebooks |
| reach a remote machine from your editor or a terminal, with no sshd | aisland tunnel start there, then aisland tunnel open <workspace> or aisland tunnel connect <workspace> here |
tunnel |
Every command has --help; commands lists them all, with every option.
Environment variables
None is needed; each changes one default. env.complete lists them with every variable the projects read.
| Variable | What it changes |
|---|---|
AISLAND_WORKSPACE |
aisland installed from a wheel: the workspace it works on (default: the one the current folder belongs to) |
AISLAND_TUNNEL_HOME |
where aisland tunnel keeps its state (default: ~/.aisland/tunnel) |
WORKSPACE |
the name aisland tunnel start gives the tunnel when none is given (default: the machine's hostname) |
DATA_ROOT, MODEL_ROOT, RUN_DIR |
the folders the cdd, cdm and cdr helpers of project.bashrc jump to (cdd models goes to $DATA_ROOT/models); set them in the workspace's .env |
TORCH_EXTENSIONS_DIR |
the folder aisland doctor checks for a stale torch build lock (default: torch's own cache) |
Uninstall
aisland keeps what it writes in the workspace, apart from the tunnel's state and the programs it installed with your consent. To remove it from a workspace:
- Stop what it runs:
aisland services stop, andaisland tunnel stopon a machine that serves a tunnel. - Uninstall the package:
.venv/bin/pip uninstall aisland, or delete.venv. - Delete what it generated in the root:
env.complete,env.example,project.bashrc,.project.bashrc.completion,pyrightconfig.json,uv.toml,.mcp.json,.gemini/settings.json,<name>.code-workspace, the agent files (.agents/, the.claude/commandslink, andAGENTS.mdwith itsCLAUDE.mdandGEMINI.mdlinks unless you wrote your own), and from a wheel.aisland/, which holds the services' data and the tools aisland downloaded (from a checkout they are in the checkout'sbin/,data/andtools/). - Decide about the starting files
workspace initwrote, which are yours from then on:.gitignore(setup appends the agent files' paths to it),.env,mypy.ini(setup appends the projects to itsmypy_path),vscode-init-bash.shandworkspace.toml. setup adds*.ipynb filter=ipynb-cleanerto the root's.gitattributes. - In each project: delete
pyrightconfig.jsonand the.claude/commandslink, and drop the lines/pyrightconfig.json,/**/*.egg-info/and/.claude/commandsfrom its.git/info/exclude. - Remove the git settings from the local
.git/configof the root and of each project: the workspace aliases (git config --local --get-regexp '^alias\.'lists them),filter.ipynb-cleaner.*,submodule.recurse,pull.rebaseand theaisland.*keys. aisland adds nothing to the global git config; it removes a global alias named like one of the workspace's. - Outside the workspace:
~/.aisland/tunnel(or$AISLAND_TUNNEL_HOME), SwiftBar's plugins folder setting on macOS, and the Homebrew formulas aisland installed after asking (process-compose,docker,colima,act,swiftbar, and theopenjdk@<N>Jenkins runs on), whichbrew uninstallremoves.
Documentation
- A workspace and its setup —
init,setup,workspace.toml, optional and untracked projects, system tools, a workspace of plain folders - Where each project comes from —
local,github,pypi, and mirrors - Selections — the extras a project offers and the workspace chooses
- Git across the workspace —
pull-all,push-alland the other aliases - Services — the supervisor, Jenkins, Docker and the others, and a service a project declares
- Jenkins — starting it, its GitHub credential and
the pipelines
aisland jenkins initseeds - CI — the generated
Jenkinsfile,Jenkinsfile.localandci.yml, and the quality gates - The environment doctor
- Test-run statistics
- Wheels for another machine
- Reclaiming disk space —
cleanandbackups - Shell completion
- The editor's files — the VS Code workspace file, Pyright's files, the window's theme and colours
- MCP — the client files and
aisland-mcp - Agent commands and rules
- Notebooks
- Remote machines
- Stability — what a release keeps, and what may change in any release
- Architecture — for contributors: what aisland is built of, and the decision records behind each mechanism
- Contributing — a checkout that runs the tests, the layers, where a change goes, the release
The examples in examples/ run as written and check what
the pages show.
Licence
Metadata
Release files for aisland 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aisland-0.1.1.tar.gz | 454.9 kB | With provenance | Details for aisland-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aisland-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for aisland-0.1.1-py3-none-any.whl |
Total release size: 980.5 kB
Release files / aisland-0.1.1.tar.gz
| Download URL | aisland-0.1.1.tar.gz |
|---|---|
| Size | 454.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48d9ceaf24421357ae84e203222f8c77ebac80c2823f4364fd853d1cf8e43fb3
|
|
BLAKE2b-256 checksum How to use checksums |
0a09adda7241be1cb1d54ca92ec0f4f827b1df5d77bc69210d6b1656203911ff
|
| 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 13, 2026.
Transparency logRelease files / aisland-0.1.1-py3-none-any.whl
| Download URL | aisland-0.1.1-py3-none-any.whl |
|---|---|
| Size | 525.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c262b2945422f1b51eb138003021ce5aec38e6ce23f33fdb528955ad1d9dc700
|
|
BLAKE2b-256 checksum How to use checksums |
dc61065540fc58594ffe1bbfc12c11f8690d773d3294474a34ce521f2c402cc3
|
| 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 13, 2026.
Transparency logSecurity for aisland 0.1.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
Both files in this release have been uploaded with provenance metadata.
Attestation for aisland-0.1.1.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 13, 2026.
Transparency logA 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.