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 live as rulesets inside theaethis/uk-fsm rulebook rather than as standalone published slugs. They’re 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
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 rule GPT-4 / Claude / Gemini consistently get wrong — and the engine gets right, deterministically, every time.Consumer credit prequalification
Affordability checks with numeric thresholds + soft-fail paths.List every live ruleset
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
- CLI —
uv 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