@xcompiler/cli
v0.4.1
Published
XCompiler — AI Software Factory: V-model driven, multi-LLM orchestrated software development agent.
Downloads
407
Readme
EN · 简体中文
What XCompiler does
XCompiler is an AI tool for delivering Python and TypeScript projects from natural-language requirements. It uses an iterative V-model to pair requirements, design, and implementation with their corresponding tests. When verification finds a problem, the workflow returns to the relevant step for correction and retesting. Each phase passes automated tests and real-user scenarios before delivering runnable code, repeatable tests, and traceable acceptance records.
Demo
https://github.com/user-attachments/assets/5c3656f6-051d-43cd-94b0-21e4fe39c305
Try the DBC-to-Excel example from the repository with
xcompiler build -t <topic.md> --yes.
Install
Requires Node.js 24 or later and Git. Python projects using the local sandbox also require Python 3.11 or later.
npm install -g @xcompiler/cli
mkdir xcompiler-quickstart && cd xcompiler-quickstart
xcompiler config init
xcompiler doctorThe wizard sets up a provider and assigns it to the default model pools. Enter the API key in the
terminal to save it to your local .env, or reference an existing environment variable. Use
xcompiler config edit to change your settings later. See the provider setup guide
for more model and provider options.
Quick start
Run these commands in the directory you just configured.
cat > req.md <<'EOF'
Build a Python CLI that reads a CSV file with an amount column and prints the sum of that column.
Include an example CSV file and an automated test.
EOF
xcompiler build -i req.md -o ./csv-summary --yes
xcompiler run ./csv-summary/phasePlan.jsonThe generated project is under csv-summary/worktrees/master/. If execution stops, resume it
from the same directory with xcompiler load ./csv-summary/csv-summary.xc. Start with
csv-summary/.xcompiler/audit/summary.md when investigating a failed run.
Common commands
| Command | When to use it |
| --- | --- |
| xcompiler build -i <file> --yes | Build a plan from a requirements file |
| xcompiler build -t <topic.md> --yes | Reuse an already clarified topic |
| xcompiler run <phasePlan.json> | Execute the current phase |
| xcompiler load <name.xc> | Resume the saved project |
| xcompiler append <name.xc> -i <file> --yes | Add a requirement to an existing project |
| xcompiler config init / config edit | Create or edit the local configuration interactively |
| xcompiler doctor | Check the configuration, providers and sandbox |
Run xcompiler --help or xcompiler <command> --help for options.
Documentation
- Deployment · Source builds, Docker, standalone binaries and troubleshooting
- Recovery and advanced commands · CR workflows and Phase gate corrections
- V-model workflow and architecture · Execution, ownership and quality gates
- ACP editor integration · Connect an editor to XCompiler
- Agent Skills, Plugin API and versioning
License
Apache License 2.0 © 2026 The XCompiler Authors. See NOTICE.
