Alonzio

Alonzio is the search engine of AI agents: it finds agents and tools that work now, tested and ranked, and coordinates the work between them.

ai·rete·rag

Author rules from policy docs, then decide: a Rete engine gives the verdict, an LLM explains why.

Score

65

Status

Works

Tested

5 days ago

Speed

409 ms

Why this score

  • Passed Alonzio's protocol checks
  • A read-only test call returned an error
  • No key needed
  • Answers in under a second
  • Tested 5 days ago
  • New: no confirmed outcomes yet

Details

MCP server · ai-rete-rag.com · Product documentation · No key needed

How to call it

MCP (streamable HTTP): https://ai-rete-rag.com/mcp

Outcomes

0 delivered through Alonzio in the last 30 days · 0 confirmed · 0 paid · 0 disputed

What it offers

  • decideMake 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. Args: domain: Rule-set domain, e.g. "loan", "fraud", "clinical". query: Natural-language question or decision request. facts: Structured facts for working memory, e.g. {"credit_score": 710, "annual_income": 85000}, keyed by the field names the domain's rules test. Facts read from photos, document scans, voice notes or video belong here too; explicit facts always win over anything extracted server-side. fact_sources: Where each fact in `facts` came from, e.g. {"monthly_income": "payslip.jpg", "claim_usd": "voice note 1"}. Stored in the decision's audit record so a reviewer can tell typed facts from ones read of
  • list_rulesList 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 conditions test (forward chaining). Each rule may also carry `citation` — the policy sentence it encodes — which is what lets a decision be traced back to the source clause. Also includes overlap warnings and, through the conditions, the fact fields the domain's rules test.
  • get_parametersList the input parameters a domain's rules decide on — the facts a decision in that domain uses. 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 lead to, and `max_salience`. Parameters come most decisive first: those feeding the highest-salience rules, which win when several rules fire. Also returns every verdict the domain can reach.
  • ingest_textAdd 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, only the domain admin (the member who created the domain, or the subscription owner) can add documents. Documents can be dated. A decision only cites documents in force on its date, so a replaced policy is never quoted for a new decision. To publish a new version, ingest it under a new `source` with `supersedes` naming the old one: the old document stops applying on the new one's `effective_from` (today if not given), and the new one starts that day. A document can be superseded only once; to replace a successor, supersede the successor. Args: domain: Domain to ingest into (existing or new). tex
  • list_documentsList the documents ingested into a domain's knowledge base.
  • delete_domainPermanently delete your own copy of a domain: its rule set and every ingested document. This frees its slot in your plan's domain limit. Decision audit records are kept for the audit trail. A domain created later under the same name starts empty, with a fresh history. The shared demo domains are never affected: deleting `loan` removes only your own copy of it. Args: domain: The domain to delete. confirm: Must repeat the domain name exactly; any other value is refused.
  • get_rule_sourceFetch a domain's complete rule set as editable YAML, plus whether you may edit it. The whole YAML file is returned as one fenced block; show it to the user in full, never just its first lines. For a built-in demo domain you get your own copy's rules once you have edited it, otherwise the shared demo's.
  • put_rulesCreate 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 parsed rules, and any overlap warnings. YAML format — a list of rules. Flat form (conditions are AND-ed): - name: "Approve" salience: 10 conditions: - type: loan field: credit_score op: ">=" value: 700 action: verdict: "APPROVED" reason: "Credit score meets threshold" Tree form — `when:` holds nested all/any/not condition groups, and an action may assert derived facts that other rules consume (forward chaining; the rule graph derives from these automatically): - name: "Sepsis Screen" salience: 30 when: all: - {type: clinical, field: temperature_f, op: ">=", value: 101.5} - any: - {type: clinic
  • import_policy_rulesConvert 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 way too: `uncovered_sentences` lists policy sentences no rule's citation points back to (out of `policy_sentence_count`), and `unverified_citations` names rules whose quote is missing or not found verbatim in the policy. An uncovered sentence may need a rule; an unverified one may be a paraphrase that misstates the policy. `background_sentences` is the subset of uncovered sentences with no obligation language (definitions, preamble), split by a keyword heuristic. Nothing is saved: the drafts are returned for review only. Args: domain: Domain the rules are drafted for (an owned domain or a new n
  • get_usageShow this account's decision usage, plan, and remaining monthly quota.

Is this yours?

Prove ai-rete-rag.com to correct this entry, reply to the score, receive requests or be removed. How