Cookiecutter-based bootstrap CLI for new multi-agent Claude Code projects (companion to governance-core; P-0059).
Project description
multi-agent-template
Cookiecutter template + bootstrap CLI for new multi-agent Claude Code projects.
Generates a fresh multi-agent project pre-wired with the governance-core package — safety hooks, proposal workflow, wrap-up discipline, constitution iteration, cross-clone sync.
One-line bootstrap
# One-time setup (per machine)
pip install cookiecutter
pip install governance-core
pip install multi-agent-bootstrap
# Bootstrap a new project
multi-agent-bootstrap new my-project \
--agents core,data \
--ritual-phrase "Acknowledged"
# Open in Claude Code
cd ~/workshop-claude/my-project/agent-core
claude
Output:
~/workshop-claude/my-project/
├── agent-core/ (master branch; governance role)
│ ├── .claude/ (50+ hooks/skills/commands/agents)
│ ├── .governance/ (config.json + 17 clauses + keywords)
│ ├── CLAUDE.md (project constitution — business clauses
│ inherit governance clauses)
│ ├── constitution/ (total.md + per-agent agent.md)
│ ├── contracts/ (proposal/knowledge schemas)
│ ├── knowledge/ (governance docs + your project docs)
│ ├── tools/ (31 generic governance tools)
│ └── agent_rules/ (scope allow/deny)
├── agent-data/ (feature/data branch)
└── ...
~/workshop-claude/shared_state/my-project/
└── proposals/ (cross-clone shared runtime state)
See docs/getting-started.md for the complete walkthrough.
CLI reference
multi-agent-bootstrap new <project_name> [options]
Options:
--agents=NAMES Comma-separated agent list (default: core,data)
--ritual-phrase=PHRASE First-line session ritual (default: Acknowledged)
--install-root=DIR Output parent dir (default: ~/workshop-claude)
--core-agent-name=NAME Governance agent name (default: core)
--no-bootstrap Skip bootstrap script + governance-core install
--force Overwrite if project_name already exists
How it works
- cookiecutter render: The
{{cookiecutter.project_name}}/directory contains a skeleton with{{ cookiecutter.* }}placeholders.mab/cli.pycalls cookiecutter's Python API to substitute your inputs. - bootstrap script: After rendering,
mab/cli.pyrunsgit initin the new project + callsgovernance-core install(directly via Python subprocess; avoids historical PowerShell JSON quoting issues). - governance-core install: Renders 17 constitution clauses with your
ritual phrase substituted, copies 14 hooks + 7 commands + 22 skills + 2
agents to
.claude/, writes 31 tools, sets up.gitattributesmerge=oursfor per-branchconstitution/agent.mdisolation. - Initial commit:
mab/cli.pydoesgit add -A+ commits.
Result: a complete multi-agent governance scaffold in ~5 seconds.
Customization
After bootstrap, your project's .governance/config.json controls:
project_name,install_root,shared_state_root,claude_dircore_agent_name,core_branches,ritual_phraseagents[]with name/branch/clone_dir per agentupstream_branch,constitution_layout
To add a new business agent later, edit agents[] + run
governance-core upgrade --project-root . to refresh.
Project status
v0.1.0-alpha (2026-05). API may break between minor versions.
License
MIT — see LICENSE.
Related
- governance-core — the governance package this template installs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file multi_agent_bootstrap-0.1.0.tar.gz.
File metadata
- Download URL: multi_agent_bootstrap-0.1.0.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd24abefce0bb49a4d53a3967fbf26c0c7889fdcc9a15aefc312dedb150b3bee
|
|
| MD5 |
550fd21dc2ca29be7011175e1b45e7c5
|
|
| BLAKE2b-256 |
373031b12b585a20c8a82d7ef50d0e1752c7a204a16dd6df8214929776165775
|
File details
Details for the file multi_agent_bootstrap-0.1.0-py3-none-any.whl.
File metadata
- Download URL: multi_agent_bootstrap-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de270910dcffa98163549b8d9daf016d44b233a130e1a39f1e84d944597bf28d
|
|
| MD5 |
fe03bb90b2215deb1c91bece9ab7869d
|
|
| BLAKE2b-256 |
d0da49d8a1429454e8eaffc9431205e0da68004a1b3a5d0683396597c1a57140
|