agentic-bootstrap
Pip-installable CLI that hoists the shared agentic-system surface
(typed protocol, two MCP servers, hooks, skills, generated agent
workflows) into consumer repositories. Lives inside
darce/agentic-protocol-monorepo.
Consumers run agentic-bootstrap install --target <path> once; it
clones the monorepo, materializes the overlay, and registers both
managed MCP servers (mcp-agent-handoff, mcp-agent-orchestrator)
across .mcp.json, .vscode/mcp.json, and .codex/config.toml. No
hand-edits required.
Install
From PyPI (recommended)
uvx --from agentic-bootstrap agentic-bootstrap install --target /path/to/your/repo
# or, persistent:
uv tool install agentic-bootstrap
From the monorepo source tree (development)
cd packages/agentic-bootstrap
python -m pip install -e ".[dev]"
Direct from git (private-repo phase, before PyPI release)
One-shot (no install — fetches each invocation):
uvx --from "git+ssh://git@github.com/darce/agentic-protocol-monorepo@agentic-bootstrap-v0.2.1#subdirectory=packages/agentic-bootstrap" \
agentic-bootstrap install \
--target /path/to/your/repo
Persistent (recommended once you start running status / doctor
regularly — installs agentic-bootstrap onto $PATH):
uv tool install "git+ssh://git@github.com/darce/agentic-protocol-monorepo@agentic-bootstrap-v0.2.1#subdirectory=packages/agentic-bootstrap"
# then:
agentic-bootstrap status --target /path/to/your/repo
agentic-bootstrap doctor --target /path/to/your/repo
# upgrade later:
uv tool upgrade agentic-bootstrap
Hardlink warning on first install? If you see
Failed to hardlink files; falling back to full copy, youruvcache and tool dir live on different filesystems. The install still succeeds; silence the warning withexport UV_LINK_MODE=copyin your shell profile.
Subcommands
agentic-bootstrap install --target <path> [--remote-ref <tag>] [--mcp-servers <default|path>] [--no-mcp-servers]
agentic-bootstrap update --target <path> --remote-ref <tag>
agentic-bootstrap status --target <path>
agentic-bootstrap doctor --target <path> [--mcp-servers <default|path>]
agentic-bootstrap repair --target <path> [--force-dirty] [--mcp-servers <default|path>]
install: Clone the monorepo, materialize SHARED + GENERATED surfaces, write the three MCP-config files, runinit-stateto provision<target>/.task-state/handoff.db(skipped under--no-mcp-servers), setcore.hooksPath, and write the overlay manifest.update: Re-run install at a new--remote-ref; refresh GENERATED surfaces and, optionally, configs.status: Print a summary of the installed overlay manifest. When the install registered MCP servers, also reports the resolvedstate_dir/db_path/exports_dir/schema_versionviainit-state --check.doctor: Detect drift in SHARED, GENERATED, config, and initialized-state surfaces. Flags missing.task-state/handoff.dbasstate_driftonly when the manifest recorded.mcp.json. Exit1when drift exists.repair: Restore drifted surfaces flagged bydoctor.
See docs/CONSUMER.md
for the consumer-facing walkthrough (upgrade, drift handling, skill
overrides, the current_task_auto_regen migration note).
Surfaces written by install
The canonical source of truth for bootstrap-managed surfaces is the
installer implementation in
src/agentic_bootstrap/install.py (SHARED_SURFACES and
GENERATED_SURFACES). Keep this table aligned with those constants.
| Surface | Source | Layer |
|---|---|---|
scripts/hooks/ |
shared | symlink |
.github/hooks/ |
shared | symlink |
docs/agentic/contracts/ |
shared | symlink |
.claude/skills/ |
generated | real dir |
.claude/commands/ |
generated | real dir |
.github/prompts/ |
generated | real dir |
.codex/skills/ |
generated | real dir |
.mcp.json |
generated | real file |
.vscode/mcp.json |
generated | real file |
.codex/config.toml |
generated | real file |
core.hooksPath git config |
generated | git config |
.task-state/handoff.db |
runtime | sqlite |
.task-state/exports/ |
runtime | dir |
.agentic/remote/ |
bootstrap | git clone |
.agentic-bootstrap.json |
bootstrap | manifest |
.task-state/ is provisioned by the handoff server's init-state
subcommand at install time and is gitignored — each fresh checkout
regenerates it through agentic-bootstrap install.
Defaults
--profiledefaults toall, which materializes the full surface set: per-agent generated surfaces (.claude/skills,.claude/commands,.github/prompts,.codex/skills), shared overlay symlinks, and the lifecycle hoist (Makefile.d/lifecycle.mkplus the sentinel-bracketed-includeblock in the consumerMakefile). Pass--profile minimalfor a clone-only install with no surfaces, or--profile lifecyclefor just the lifecycle runner and Makefile fragment. The active profile is recorded in.agentic-bootstrap.jsonunder"profile".--remote-urldefaults togit@github.com:darce/agentic-protocol-monorepo.git.--remote-refdefaults tomain(override with a release tag likev0.1.0).--mcp-serversdefaults to the built-in managed map registeringmcp-agent-handoffandmcp-agent-orchestratorviauvxwith--workspace-root . serve-stdio, so Codex, VS Code, and Claude clients start real MCP stdio servers from the generated config. Pass a JSON file path to override; pass--no-mcp-serversto skip the three config writers entirely.
Development
Tests live under tests/. From the monorepo root:
cd packages/agentic-bootstrap
PYTHONPATH=.:src:../agentic-protocol/src pytest tests -q
Metadata
Release files for agentic-bootstrap 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agentic_bootstrap-0.5.2.tar.gz | 204.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agentic_bootstrap-0.5.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 239.3 kB
Release files / agentic_bootstrap-0.5.2.tar.gz
| Download URL | agentic_bootstrap-0.5.2.tar.gz |
|---|---|
| Size | 204.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38c63ccbccd5ca216e42b8c6f773524cfabefa4b568b1c7b5fcb94e9c533b65c
|
|
BLAKE2b-256 checksum How to use checksums |
0093113075e908084085d6a100df89d378ae2bebbc34ad068a33a2cf2a55e060
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / agentic_bootstrap-0.5.2-py3-none-any.whl
| Download URL | agentic_bootstrap-0.5.2-py3-none-any.whl |
|---|---|
| Size | 34.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7107adaf273ccbd486e9dd794cc5820f8d346ef15f2610923309043a2502d9dd
|
|
BLAKE2b-256 checksum How to use checksums |
940328cd07c3727540bff4b7107fcf15d3852aad020ca97bfeba279d01eed23d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|