Skip to content

chant

Typed infrastructure, end to end. A deterministic core — typed TypeScript in, spec-native artifacts out, validated by semantic lint rules — and the lifecycle you choose on top, durable when you need it.

Plain TypeScript

Declare infrastructure as exported TypeScript objects — no DSL, no YAML, no decorators. Full type safety and IDE support.

Semantic Linting

Lint rules validate meaning, not structure. Rules operate on concepts like “resource has encryption” rather than cloud-specific property names.

Spec-True Output

Output is native to the target spec — standard CloudFormation, standard GitLab CI. Zero lock-in. If you stop using chant, the artifacts keep working.

Lexicons

Each operational area is a lexicon. Ten ship today — AWS (1500+ resources, full type coverage), Azure, GCP, Kubernetes, Helm, Docker, GitHub Actions, GitLab CI, Forgejo, and Temporal. Build your own for any operational area.

Bring Your Own Lifecycle

Pluggable lexicons in, pluggable lifecycles out, deterministic synthesis in the middle. The compiler is the foundation; the lifecycle is yours to choose — observe drift, reconcile (cloud → code PRs), or apply (code → cloud), per environment, with no authoritative state file. Lexicons are a shipped plugin contract; lifecycles today are durable rails you compose from Ops, with a foreign-backend plug as stated direction. Lifecycle Models.

Deployment Ops & Drift

Declare deployment phases in *.op.ts. chant build generates Temporal worker code; chant run starts a durable workflow with gate steps, parallel phases, and automatic rollback. chant lifecycle diff --live catches out-of-band drift across nine lexicons; WatchOp runs the same check on a cron.

Component Releases

Declare a releasable unit in *.component.ts — what it builds, what it produces, how it deploys — and one generic orchestrator runs it. Compose from a bounded capability set, with SBOM, SLSA provenance, and keyless signing attached to the artifact and a verify gate before apply. New components add no new pipelines. Components.

Cross-Platform Migration

Translate workflows between lexicons with chant migrate. v1 ships GitHub Actions → GitLab CI/CD: 33 curated marketplace-action mappings, typed provenance, SARIF reporting, and optional composite-pattern recognition. Read more.

Composable

Build reusable presets and composite resources with plain functions and the spread operator.