Skip to main content

multi

multi is a better way to work with VS Code/Cursor on multiple Git repos at once. It is an alternative to multi-root workspaces that offers more flexibility and control. With multi, you can gain control over how tasks, debug runnables, and various IDE and linter settings are combined from multiple project repos ("sub-repos") located within a root workspace folder.

Documentation

Features:

  • Generates files in your root .vscode folder from sub-repo launch.json, tasks.json, and settings.json files.
  • Supports optional installSets so installer scripts can sync only a public/runtime subset of repos.
  • Optionally generates CLAUDE.md and AGENTS.md files from tracked AGENTS.parts/*.md files.
  • In monorepo mode, syncs sub-repo GitHub workflows into root .github/workflows.
  • Generates a root AGENTS.override.md for Codex that repeats the root AGENTS.md and appends every sub-repo's AGENTS.md, because Codex reads one instruction file per directory and never looks into sub-repos. The root AGENTS.md is never modified, and an override multi did not write is left alone with a warning. Claude Code ignores the override and discovers nested instruction files itself. Disable with "codexOverride": {"enabled": false}.
  • Links sub-repo .agents/skills into the root .agents/skills so Codex, which only searches upward from the working directory, discovers them from the workspace. Claude Code already finds nested .claude/skills on its own, so those are left in place. Disable with "skills": {"enabled": false} in multi.json.
  • Pairs with Multi Desktop for workspace diffs, branch visibility, and actionable push diagnostics.

Installation

Using pipx:

  • Install pipx
  • Run pipx install multi-workspace

Using uv

  • Install uv
  • Run uv tool install multi-workspace

Getting started

To get started, create a new workspace directory that will house all your related repos and run:

multi init

When prompted, paste in the URLs of all the repositories you want to have in your workspace. You can optionally specify descriptions of what they do, which can be included in generated agent instruction files when that feature is enabled.

For scripts, you can also initialize non-interactively:

multi init \
  --repo https://github.com/org/backend \
  --repo-description "Backend API" \
  --repo https://github.com/org/frontend \
  --repo-description "Frontend app"

To create GitHub repositories first, add --github-repo entries. This uses gh repo create and defaults to private visibility:

multi init \
  --github-repo org/backend \
  --github-description "Backend API" \
  --github-repo org/frontend \
  --github-description "Frontend app"

For --github-repo, the GitHub CLI (gh) must already be installed and authenticated.

When repository slugs are product-prefixed, multi init automatically writes short local directory names into multi.json when the slug matches the workspace name prefix. For example, in a t-ide/ workspace, t-ide-cli becomes local folder cli.

The same naming rule applies to multi add, so adding https://github.com/org/t-ide-cli inside a t-ide/ workspace will also default to local folder cli.

For public installer workflows, add installSets to repo entries and run a filtered sync:

{
  "repos": [
    { "name": "cli", "url": "https://github.com/org/product-cli", "installSets": ["default", "dev"] },
    { "name": "ios", "url": "git@github.com:org/product-ios.git", "installSets": ["dev"] }
  ]
}
multi sync --install-set default

Running multi sync without --install-set still includes every repo. Repos without installSets are included in every named set.

To grant or remove GitHub collaborator access across every GitHub repo in a workspace, use:

multi collaborator add octocat --permission maintain --yes
multi collaborator add --yes
multi collaborator accept --yes
multi collaborator remove octocat --yes
multi collaborator recent-users

When the workspace root repository has a GitHub origin, multi collaborator applies the change there too.

The invited collaborator can run multi collaborator accept --yes with their own gh authentication to accept pending invitations for the workspace repos.

Recent collaborator usernames are saved under ~/.multi, and multi collaborator add can prompt from that list when no username is supplied.

If one repo fails, multi collaborator continues through the rest of the workspace and reports the failures at the end.

It is recommended you also install the VS Code Extension that automatically keeps your project synced when edits are made to synced files. To manually sync, you can run multi sync.

Metadata

Release files for multi-workspace 3.2.26

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

Source distribution (sdist)

Source distribution for multi-workspace 3.2.26
File Size Uploaded Provenance Actions
multi_workspace-3.2.26.tar.gz 59.5 kB Without provenance Details for multi_workspace-3.2.26.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for multi-workspace 3.2.26
File Interpreter ABI Platform Actions
multi_workspace-3.2.26-py3-none-any.whl Python 3 none any Details for multi_workspace-3.2.26-py3-none-any.whl

Total release size: 140.0 kB

Release files / multi_workspace-3.2.26.tar.gz

Download URL multi_workspace-3.2.26.tar.gz
Size 59.5 kB
Tags Source
SHA-256 checksum
How to use checksums
aa34a46aeb69c7b722ce874658e807fb3fd6d36392f385ce81536583f67c2ce2
BLAKE2b-256 checksum
How to use checksums
191e7bc18fae82f5ad857315b1e164557555e9fe97203269f25cb4c73357e52a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / multi_workspace-3.2.26-py3-none-any.whl

Download URL multi_workspace-3.2.26-py3-none-any.whl
Size 80.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f74f97b6e8a469a93b4b803a227f097f6a6aec82dd7ec00cd933653fef5219a8
BLAKE2b-256 checksum
How to use checksums
5a90e800251aa4e70127cc994d3a2d47c462ca96de4c8d919b36b9f2817c6110
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for multi-workspace 3.2.26

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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