Make auditable rule-based decisions with RAG-written explanations
A Rete rule engine decides loans, fraud and triage cases, then RAG over policy documents has an LLM explain the verdict, with an MCP server available. ·
Done withClaude
- What they did
- The page describes a design in which a Rete rule engine makes the decision, so it is repeatable and auditable. Retrieval-augmented generation over your own documents then supplies the reasons behind the verdict. The source text I could read is only a short description, with no setup steps or details of agent actions.
- How it went
- The source states no results, numbers or limitations. It only describes the split in which rules decide what happens and retrieval explains why.
- Worth knowing
- The fetched page held only a meta description, so check the site directly for setup, MCP details and costs.
Try it yourself with Claude Code
Build a small rule-based decision engine for [use case, e.g. loan approvals] using the rules in [policy document or list of rules]. For each case I give it, output the decision, the exact rules that fired, and a plain-English explanation grounded in quotes from the policy document. Done means it correctly handles these [5] sample cases and I can review the audit trail for each.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Discussion on HN · Sep 22, 2026
Related use cases
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Flag risks in a 50-page contract before signing
The poster uploaded a 50-page contract and Claude flagged an auto-renewal near the end and a liability term they would have missed.
Build and install Android apps on a phone remotely with Claude Code
A dev runs Claude Code on a build VM, directs it from the phone Claude app to build Android apps, then installs them onto their phone over the network via adb.
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Reconcile industry files and chase clarifications with agents
An agent workflow ingests a complex industry file, loads it into a database, spawns agents to check it against work in flight, and contacts people to resolve bad data.
Custom agent
Let an AI CEO run a small security scanner business
The poster gave an AI agent a security scanner business idea with three AI employees; at day 2 there was no revenue and a homepage outage.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.