Governance-as-code for AI-generated infrastructure.
Scan your repo, declare intent in a Compositfile,
surface every drift. Open-source CLI for platform teams.
Init, edit, diff. IS-state vs. SHOULD-state. No SaaS required.
25 built-in scanners cover containers, Terraform, ingress, observability, CI workflows, cron, env files, MCP, Cargo and Go manifests, agent specs (SKILL.md / AGENTS.md / CLAUDE.md) — and more. Zero setup; scaffolds a Compositfile from scan results.
composit init
Review the scaffold and lock in the SHOULD-state: approved providers, budgets, resource constraints, policy references. Manual edit, no command.
Compare reality against intent. Errors and warnings with severity and rule IDs. Terminal, JSON, YAML, or HTML output.
composit diff
The CLI is free and open source (MIT). Point it at any repo — it reads; it never writes.
# composit is pre-built — start scanning immediately. composit init # scaffold a Compositfile from scan results composit diff # compare intent vs. reality
composit on PATH. Launch Codespaces →# Add the tap once, then install.
brew tap nuetzliches/tap
brew install composit
# No install step — npx downloads on first use.
npx @nutz/composit init
npx @nutz/composit diff --output json
# Compiles from source — takes ~30 s on first run.
cargo install --git https://github.com/nuetzliches/composit
# Downloads the pre-built binary for your platform.
curl -fsSL https://nuetzliches.github.io/composit/install.sh | sh
~/.local/bin by default. Override with COMPOSIT_INSTALL_DIR=/usr/local/bin. Script at install/install.sh.# Mount your repo and run — builds from source on first pull.
docker run --rm -v "$PWD:/repo" ghcr.io/nuetzliches/composit init
docker run --rm -v "$PWD:/repo" ghcr.io/nuetzliches/composit diff --output json
docker build -t composit .# Writes composit-report.yaml with everything detected.
composit scan
# Compositfile
workspace "my-stack" {
resources {
allow "docker_service" { max = 20 }
require "workflow" { min = 1 }
}
}
# Terminal, JSON, YAML, or a standalone HTML report.
composit diff --output html
See the examples directory for a full Compositfile and matching report.
Teams where 3+ developers use AI coding agents (Claude Code, Cursor, Devin) and nobody owns the inventory of what agents touched.
From empty repo to governed workspace in two commands — no config to write.
The CLI stays free and open. Several capabilities could sit on top — which ones are worth building? Click to open a GitHub Discussion and leave a 👍.
Opens GitHub Discussions — 👍 reactions are the signal. No accounts needed beyond GitHub.