Scaffold AI-DLC projects with enterprise guardrails, prompts, and compliance templates.
Project description
aidlc-kit
Scaffold AI-DLC projects with prompts, templates, and consistency checks.
aidlc-kit is the companion CLI tool for the AI-DLC methodology, originally introduced by Raja SP in the AWS DevOps Blog. The methodology is extended with additional rituals, enterprise guardrails, brownfield workflows, and tooling in Reimagine, Don't Retrofit by Ricardo González Vargas. The book provides the methodology, principles, and rituals; this tool provides the project scaffolding to put them into practice.
Install
pip install aidlc-kit
# or with uv
uv tool install aidlc-kit
# or run without installing
uvx aidlc-kit
Quick Start
# Scaffold a new project (interactive wizard)
aidlc-kit init my-project
# Non-interactive
aidlc-kit init my-project --mode greenfield --platform aws --ide kiro
# Brownfield (existing codebase)
cd existing-repo
aidlc-kit init . --mode brownfield --platform azure --ide copilot
# Enterprise tier (adds EGS guardrails, compliance matrix, gap analysis)
aidlc-kit init my-project --mode greenfield --platform aws --tier enterprise
Commands
| Command | Purpose |
|---|---|
init |
Scaffold a new AI-DLC project |
check |
Validate project health and consistency |
status |
Show current project progress dashboard |
update |
Update kit-owned templates to latest version |
archive |
Archive completed intent and reset workspace |
intent |
Manage parallel intents via git branches (create, list, switch, archive) |
bolt |
Manage parallel bolts via git branches (branch, list, merge) |
egs-init |
Create an org-level EGS definition (guided setup) |
export-egs |
Export the project's EGS definition to a file |
import-egs |
Import an external EGS definition into the project |
extensions |
Manage project extensions (list, install, remove) |
consistency |
Run structural consistency checks across artifacts |
validate-plan |
Validate elaboration plan before starting construction |
What It Creates
Standard tier (default)
aidlc-docs/
├── README.md ← Project card (name, mode, platform, tier)
├── aidlc-state.md ← Session state tracking
├── intents/
│ └── intent-primary.md ← Blank intent template
├── prompts/ ← AI-DLC prompt templates
│ ├── mob-elaboration.md
│ ├── mob-construction.md
│ └── code-elevation.md ← (brownfield only)
├── plan-templates/ ← Plan templates for AI to populate
│ ├── mob_elaboration_plan.md
│ ├── mob_construction_plan.md
│ └── code_elevation_plan.md ← (brownfield only)
├── code-elevation/ ← (brownfield only)
│ ├── static_model.md
│ ├── dynamic_model.md
│ └── technical_debt.md
├── mob-elaboration/
├── mob-construction/
│ ├── bolt-1/ (or bolt-b1/)
│ ├── bolt-2/ (or bolt-b2/)
│ └── bolt-3/ (or bolt-b3/)
├── standards/ ← Content validation, error handling, question format
├── completion/ ← Bolt criteria, consistency check, intent consolidation
├── decisions/
│ └── decision-log.md
├── retrospectives/
│ └── session-retrospective.md
├── audit/
│ └── audit-log.md
├── extensions/ ← Install-on-demand cross-cutting rules
│ ├── README.md
│ └── available.md ← Shows installable extensions
├── intent-summaries/
└── archive/
Enterprise tier (--tier enterprise)
Adds on top of standard:
egs_definition.md— Enterprise Guardrails Specification (10 categories, customize per project)mob-elaboration/guardrails_compliance_matrix.md— Story-to-guardrail mappingcode-elevation/guardrails_gap_analysis.md— Codebase violation-to-guardrail mapping (brownfield only)overrides/guardrails_overrides.md— Guardrail exception tracking- Prompt templates include EGS validation gates at every phase/stage
Extensions
Extensions are cross-cutting rules enforced by the AI at every phase and stage. They are opt-in: browse available extensions with aidlc-kit extensions list, install with aidlc-kit extensions install <name>, and remove with aidlc-kit extensions remove <name>. During pre-flight, the AI also suggests relevant extensions based on your intent.
The security extension has 14 OWASP-aligned rules organized by AI-DLC phase (design, build, ops) with checklist verification and blocking enforcement.
You can also create your own extensions by dropping a .md file in the extensions/ directory.
Options
Modes
greenfield— New project. Mob Elaboration and Mob Construction prompts.brownfield— Existing codebase. Adds Code Elevation prompt and templates for static model, dynamic model, and technical debt analysis.
Platforms
aws, azure, gcp, onprem, agnostic — Tailors the EGS definition template to the target platform.
Tiers
standard(default) — Core AI-DLC workflow without guardrails enforcement.enterprise— Adds EGS guardrails, compliance matrix, gap analysis, and validation gates. Use when you have regulatory, security, or governance requirements.
IDE Support
Generate router configs for your IDE with --ide. Use --ide all for every supported IDE.
| Tool | Link |
|---|---|
| agents-md | agents.md |
| aider | aider.chat |
| amp | ampcode.com |
| auggie | augmentcode.com |
| claude-code | docs.anthropic.com/claude-code |
| cline | cline.bot |
| codebuddy | codebuddy.ai |
| codex | openai.com/codex |
| copilot | github.com/features/copilot |
| copilot-cli | docs.github.com/copilot-cli |
| costrict | docs.costrict.ai |
| crush | github.com/charmbracelet/crush |
| cursor | cursor.com |
| factory-droid | factory.ai |
| gemini | gemini.google.com |
| gemini-cli | github.com/google-gemini/gemini-cli |
| iflow | iflow.cn |
| kilo-code | kilocode.ai |
| kiro | kiro.dev |
| opencode | opencode.ai |
| q-developer | aws.amazon.com/q/developer |
| qoder | qodo.ai |
| roo-code | roocode.com |
| windsurf | windsurf.com |
Workflow
- Open your project in your IDE and ask: "Start Mob Elaboration" (or "Start Code Elevation" for brownfield)
- The AI will ask you to describe your intent (or read it from
intents/intent-primary.mdif you wrote one ahead of time) - AI generates the elaboration plan (stories, units, bolts)
- Run Mob Construction bolt by bolt
- Use
aidlc-kit checkbetween bolts to validate consistency - Use
aidlc-kit archivewhen the intent is complete, then start the next one
For enterprise tier: import your org's EGS with aidlc-kit import-egs <path> before step 1, or let the AI help you set one up during your first session. To create an org-level EGS from scratch, run aidlc-kit egs-init.
Parallel Work (Git Branching)
Work on multiple intents or bolts simultaneously using git branches. Requires a git repository.
# Parallel intents
aidlc-kit intent create "User API" # branch + start working
aidlc-kit intent create "Notifications" # from main, creates second branch
aidlc-kit intent list # show active intent branches
aidlc-kit intent switch "user-api" # switch between intents
aidlc-kit intent archive # archive, merge to parent, clean up
# Parallel bolts (after elaboration, on an intent branch)
aidlc-kit bolt branch 2 # branch for Bolt 2 (validates dependencies)
aidlc-kit bolt branch 3 # branch for Bolt 3 (if independent of Bolt 2)
aidlc-kit bolt list # show bolt branches
aidlc-kit bolt merge 2 # merge completed bolt back to intent
The AI detects branching from the state file and guides you through branch, merge, and archive at the right moments.
Upgrading to Enterprise
Start with standard and upgrade later without re-scaffolding:
aidlc-kit update --tier enterprise
This adds the enterprise-only files and updates templates with EGS validation gates.
License
Business Source License 1.1 — see LICENSE for details.
Free to use for scaffolding and managing your AI-DLC projects. You may not offer this tool, or a derivative, as a competing product or hosted service. Converts to Apache 2.0 on 2030-02-27.
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
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 aidlc_kit-0.4.0.tar.gz.
File metadata
- Download URL: aidlc_kit-0.4.0.tar.gz
- Upload date:
- Size: 123.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5fac5a08c86ed4512bde6fd204755047f6d209808c22043d6a984e9acc6abda
|
|
| MD5 |
90bd6d2721996f795f76bdca6b2698cb
|
|
| BLAKE2b-256 |
efbbae184e513eaad9b848e32c6837f4683c7f58407bd82cdb3d16d2975a5702
|
File details
Details for the file aidlc_kit-0.4.0-py3-none-any.whl.
File metadata
- Download URL: aidlc_kit-0.4.0-py3-none-any.whl
- Upload date:
- Size: 192.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83f7080c2c8b33732f9cc1126e118383e95170339110480174d4b9cc73903106
|
|
| MD5 |
e7c481ad9ccca054d2d7bc9502767020
|
|
| BLAKE2b-256 |
02aed5a1d0df5b2cec5dbd468ac2a0598191636f3a541c529c700f2685ae9c96
|