Compliance-driven modernization engine. Decompose legacy codebases into editable ADRs, recompose to modern stacks, audit trail included.
Project description
kaizen-3c-cli
Architecture-first AI for software modernization. Planning leads, code follows — every decision cited to file:line, reviewable as an ADR before a line of target code is written.
Install
pip install "kaizen-3c-cli[demo]"
Windows users: install inside WSL (Ubuntu/Debian recommended). Native Windows is not a supported target.
[demo] is recommended for the full demo experience — it pulls in pytest so kaizen demo's Step 3 runs live; the bare pip install kaizen-3c-cli still works but prints the pre-recorded test output instead.
Requires Python 3.10+. You will also need:
ANTHROPIC_API_KEYorOPENAI_API_KEYin your environment (or a local.envfile) for LLM-backed commands.- Rust toolchain (
cargo) if using--recomposefor C/C++ → Rust memory-safety work. - .NET SDK (
dotnet) if using--recomposefor framework-migration work targeting .NET 8.
Try it
kaizen demo
Replays a pre-recorded decompose/recompose against python-slugify, then runs pytest live against the recomposed code. No API key required, under a minute end-to-end. On the cached run: 82 tests passing on the original, 33 of 34 passing on the recomposed (one real behavioral divergence captured, not hidden).
What it does
-
kaizen memsafe-roadmap <repo>— CISA-format memory-safety port plan with per-module ADR stubs. Optional--recomposestep emits a Rust scaffold grounded in the ADR.kaizen memsafe-roadmap ./my-c-lib --recompose --rust-output ./rust-port
-
kaizen migrate-plan <repo> --from <X> --to <Y>— framework-migration plan across supported transitions (python3.6 -> python3.12,dotnet-framework -> dotnet8,angularjs -> angular,java8 -> java21, and others).kaizen migrate-plan ./legacy-project --from "Python 3.6" --to "Python 3.12"
-
kaizen bench fingerprint --results <dir>— compute per-cell value-add scores on any commit0 results directory. Also:kaizen bench comparefor head-to-head architecture diffs, andkaizen bench commit0for upstream-reproduction instructions.
The full v1.0 command set: decompose, recompose, memsafe-roadmap, migrate-plan, status, priors, resume, init, web, mcp-serve, bench, demo, version.
Demo flow
Pre-recorded on python-slugify, runs offline, no API key required.
$ kaizen demo
Step 1/3: Decomposing python-slugify...
ADR-python-slugify-decomposed 6 identifiers, 15 decisions, 8 consequences
Step 2/3: Recomposing 6 files based on the ADR...
Files: slugify/__init__.py, slugify/slugify.py, slugify/__main__.py
Step 3/3: Running pytest against recomposed code...
================ 1 failed, 33 passed in 0.21s ================
Baseline (original python-slugify): 82 passing. Recomposed: 33 of 34 passing — the 1 failure is a real behavioral divergence surfaced by the workflow, not curated away.
Links
- GitHub (source, issues, full README): https://github.com/Kaizen-3C/kaizen-cli
- Upstream benchmarks: https://github.com/Kaizen-3C/benchmarks
- Project homepage: https://kaizen-3c.dev
- Commercial tier (signed ADRs, audit-log export, multi-tenant): hello@kaizen-3c.dev
- Security disclosures: security@kaizen-3c.dev
Status
1.0.0 — Alpha. CLI subcommands memsafe-roadmap, migrate-plan, run, priors, status are end-to-end. PyPI package bundles the pipeline scripts via sdist for now; Phase C will move them under cli/pipeline/ as a proper subpackage.
License
Apache-2.0.
Project details
Release history Release notifications | RSS feed
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 kaizen_3c_cli-1.0.0.tar.gz.
File metadata
- Download URL: kaizen_3c_cli-1.0.0.tar.gz
- Upload date:
- Size: 617.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b83c0059fdd7e7b8342c15391bbc520ed8bc619bd58836db8b45d94d59163e8
|
|
| MD5 |
ba8ef9410ac7446d8d9bd24bb50acd24
|
|
| BLAKE2b-256 |
76a3f3ceb7710e8db547db0562fc4e9b838d106a935eaffe04c153a1b00468b4
|
Provenance
The following attestation bundles were made for kaizen_3c_cli-1.0.0.tar.gz:
Publisher:
release.yml on Kaizen-3C/kaizen-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kaizen_3c_cli-1.0.0.tar.gz -
Subject digest:
8b83c0059fdd7e7b8342c15391bbc520ed8bc619bd58836db8b45d94d59163e8 - Sigstore transparency entry: 1396981051
- Sigstore integration time:
-
Permalink:
Kaizen-3C/kaizen-cli@9fb9d0096f7a98ca03c2c014fa5485ebfca41762 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/Kaizen-3C
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9fb9d0096f7a98ca03c2c014fa5485ebfca41762 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kaizen_3c_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: kaizen_3c_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 646.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9758d06e37a32e16f2e0451acc13fa700526204acb53488a5fa0d012729f7712
|
|
| MD5 |
5fa4056bfca8d683c6723b09bb8853c1
|
|
| BLAKE2b-256 |
8d120c3f3408de9a3df244f3e722e145500b090b0d02504c16362e56e66f50a9
|
Provenance
The following attestation bundles were made for kaizen_3c_cli-1.0.0-py3-none-any.whl:
Publisher:
release.yml on Kaizen-3C/kaizen-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kaizen_3c_cli-1.0.0-py3-none-any.whl -
Subject digest:
9758d06e37a32e16f2e0451acc13fa700526204acb53488a5fa0d012729f7712 - Sigstore transparency entry: 1396981061
- Sigstore integration time:
-
Permalink:
Kaizen-3C/kaizen-cli@9fb9d0096f7a98ca03c2c014fa5485ebfca41762 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/Kaizen-3C
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9fb9d0096f7a98ca03c2c014fa5485ebfca41762 -
Trigger Event:
push
-
Statement type: