aidlc-workflows README

The project's README from github.com/awslabs/aidlc-workflows. As one markdown file: README.md.

AI-DLC - one core, many harnesses

AI-DLC (AI-Driven Development Life Cycle) turns AI coding assistants into structured, verifiable software-delivery workflows. One harness-neutral core runs natively in Claude Code, Kiro CLI, Kiro IDE, Codex CLI, Cursor, opencode, and GitHub Copilot.

version license

The Quick Start below installs the latest stable AI-DLC release.

Quick Start

1. Install AI-DLC

macOS, Linux, or WSL:

curl -fsSL https://github.com/awslabs/aidlc-workflows/releases/latest/download/install.sh | sh

Windows PowerShell:

irm https://github.com/awslabs/aidlc-workflows/releases/latest/download/install.ps1 | iex

The installer sets up everything AI-DLC needs: the native aidlc command and every harness runtime. You do not need to install Bun or Node.js; a native install runs its hooks and commands through aidlc and does not call bun. On Windows, it installs for the current account and automatically registers the bin directory in User PATH. Run it from a normal PowerShell window; one opened with "Run as administrator" gets a warning and a prompt, since installing as administrator is less safe. Open a new terminal if another session cannot find aidlc. To skip both persistent and current-process PATH changes, use -NoModifyPath. Windows uninstall removes only the User PATH entry recorded as installer-owned. On macOS, Linux, or WSL, follow the installer's PATH instruction if needed.

Prefer to manage the project files yourself, or cannot install a native executable? The manual-copy path is the one place Bun is needed: install Bun, download aidlc-copy-runtime-X.Y.Z.tar.gz from the release, and copy the complete runtime/<harness>/ directory into your project. On Kiro, install with the guide's manual-copy steps instead: Kiro copies runtime/kiro-ide/ and Kiro CLI (V2) copies runtime/kiro/, and both say how to keep the project's own Kiro settings. This path does not require the native aidlc command.

To move a copied project to a newer release, run its own setup command from that release's copy runtime, as Copy Channel shows, instead of copying over the project again: a second copy replaces the setup answers and plugin choices the project recorded.

2. Configure a project

From the project root, select the harness you use:

cd /path/to/your-project
aidlc config --harness claude
aidlc doctor

Replace claude with kiro, kiro-v2, codex, cursor, opencode, or copilot. Running aidlc config without --harness starts the interactive setup when a terminal is available. If you use Kiro IDE's own terminal in a project folder you have not trusted yet, Kiro first asks whether you trust it. Choose Trust Folder & Continue only for your own project or one you have checked, because trusting lets the folder's .kiro hooks run commands on your machine; otherwise choose Cancel and review the folder first (see First run).

3. Start a workflow

Open your harness in the configured project and describe the work:

/aidlc Build a REST API for inventory management

Codex CLI uses $aidlc instead of /aidlc. In Kiro IDE, first choose aidlc in the chat panel's agent picker. AI-DLC selects a workflow from the request, asks for missing decisions, and stops at approval gates before moving forward.

For provider setup, trust prompts, and harness-specific prerequisites, use the guide in the table below. The complete walkthrough is in Getting Started.

Pick your harness

Harness Configure Open Invoke Guide
Claude Code aidlc config --harness claude claude /aidlc Getting Started
Kiro: Kiro IDE >= 1.1.70 / Kiro CLI >= 2.24.1 (v3) aidlc config --harness kiro Open the project in Kiro IDE and choose aidlc in the chat panel's agent picker, or run kiro-cli --v3 (when Kiro asks whether you trust the folder and you know what is in it, choose Trust, continue) /aidlc Kiro
Kiro CLI (V2) >= 2.6 aidlc config --harness kiro-v2 kiro-cli --v2 (Kiro CLI 2.21.4 or later; for an older one, see Kiro CLI (V2) prerequisites) /aidlc Kiro CLI (V2)
Codex CLI >= 0.145.0 aidlc config --harness codex codex $aidlc Codex CLI
Cursor aidlc config --harness cursor Open Cursor or run agent /aidlc Cursor
opencode >= 1.18.29 / OpenCode 2 aidlc config --harness opencode opencode /aidlc opencode
GitHub Copilot CLI >= 1.0.74 / VS Code >= 1.130 aidlc config --harness copilot Copilot CLI or VS Code /aidlc GitHub Copilot

AI-DLC 2.11.3 and earlier, and the 2.11.4 previews of 2026-11-04 and 2026-11-05, read the two Kiro names the other way: Kiro is --harness kiro-ide and Kiro CLI (V2) is --harness kiro, and they do not know kiro-v2. --harness kiro-ide names Kiro on those releases and on this one.

Model-provider setup belongs to the harness. Shipped project configuration keeps the provider and model already selected by the user. aidlc config providers can apply Amazon Bedrock settings on supported project surfaces or record manual setup for other harnesses. Kiro CLI and Kiro IDE need no provider answer because model access comes with Kiro. For Kiro's v3 engine on Kiro CLI 2.24.1 or later, use kiro and start kiro-cli --v3 (when it asks to trust the folder and you know what is in it, choose Trust, continue); kiro-v2 is Kiro CLI (V2) (Kiro CLI (V2) says how an existing Kiro CLI (V2) project switches). The methodology itself is provider-independent.

