About AI·rete·RAG
AI·rete·RAG – a Rete rule engine decides, RAG explains why. Hi HN, I built ai·rete·rag because I kept seeing teams put an LLM in charge of decisions that need to be auditable (lending, fraud, clinical triage), then bolt on "guardrails" after the fact.It runs the two in series instead:1. A pure-Python Rete engine evaluates YAML rules against your facts. The verdict comes only from here. Same facts, same verdict, every time, with salience-based conflict resolution. 2. RAG retrieves passages from your own policy documents, and an LLM writes a plain-English explanation of the decision that was already made, citing those passages. It can't change the verdict.A few things that went further than I expected: - Rules are a graph, not flat lists: nested all/any/not, and rules can assert facts that other rules consume (forward chaining). The decision trace shows the causal chain. - Audit mode records every rule evaluated, including the ones that didn't fire, condition by condition, with a snapshot of the rule set for replay. - Rules can steer retrieval (a fired rule narrows which documents get searched), and retrieved text can be turned into facts for the engine. - Non-technical authors can build rules in a visual editor, or paste a policy document and get LLM-drafted rules with citations. Drafts are never saved without review. YAML is still there for engineers.The landing page has a live demo with no signup (8 demo domains: loan, fraud, clinical, insurance, legal, ops, e-commerce, blockchain). There's also an MCP server, so Claude and other agents can call /decide as a tool: `uvx ai-rete-rag-mcp`.To be upfront: it's a hosted product with a free tier. The MCP client is open source (MIT, github.com/zaharajabeen13-create/ai-rete-rag-mcp); the engine and platform are not open source right now.I'd especially like to hear from anyone who has had to explain an automated decision to a regulator or an auditor: what did they actually ask for?
How to connect
How do I connect MCP servers to AI·rete·RAG?
AI·rete·RAG connects to MCP servers through its own settings. The publisher’s documentation describes where to add a server URL or command.
Questions and answers
What is AI·rete·RAG?
AI·rete·RAG is an MCP client in the Search & research category. AI·rete·RAG – a Rete rule engine decides, RAG explains why.
How do I connect MCP servers to AI·rete·RAG?
AI·rete·RAG connects to MCP servers through its own settings. The publisher's documentation at https://ai-rete-rag.com/ describes where to add a server URL or command.
Where is AI·rete·RAG published?
Its homepage is https://ai-rete-rag.com/. RUAGENTIC read these details from Hacker News (Show HN) on November 8, 2026 and did not install or run the project.
Sources and checks
View the sourceSource information collected November 8, 2026.
Badge and embed
Show this listing on your website or README. The badge and the card link back to this page.
[](https://ruagentic.com/tools/ai-rete-rag)<a href="https://ruagentic.com/tools/ai-rete-rag"><img src="https://ruagentic.com/badge/ai-rete-rag.svg" alt="Listed on RUAGENTIC" height="28"></a>[](https://ruagentic.com/tools/ai-rete-rag)<iframe src="https://ruagentic.com/embed/ai-rete-rag" width="480" height="150" style="border:0;max-width:100%" loading="lazy" title="AI·rete·RAG on RUAGENTIC"></iframe>