Scaffold AI-agent-ready projects from curated templates, presets, or a dirtree layout
pip install agent-bootstrap Copy PIP instructions
pip install agent-bootstrap # installs both `projboot` and `agent-bootstrap` pip install -e ".[dev]" # dev: + pytest for the test suite Requires Python 3.11+. Local scaffolding needs no token and no network; GitHub remote creation (-r github --create) uses GITHUB_TOKEN.
Create a new Python project pre-wired for Claude Code and GitHub Copilot, scaffolded locally and pushed to a new GitHub repository:
projboot create new-project -l python -a claude -a gh-copilot -r github --create --clone Or scaffold locally with custom directories for generated outputs, helper scripts, an ordered prompts catalog, and architecture conventions (all automatically wired into AGENTS.md, CLAUDE.md, .github/copilot-instructions.md, etc.):
projboot config-init projboot list-presets This creates:
projboot create my-service -l python -p clean-arch Classic Template & Dirtree Commands List available base templates:
projboot list-templates Scaffold directly from a base template (without the AI agent harness):
projboot init --name my-svc --template python-microservice \ --description "My service" --license mit --holder "Your Name" --local Override or add template variables with --var (repeatable):
projboot init-from-tree --name myproject --tree-file examples/tree.txt --gitkeep --local --gitkeep drops a .gitkeep in empty directories so they survive; --force allows overwriting a non-empty local target directory.
Templates render with Python's string.Template ($name, $description, $year, $holder, $arch, $outputs_dir, $scripts_dir, $prompts_file, plus any --var). This is deliberate: Helm's Go-template syntax ({{ .Values.foo }}) and GitHub Actions expressions (${{ secrets.X }}) contain no bare $identifier, so they pass through untouched. str.format() or Jinja2 would corrupt them.
pytest -q The dirtree parser, template rendering, preset & user store loader, AI agent overlays, CLI (local + GitHub dispatch via mocks), and GitHub helper are all covered without any network access.
scaffold boilerplate ai-agents project-template codegen cli
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




