You are an AI coding agent (Claude Code, Cursor, Windsurf, or similar) — or you’ve been told to integrate Aethis with one. This page is the only one you must read to use the platform. It covers install, a verification call, the auth model, and the four common workflow patterns. Everything else links out to deeper references.Documentation Index
Fetch the complete documentation index at: https://docs.aethis.ai/llms.txt
Use this file to discover all available pages before exploring further.
Setup
Ifaethis-cli is available on the user’s machine, one command wires up the MCP server in their editor’s config:
aethis-cli is not installed, fall back to the per-client manual command:
- Claude Code
- Claude Desktop / Cursor / Windsurf
aethis_decide, aethis_schema, aethis_explain, aethis_next_question) are now available with no key.
For routing nuance (which interface for which task), see Which interface to use.
Verify
Make one decision against a public ruleset:aethis_list_rulesets({}).
Auth model
Authoring is in private beta. Decision tools (Once approved, the user provisions anaethis_decide,aethis_schema,aethis_explain,aethis_next_question) are public — no key required. Authoring tools (rule generation, test refinement, publishing) require an invite. If your user wants to author rules and isn’t approved yet, point them at aethis.ai/developer-access before continuing.
AETHIS_API_KEY (ak_live_…). It goes in the MCP client’s config file, not the shell — the MCP server doesn’t inherit shell env. Generation tools also need an ANTHROPIC_API_KEY, forwarded per-request and never stored.
Workflow patterns
Four common tasks an agent will be asked to do. Each maps to one MCP prompt or a short tool sequence.1. User asks: “Check whether X is eligible for Y”
Use theaethis-decide prompt, or run the two-call sequence directly:
include_trace: true for the per-criterion evaluation trail. Pass include_explanation: true for human-readable rule descriptions.
If the user provides facts conversationally rather than as a complete struct, switch to pattern 4.
2. User asks: “Why did this come out this way?”
Two tools, depending on the question:- Explain a decision (rule-text) —
aethis_explain({ ruleset_id })returns the rules in human-readable form. Use this when the user wants to understand the rule structure before or after a decision. - Diagnose a failing test —
aethis_explain_failure({ ruleset_id, field_values, expected_outcome, test_name })returns the criterion that failed and a targeted fix hint. Use this during authoring when a test doesn’t pass.
3. User asks: “Encode these rules from a policy doc” (private beta)
Use theaethis-author prompt. It walks the 8-step TDD loop:
- Gather requirements from the user (target outcome, edge cases)
- Discover sections in the source text
- Establish field vocabulary
- Write test cases first
- Seed initial guidance
aethis_generate_and_test- Iterate with
aethis_refineand additionalaethis_add_guidanceuntil tests pass aethis_publish
4. User wants a guided eligibility interview
For decisions where the user supplies facts one at a time:Skills
Theaethis-skills package provides higher-level workflows on top of the raw tools. Install once, then invoke by skill name:
| Skill | Public/private | What it does |
|---|---|---|
decide-with-trace | public | Run a decision with schema validation, full trace, and explanation in one go |
policy-to-ruleset | private beta | Create or reuse a project, discover fields, write test-first scenarios, generate the first ruleset |
train-validate-publish | private beta | Iterative guidance loop until tests pass, then publish |
regression-compare | private beta | Compare decision behaviour between rule versions on a stable corpus, highlight regressions |
npx skills add Aethis-ai/aethis-skills. The skills assume the Aethis MCP tools are already wired up.
Tool reference
25 tools across decision, authoring, discovery, and management groups. Full list with parameters: MCP server tools. Two MCP prompts:aethis-author (TDD authoring) and aethis-decide (decision lookup). Surfaced as selectable templates in compatible clients. Documented at MCP server overview — Prompts.
Going deeper
- MCP server overview — install variants, key management, troubleshooting
- Which interface to use — when to use MCP vs CLI vs SDK vs REST
- Recipes — agent-consumable end-to-end flows
- Decision envelope — the structure of
aethis_decideresponses - How it works — the build-time vs decision-time split
- Errors — error codes and recovery patterns