AI-DLC works best with capable reasoning models. The current recommended model is Claude Opus 4.8. If Opus is not available to you, or you are not sure where to set the model and effort on your harness, see Choosing a Model and Effort.

Why AI-DLC

Ad-hoc AI coding loses context as projects grow. AI-DLC keeps requirements, decisions, implementation, tests, and operational work connected through one audited lifecycle:

Start with Workflow Profiles to compare Classic, Express, and the focused workflows. See the AI-DLC Workflows 2.0 Specification for the architecture and methodology.

[!IMPORTANT] Generative AI can make mistakes. Review generated output and costs before acting on them. See the AWS Responsible AI Policy.

Documentation

Guide Use it when
Getting Started Installing, configuring, and running your first workflow
User Guide Using workflows, profiles, agents, knowledge, and approval gates
Harness guides Handling provider, trust, and runtime differences
Install and Lifecycle Updating, pinning, installing offline, using mirrors, uninstalling, or removing AI-DLC from a project
Harness Engineer Guide Reshaping stages, agents, rules, sensors, and knowledge
Development and Releases Taking a PR through AI review, preview testing, and stable publication
Developer Reference Changing the engine, hooks, packaging, or tests

Repository Layout

Edit core/ or harness/<name>/, never generated dist* output.

Development

Install dependencies and generate every harness:

bun install --frozen-lockfile
bun scripts/package.ts

Useful commands:

bun scripts/package.ts <name>     # generate one harness
bun scripts/package.ts --check    # determinism guard
bun tests/run-tests.ts --ci       # smoke, unit, and integration
bun tests/run-tests.ts --release  # full release acceptance

See the Contributing Guide for the complete development workflow and Porting to a New Harness to add another runtime.

Troubleshooting

Run aidlc doctor from the project root first. Common fixes:

Symptom Fix
aidlc is not found On Windows, quit and reopen the terminal app or IDE (a new tab inside one that was open during the install keeps the old PATH), or use the direct command printed with -NoModifyPath. On Unix, apply the installer's PATH instruction.
Project/runtime version skew Run aidlc config
Codex hooks do not run Trust the project hooks as described in the Codex guide
Bedrock access fails Enable the configured models and verify AWS credentials and region
Plugin stages disappear after refresh Run /aidlc plugin sync
Refreshed skills do not take effect Start a new harness session

See Troubleshooting for diagnostic and recovery procedures.

References

aidlc-workflows (awslabs/aidlc-workflows)

Searching Database…

What is this?AI-DLC turns AI coding assistants into structured, verifiable software-delivery workflows, running a single harness-neutral core across Claude Code, Kiro, Codex CLI, Cursor, opencode, and GitHub Copilot.
Is this a standalone app or does it plug into my existing coding agent?It is not a standalone app; it is a harness-neutral workflow engine (14 agents, 33 stages, 95-event audit trail) that installs as a set of rules/commands inside agents you already use, like Claude Code, Codex, or Cursor.
How do I install and start a workflow?Run the macOS/Linux/WSL install script or the Windows PowerShell installer to get the aidlc command, then from your project root run 'aidlc config --harness claude' (or kiro, codex, cursor, opencode, copilot), open that harness, and invoke '/aidlc' (or '$aidlc' in Codex) describing the work.
Which coding agents are supported, and do I need to set up a model provider myself?Supported harnesses are Claude Code, Kiro CLI/IDE, Codex CLI (>=0.145.0), Cursor, opencode (>=1.17), and GitHub Copilot CLI/VS Code; the model provider is configured per-harness, with Claude Code and Codex defaulting to Amazon Bedrock and Copilot using GitHub sign-in or BYOK.
Does it just run on its own, or do I need to babysit it?AI-DLC stops at human approval gates before moving forward between stages, and the README explicitly warns to review generated output and costs before acting on them.
What model does AI-DLC recommend for best results?The README currently recommends Claude Opus 4.8 as the model best suited to AI-DLC's reasoning-heavy workflow steps.
Why would I use this instead of just chatting with my AI coding agent directly?Ad-hoc AI coding loses context as a project grows; AI-DLC keeps requirements, decisions, implementation, tests, and operations connected through one audited lifecycle of 5 phases, 33 stages, 14 agents, and 11 workflow profiles.
What kinds of workflow profiles does it ship with?There are 11 workflow profiles covering features, bug fixes, infrastructure, security, proofs of concept, enterprise delivery, and other common work, including lightweight 'Classic' and 'Express' variants.
What do I do if the aidlc command or a harness integration breaks?Run 'aidlc doctor' from the project root first; common fixes include re-applying the installer's PATH instruction, re-running 'aidlc config' after version skew, trusting project hooks in Codex, or starting a new harness session after a refresh.
Creator
awslabs
Size
188.8 MB
Stars
6.2K
Age
1y
Commits · 90 Days