Skip to main content

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
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

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 mapping
  • code-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

  1. Open your project in your IDE and ask: "Start Mob Elaboration" (or "Start Code Elevation" for brownfield)
  2. The AI will ask you to describe your intent (or read it from intents/intent-primary.md if you wrote one ahead of time)
  3. AI generates the elaboration plan (stories, units, bolts)
  4. Run Mob Construction bolt by bolt
  5. Use aidlc-kit check between bolts to validate consistency
  6. Use aidlc-kit archive when 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.

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

aidlc_kit-0.3.7.tar.gz (105.3 kB view details)

Uploaded Source

Built Distribution

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

aidlc_kit-0.3.7-py3-none-any.whl (168.5 kB view details)

Uploaded Python 3

File details

Details for the file aidlc_kit-0.3.7.tar.gz.

File metadata

  • Download URL: aidlc_kit-0.3.7.tar.gz
  • Upload date:
  • Size: 105.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.9

File hashes

Hashes for aidlc_kit-0.3.7.tar.gz
Algorithm Hash digest
SHA256 fc19baacc1acadde473b644263a5ea19faa6f8a7bf9de82f96178b105b6aec97
MD5 bfc916d32196f7db77ec3087920a4f4d
BLAKE2b-256 861e0c0c30c5925efa01a6d322fbf73939ee0ea51ce0c62f496d328544395c48

See more details on using hashes here.

File details

Details for the file aidlc_kit-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: aidlc_kit-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 168.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.9

File hashes

Hashes for aidlc_kit-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 049080fe7bcc390d588e827cfef7765871ed306ae3705d8580d070daac5698b0
MD5 83aff14e4d3d7dacd8e753be5b56912c
BLAKE2b-256 11420e5036b7452f92c15f3753b26d5757f764838aab5d93aacc5443a763535c

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