Skip to content

chant

llms.txt lists every page for an agent

CHANT

Typed infrastructure

Infrastructure in TypeScript, out as CloudFormation, Kubernetes YAML, GitHub Actions and more.

Forge

Works

  • Typed CloudFormation resources and composites such as LambdaNode, built to a standard template by chant build
  • Deploys to Floci, a local AWS emulator, through awsApply, with no account and no credentials
  • An EKS cluster from the AWS lexicon and its workloads from the Kubernetes lexicon, in one project
  • GitHub: --generate github writes the pull-request workflow under .github/workflows/, run on pull_request and on push to the target branch.
  • GitHub: Both jobs use the job's own github.token. On a pull request from a fork that token is read-only, so the plan note and the status are not posted.

In the repo: 19 example projects under lexicons/aws/examples. The proof

First step

npm install --save-dev @intentius/chant-lexicon-aws
npx chant init my-infra --lexicon aws
Quick Start

More in chant on AWS: what differs on each forge, the proof, and what to read next.

Each lexicon is a plugin for one platform: its types, its lint rules and its output format. Install one and chant init scaffolds a project for it. Lexicons covers how they work, and Extend chant covers writing your own.

The build is deterministic and keeps no authoritative state file. What happens after it is up to you, per environment: observe drift, reconcile the source from the live system, or apply the source to it. Lifecycle Models compares the three.

  1. chant build every change

    TypeScript in, native files such as CloudFormation out, with no state file.

  2. chant lint every pull request

    Semantic rules and your organization's policy over the built output.

  3. chant run when you deploy

    An Op's phases in-process, with gates and rollback, or on a fountain steward.

  4. chant lifecycle diff --live when you ask

    Out-of-band drift between the source and the live system.

  5. WatchOp on a schedule

    The same snapshot and live diff, run on a cadence.

Changes
What's New

Quick Start has the same steps by hand. Or paste this prompt into Claude Code, Codex or Cursor in your repository. Agents Start Here says what the agent does. It stops at a pull request. Deploys to a real account, approvals and merges stay with people.

Hand the setup to your coding agentOr set up by hand: install a lexicon and run chant init, as Quick Start shows.
Show the whole prompt
Set up chant in this repository.
Read https://intentius.io/chant/llms.txt first, then
https://intentius.io/chant/agents/ and follow it.
Stop when `npx chant build` and `npx chant lint` pass, and open a pull request with the result.
Never deploy to a real cloud account or shared environment (with `chant run`, `chant components` or a platform's own CLI), approve (a pull request review, `chant approve` or `chant run approve`), override a policy denial (`chant approve policy-override`), or merge; never cut or publish a release (`chant release cut --yes` or `chant release publish`), push or delete a `ci/*` tag (`chant ci tick` pushes them), or change the value of an existing flag; never touch `.chant/allowed_signers` or `chant/lifecycle`.

chant