Skip to main content
Agentic Discipline Kit - move fast with AI agents, keep production standards

Agentic Discipline Kit

Ship faster with AI agents - without outsourcing engineering judgment to the model.

CI Security Python License: MIT

Start in 60 seconds · Install guide · See the workflow · Plan adoption

Agentic Discipline Kit is a stack-agnostic operating system for AI-assisted software delivery. It gives coding agents a repeatable workflow for requirements, implementation, testing, security, review, and release evidence.

It installs with one command into whichever agent tools a repository already uses, keeps its payload in .agentic/ instead of scattering files through the project root, and backs measurable claims with reusable deterministic verifiers rather than model narration.

Protect intent
Keep requirements, architecture, and policies traceable.
Prove behavior
Turn acceptance, tests, and quality into measurable gates.
Ship evidence
Make every release decision reproducible and reviewable.

The problem

AI agents are excellent at producing plausible code. Production teams need more than plausible code:

  • requirements must remain traceable;
  • acceptance behavior must be executable;
  • quality gates must measure real metrics;
  • security and architecture rules must survive fast changes;
  • a release must come with evidence, not confidence.

This kit turns those expectations into contracts, skills, deterministic CLI checks, and CI gates.

How it works

flowchart LR
    A[Human intent] --> B[Requirements]
    B --> C[Specification]
    C --> D[Acceptance IR]
    D --> E[Plan + risk]
    E --> F[Implementation]
    F --> G[Tests + quality gates]
    G --> H[Security + integrity]
    H --> I[Independent review]
    I --> J[QA + evidence]
    J --> K[Release]

Each stage has explicit inputs, outputs, stop conditions, and evidence requirements. If a deterministic tool can measure a claim, the agent must use the tool instead of saying that the code “looks correct.”

Why teams use it

Without discipline With Agentic Discipline Kit
“The agent says it is done.” A release has reproducible evidence.
Requirements drift during implementation. Requirements link to specs, acceptance, tasks, tests, code, and evidence.
Tests pass after being weakened. Integrity checks detect disabled or bypassed gates.
Every change gets the same review depth. Risk classification selects LOW, STANDARD, HIGH, or CRITICAL verification.
Security is a late checklist. Security and architecture are part of the delivery path.

60-second quick start

npx agentic-discipline init

That is the whole install. It detects the agent tools your repository already uses and writes each one's native format - Claude Code skills, Cursor rules, Copilot instructions, Windsurf rules, AGENTS.md for everything that reads it - all compiled from one canonical source so they cannot drift apart.

Two files appear in your repository root:

AGENTS.md              read by Codex, Zed, Cline, Aider, Jules and others
agentic.config.json    quality gates, generated for your detected stack
.agentic/              everything else, the way tooling belongs in .github/

Preview before writing anything with --dry-run, and check the result with agentic-discipline doctor --check-tools.

Using Claude Code? Install it as a plugin instead, and get the lifecycle as slash commands:

/plugin marketplace add lreyesm1999/agentic-discipline-kit
/plugin install agentic-discipline@agentic-discipline-kit

The deterministic gates are a separate, optional install - you only need them when you want to run checks rather than guide an agent:

pipx install agentic-discipline-kit

Then:

agentic-discipline quality --config agentic.config.json
agentic-discipline verify VER-001
agentic-discipline evidence-verify --ledger artifacts/evidence-ledger.jsonl --check-artifacts

verify produces PASS, FAIL, UNKNOWN or BLOCKED from execution and records normalized evidence; model narration cannot fabricate a passing result.

Full matrix, per-tool details and the ChatGPT bundle: Install guide.

Works with the tools you already use

Tool Receives
Claude Code .claude/skills/agentic-*/SKILL.md, or the plugin with /spec to /retro
Cursor .cursor/rules/agentic-*.mdc, scoped by globs
GitHub Copilot .github/instructions/agentic-*.instructions.md, scoped by applyTo
Windsurf .windsurf/rules/agentic-*.md, with trigger modes
Antigravity .agents/skills/agentic-*/SKILL.md
Gemini CLI GEMINI.md
Codex, Zed, Cline, Aider, Jules AGENTS.md
ChatGPT a paste-ready bundle for Projects and Custom GPTs

