ai·rete·rag
Author rules from policy docs, then decide: a Rete engine gives the verdict, an LLM explains why.
| Endpoint | https://ai-rete-rag.com/mcp (streamable-http) |
|---|---|
| Registry version | 0.11.0 |
| Now | 9 tools · grade C (65) · pin ts_f0e6a2bb6264de4dae325d3e4d51b434 · protocol 2025-06-18 |
| First / last listed | 2026-10-28 06:45 UTC / 2026-10-28 06:45 UTC |
| Grade over time | 2026-10-28: C (65), 9 tools |
Is this your server? Own a server? ToolFit hosted watch re-checks it every 24 h ($0.25 per 30 days) or 6 h ($0.60) and sends you an HMAC-signed webhook when its tools or grade change: POST https://api.youraitools.co/toolfit/v1/watch. To opt out, see About & opt-out.
Tools: decide list_rules get_parameters ingest_text list_documents get_rule_source put_rules import_policy_rules get_usage
decide | Make a deterministic, auditable decision in a domain.
The verdict comes from the domain's rule set (Rete engine, never the LLM),
so it is reproducible and compliant. The explanation is generated from the
domain's ingested policy documents.
Without an API key only the shared demo domains are available, and the
response carries `next_step`: how to get a free key for your own rules.
Pass that on to params: domain*, query*, facts, unstructured_text, response_mode, filter_retrieval_with_rules, extract_from_retrieval, fact_sources, as_of |
list_rules | List the decision rules for one domain (or all domains).
Returns each rule's conditions — either a flat AND list (field / operator /
value) or a `when` condition tree (nested all/any/not) — plus its verdict,
salience, and any asserted facts (`action.assert`, the facts a rule
produces for other rules to consume). `edges` lists the derived rule→rule
dependencies: src asserts a fact type that dst's params: domain |
get_parameters | List the input parameters a domain's rules decide on — the facts to
collect before calling `decide`. Derived from your account's own copy of
the rules, so it covers your custom domains too.
Each parameter has its `field` name (the key to use in `facts`), `kind`
(number / boolean / string), the `tests` rules make on it (e.g. >= 720 —
match these units and scales), the `rules` and `verdicts` it can params: domain* |
ingest_text | Add policy/reference text to a domain's knowledge base.
The text is chunked and embedded; explanations for future decisions in this
domain will cite it. Creating a new domain claims it for your account
(plan limits apply). Ingesting into a built-in demo domain gives your
account its own copy of that demo (it counts as one of your domains); the
shared demo others see is unchanged. On team plans, o params: domain*, text*, source, effective_from, effective_until, supersedes |
list_documents | List the documents ingested into a domain's knowledge base. params: domain* |
get_rule_source | Fetch a domain's rule set as editable YAML (plus the parsed rules and
whether you may edit it). Use this before `put_rules` to see the current
rules. For a built-in demo domain you get your own copy's rules once you
have edited it, otherwise the shared demo's.
params: domain* |
put_rules | Create or replace a domain's rule set from YAML (self-serve rule authoring).
The first save to a new domain claims it for your account (plan limits
apply). Saving to a built-in demo domain saves your own copy of it, seeded
from the demo; the shared demo others see is unchanged. Rules are validated before
saving — set dry_run=true to validate without persisting. The response
reports ok/errors, the params: domain*, rules_yaml*, dry_run |
import_policy_rules | Convert a written policy document into DRAFT decision rules (LLM-assisted).
Returns validated draft rules (when/action, including chained asserts where
the policy stages its determinations), derived rule→rule edges, and overlap
warnings. Each returned rule carries a `citation` field holding the policy
sentence it encodes (also summarized in the top-level `citations` map).
Coverage runs the other params: domain*, policy_text* |
get_usage | Show this account's decision usage, plan, and remaining monthly quota. params: none |
Entries describe changes in tool definitions. They are not statements about a server, its quality or its author. The grade measures how the tool definitions fit model providers (token cost, schema compatibility, confusable names) as scored by the ToolFit engine at the time of the listing. JSON: append .json. Opt-out: how or hello@youraitools.co.