Skip to main content

Bootstrap CLI that hoists the shared agentic-system surface into consumer repos.

Project description

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)

uvx --from "git+ssh://git@github.com/darce/agentic-protocol-monorepo@v0.1.0#subdirectory=packages/agentic-bootstrap" \
    agentic-bootstrap install \
    --target /path/to/your/repo

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>]
Subcommand Purpose
install Clone the monorepo, materialize SHARED + GENERATED surfaces, write the three MCP-config files, set core.hooksPath, 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.
doctor Detect drift in SHARED, GENERATED, and config surfaces. Exit 1 when drift exists.
repair Restore drifted surfaces flagged by doctor.

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

Surface Source Layer
scripts/hooks/ shared symlink
.github/hooks/ shared symlink
mk/ 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
.agentic/remote/ bootstrap git clone
.agentic/overlay.json bootstrap manifest

Defaults

  • --remote-url defaults to git@github.com:darce/agentic-protocol-monorepo.git.
  • --remote-ref defaults to main (override with a release tag like v0.1.0).
  • --mcp-servers defaults to the built-in managed map registering mcp-agent-handoff and mcp-agent-orchestrator via uvx. Pass a JSON file path to override; pass --no-mcp-servers to 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentic_bootstrap-0.2.1.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentic_bootstrap-0.2.1-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file agentic_bootstrap-0.2.1.tar.gz.

File metadata

  • Download URL: agentic_bootstrap-0.2.1.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for agentic_bootstrap-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4c6dff515550723baa12c94f15277c92b396289bde8cb81ccc3130d00ffaf5b3
MD5 a574f672555e7761f3f2ba8ed66307a2
BLAKE2b-256 447aac84b5b4ebe17926ff072717c42f4d47c7cd452ff959817bbf14e57e40a7

See more details on using hashes here.

File details

Details for the file agentic_bootstrap-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for agentic_bootstrap-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b69761a3b1902849e3fb0d1aa27dcb80585c208293a05c9f05313d36d0a2f66
MD5 bf1e5d208db44c9edea8af30977232c7
BLAKE2b-256 4f4322105c5dd207214f6f15f8b9f243af6a91504e99322dae1cff7d4c1239ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page