Skip to main content
Every example on this page is a live ruleset at api.aethis.ai. Anonymous /decide accepts a public ruleset_id or slug; composed rulebook_id lookups need an x-api-key header — see Nomenclature.
This page leads with curl because every example is reachable with zero install. The same calls work from the CLI (aethis decide -b <slug> -i '{...}'), the Python SDK (client.decide(...)), or via a coding agent through MCP (“Use Aethis to decide …”). The Evaluate a case recipe shows the same call across all four interfaces side-by-side.

UK Free School Meals — the canonical worked example

Three composed sections (age + school type gate, household means-test, universal infant route). Represents the “rules compiled from legislation” pattern in one compact case.

Section A — child eligibility (anonymous)

Sections B (household means-test) and C (universal infant)

Sections B and C are rulesets within the aethis/uk-fsm rulebook. They are also published as standalone slugs (aethis/uk-fsm/household-criteria, aethis/uk-fsm/universal-infant), and are combined with Section A via the rulebook’s outcome_logic — see the composed-rulebook call below for the full evaluation that exercises all three.

The composed rulebook (A AND (B OR C)) — requires an API key

Inspect Section A on its own:

Spacecraft Crew Certification Act 2049 — the demo rule

Synthetic but carefully built to exercise ENUM, date, and exception-chain logic. Great for agents learning the tool.

Construction All Risks insurance — the adversarial benchmark

Five levels of nested exceptions from a real Construction All Risks (CAR) policy. The kind of deeply nested rule that trips up frontier LLMs on a bad run — and the engine gets right, deterministically, every time.
See the CAR benchmark narrative for the full “LLMs get it wrong, compiler gets it right” story.

Consumer credit prequalification

Affordability checks with numeric thresholds + soft-fail paths.

List every live ruleset

Returns all currently-active public rulesets with their slugs, human-readable names, and rule counts. Always reference a ruleset by its slug (e.g. aethis/uk-fsm/child-eligibility); the dated ruleset_id underneath rotates on every regeneration but the slug stays stable. See Decision envelope for the version-pin story.

Next steps

  • MCP server — wire the same rulesets into Claude Code / Cursor / Windsurf
  • CLIuv tool install aethis-cli && aethis decide -b aethis/uk-fsm/child-eligibility ...
  • REST API — full endpoint reference
  • Author your own rules — invite-only private beta