The CLI is published on npm (npm i -g @aex-lang/cli). APIs are experimental and may change before v1.0. Roadmap →
Skip to content

Examples

Concrete contracts show how to apply AEX to real workflows. Each example pairs a .aex file with inputs, policy, and expected behavior.

Hand-written contracts

Generated contracts

You can also generate contracts from natural language:

bash
# Draft from a prompt
aex draft "fix the failing test in src/foo.ts" --model anthropic

# Review what it will do
aex review .aex/runs/fix-test.aex

# Approve and execute
aex review .aex/runs/fix-test.aex --run

Generated contracts are saved to .aex/runs/ and validated against your repo policy before execution.

Looking for something else? Open an issue or contribute an example contract.

Prompts are not permissions. Plans are not contracts.