Overview
What cigen is, what works today, and where to start.
cigen compiles a small CI config into native GitHub Actions workflows and CircleCI config, and skips jobs whose inputs have already passed.
You write one config, in a cigen.yml file or split across a .cigen/ directory. cigen generate writes the provider’s
own files, which you commit. Each job lists the files its result depends on. cigen hashes those files, plus everything
else the job depends on that it can find for itself, and the generated config skips the job when that hash has already
passed.
Who it’s for
Coding agents now write most CI config, and they keep writing “skip a job when its inputs already passed” by hand: a few hundred lines of hashing, cache markers and trust rules in each repository. The bugs in that code are silent, because a missed input turns a real failure into a green check. cigen is meant to be the one shared, tested implementation.
The config is strict so that agents get it right first time: an unknown key is an error that names the file and says what to write instead.
What works today
- Both config layouts, with strict keys and errors that suggest a fix.
cigen validate, which lists every problem in a config, as text or JSON.cigen generatefor GitHub Actions and CircleCI.cigen hash, which computes a job’s hash from its inputs and the inputs cigen derives.cigen explain, which shows what a job’s hash covers: each input, the files it matches, and the derived inputs.- Skipping on GitHub Actions, using markers in the GitHub Actions cache.
- Deterministic output: generating twice gives the same bytes.
Not built yet
- Prebuilt binaries. The current code installs from source with
cargo install. - Skipping on CircleCI. The setup workflow is generated but can’t run yet.
- A planner job, so that a skipped job never starts a runner. Today a skipped GitHub job still starts, checks out and stops early.
- Hosted pass records on VisualCI, visible across branches and never evicted.
The roadmap has the order of work.
Where to start
- Install cigen.
- Follow the quick start to generate your first workflow.
- Read configuration for the full schema.
For agents
Every page is also plain Markdown: add .md to its address, as in /docs/quick-start.md.
/llms.txt lists the pages, and /llms-full.txt holds all of them in one file. To
install cigen, an agent can read /install.md.