Each surface is emitted in the format that tool actually loads, not the same file under a different extension, so selective activation works: the coding discipline loads when code changes, hardening when tests do.

The 11 disciplines

A discipline is a focused playbook that says when it applies, what it consumes, what it must produce, what it must never do, and what evidence is required. These are what get installed into your agent tools:

01 Source            07 Architecture
02 Specification     08 Hardening
03 Acceptance        09 QA
04 Verification      10 Evidence
05 Coding            11 Evolution
06 Cleaning

Each one carries the activation metadata its host tool needs, so it loads when it is relevant rather than sitting in a folder the agent never reads.

The default lifecycle is:

/spec -> /plan -> /risk -> /build -> /test -> /harden
     -> /review -> /verify -> /release -> /retro

The Claude Code plugin ships these as slash commands. In other tools they are the phases the disciplines refer to.

Behind the disciplines sit 20 detailed workflow playbooks - requirements intake, CRAP analysis, differential mutation, integrity audit, independent review and the rest. init installs them to .agentic/playbooks/ as reference material the disciplines cite; they are not separate skills competing for the agent's attention.

Together they solve a common failure mode of AI coding: a fast implementation that quietly drops a requirement, weakens a test, bypasses a gate, or ships without a traceable explanation.

What you get out of the box

  • Protected contracts for specs, acceptance, architecture, and policies.
  • Requirement graph: Requirement -> Spec -> Acceptance -> Task -> Test -> Code -> Evidence.
  • Acceptance IR: a stack-neutral representation for executable acceptance adapters.
  • Risk-aware verification with LOW / STANDARD / HIGH / CRITICAL profiles.
  • Metric-aware quality engine for tests, coverage, lint, format, types, SAST, and repository checks.
  • Property testing for invariants and edge cases.
  • CRAP analysis to find complexity hidden behind coverage numbers.
  • Differential mutation testing for changed critical code.
  • Integrity audit to detect skipped tests and disabled quality controls.
  • Independent reviewer protocol to reduce implementation-agent anchoring.
  • Evidence ledger with SHA-256 hashes and chain verification.
  • Automatic project discovery with composable profiles and a generic fallback for any toolchain.
  • A multi-tool skill compiler that emits Claude Code, Cursor, Copilot, Windsurf, Antigravity, Gemini and AGENTS.md surfaces from one canonical source.
  • Honest generated gates: a gate whose command cannot run here is written non-blocking with the reason, never silently enabled.
  • Standalone binaries, container image, npm launcher, Claude Code plugin, and GitHub Action so adopters do not manage the CLI runtime.

A concrete example

Request:

Add user login.

The kit does not jump straight to code. It turns the request into a controlled change:

Request
  -> acceptance: valid users enter, invalid users fail
  -> risk: authentication is high risk
  -> implementation: smallest coherent slice
  -> tests: unit + properties + acceptance
  -> hardening: security + architecture + integrity
  -> release: QA result + evidence ledger

The deliverable is not just a login that works on one happy path. It is a login whose behavior, risk, verification, and release decision can be explained and reproduced.

CLI highlights

# Inspect the repository and available tools
agentic-discipline doctor --check-tools

# Compile executable acceptance behavior
agentic-discipline compile-acceptance \
  --input acceptance/checkout.feature \
  --output artifacts/acceptance/checkout.ir.json

# Check requirement completeness and paths
agentic-discipline graph-check \
  --graph artifacts/requirements/checkout.graph.json \
  --complete --check-paths

# Classify change risk and audit protected paths
agentic-discipline risk --base-ref origin/main
agentic-discipline protected --base-ref origin/main
agentic-discipline integrity --base-ref origin/main

# Record and verify release evidence
agentic-discipline evidence \
  --artifact artifacts/quality-report.json \
  --tool pytest \
  --executed-command "pytest --cov" \
  --exit-code 0

agentic-discipline evidence-verify \
  --ledger artifacts/evidence-ledger.jsonl \
  --check-artifacts

Project profiles, not stack limits

