Pattern-lang ships as release binaries. No build step on your machine.
Once a release is published, the shortest path is:
curl -fsSL https://github.com/openIE-dev/pattern-lang/releases/latest/download/install.sh | sh
pattern-lang --versionFor air-gapped installs, grab the tarball for your platform from the Releases page and place the binary on $PATH.
pattern-lang engage
> compose: greatest common divisor
> target: rustYou get a typed DAG, an emitted Rust function, and a receipt that names the cascade tier and the joules spent.
joule-edge-server --bind 127.0.0.1:7777The server exposes an Anthropic-compatible POST /v1/messages endpoint. Every response includes usage.joules_spent and usage.tier_used.
curl http://127.0.0.1:7777/v1/messages \
-H "Content-Type: application/json" \
-d '{
"model": "pattern-lang",
"messages": [{"role": "user", "content": "factorial of 7"}]
}'pattern-lang bench cascadePrints the in-tree cost wedge: verify_first vs always-frontier on a 60-query workload, with per-tier joule breakdown.