Show HN: AI·rete·RAG – a Rete rule engine decides, RAG explains why

Video & Animation · Free · collected from public sources

Visit Show HN: AI·rete·RAG – a Rete rule engine decides, RAG explains why ↗

What is Show HN: 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 &quot;guardrails&quot; after the fact.<p>It runs the two in series instead:<p>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&#x27;t change the verdict.<p>A few things that went further than I expected: - Rules are a graph, not flat lists: nested all&#x2F;any&#x2F;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&#x27;t fire, condition by condition, with a snapshot of the rule set for

Tags

ai hackernews show-hn

Pricing

Listed as Free. Pricing changes often — confirm on the official site.

Similar Video & Animation tools

Loading…

Listings are collected automatically from public sources and refreshed daily. We do not take payment for placement.

← Back to the directory