The orchestration model and quality runner are command-based and stack-agnostic. Automatic profiles included out of the box are:

  • Python
  • TypeScript / JavaScript
  • .NET

These profiles are onboarding accelerators, not a compatibility boundary. Unknown ecosystems receive a generic configuration, and teams can add a data-only profile for Go, Java, Rust, mobile, proprietary toolchains, or anything else that exposes deterministic commands. Use repeated --profile options to override detection in a mixed project, or --profile-file to load a custom descriptor.

Quality targets

These are starting points, not invented guarantees. Tune them to your risk profile and ratchet legacy systems forward.

Signal Suggested target
Line coverage >= 90%
Branch coverage >= 85%
CRAP for changed functions <= 8
Mutation score >= 80%
Critical mutation survivors 0
Architecture violations 0
Critical or high security findings 0

Repository map

.
├── .claude-plugin/          Claude Code marketplace manifest
├── .github/                 CI, security, release, and contribution automation
├── adapters/                Acceptance adapters by stack
├── agentic/                 Canonical constitution source
├── config/                  Quality profiles and risk configuration
├── disciplines/             Canonical discipline source - every surface compiles from here
├── docs/                    Install, workflow, architecture, security, adoption
├── packaging/               npm launcher, Claude Code plugin, standalone build spec
├── policies/                Engineering policies enforced by agents
├── schemas/                 Requirement, acceptance, verification, and evidence schemas
├── skills/                  20 detailed workflow playbooks
├── src/agentic_discipline/  Deterministic Python tooling
├── templates/               Specs, acceptance, and release templates
├── tests/                   Framework tests
├── AGENTS.md                Orchestrator contract
└── MASTER_PROMPT.md         Bootstrap prompt for coding agents

packaging/claude-plugin/ is generated from disciplines/, never edited by hand; a test fails the build if the committed copy falls behind.

When to adopt it

This kit is a strong fit when:

  • multiple agents or developers touch the same repository;
  • the project has meaningful security, compliance, or architecture constraints;
  • you need reproducible release decisions;
  • your team wants AI speed without lowering its engineering bar.

For a tiny throwaway script, the full lifecycle may be unnecessary. For a product that matters, the cost of one missed requirement is usually higher than the cost of discipline.

Documentation

Project status

v1.1.0 - Production/Stable. The deterministic core validates contracts, executes reusable verifiers, preserves evidence hashes, and compiles one canonical discipline set into every supported agent tool. Installations from earlier versions should run agentic-discipline migrate --to 3.0 to move the payload under .agentic/.

License

MIT License. See LICENSE.

Download files

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

Source Distribution

agentic_discipline_kit-1.1.0.tar.gz (86.4 kB view details)

Uploaded Source

Built Distribution

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

agentic_discipline_kit-1.1.0-py3-none-any.whl (96.0 kB view details)

Uploaded Python 3

File details

Details for the file agentic_discipline_kit-1.1.0.tar.gz.

File metadata

  • Download URL: agentic_discipline_kit-1.1.0.tar.gz
  • Upload date:
  • Size: 86.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for agentic_discipline_kit-1.1.0.tar.gz
Algorithm Hash digest
SHA256 828db53ce96222d3db1816e8505f11bcf57db1ab376f60b1882618bc23d428bd
MD5 99d754ef567c75301ca584abcc0a9ac7
BLAKE2b-256 7f84e7ccd45445fcb8bbaf86618cb9422fba1203fa5394132e9bff63db86b8be

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentic_discipline_kit-1.1.0.tar.gz:

Publisher: release.yml on lreyesm1999/agentic-discipline-kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentic_discipline_kit-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agentic_discipline_kit-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39dda872a059352047013db07b97ba1a1141bf6068d19baa07a7be3a3c689525
MD5 f88206172d97b119efa9ad83adcfd888
BLAKE2b-256 a99f157e1426cb88dd93734fa4ebb1a36a89bc090cd7ccc165fb0f43f7d29bf9

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentic_discipline_kit-1.1.0-py3-none-any.whl:

Publisher: release.yml on lreyesm1999/agentic-discipline-kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page