Self-built product

Policy Desk

A compliance RAG chatbot that quotes the exact policy clause behind every answer, says so when the policies don’t cover a question, and refuses requests to get around a control.

A complete product I designed, built and tested myself. Client work is in Case studies.

Policy Desk answering whether a wire transfer to Russia can be approved, quoting three policy clauses with the source text highlighted beside the answer

A compliance team can’t use a chatbot that guesses

Compliance and payments staff need answers they can act on and defend. A chatbot that improvises, or quotes a rule that isn’t in the policy, is worse than no chatbot at all, because someone will act on it.

Every answer quotes its clause, and the gaps are honest

Every answer quotes the policy and cites the exact clause, which opens in one click. When the policies don’t cover a question, Policy Desk says so and shows the closest sections instead of inventing an answer. Requests to get around a control, like splitting a payment to stay under a threshold, are refused with the clause that forbids it.

A payment pre-check applies 13 rules from the payments, sanctions and anti-money-laundering policies as the operator types: sanctioned countries, approval limits, politically exposed persons, new clients and split payments. Each finding links to its clause, and checks save to an exportable case log. Teams can upload their own PDFs and ask about them at once, and a trace shows how each answer was found.

Built to run with or without an AI key

Policy Desk is a React and TypeScript application. It runs without an AI key, answering by quoting the policies directly. With OpenAI connected, it writes plain-language answers and removes any citation the model invents, so every reference still points at a real clause.

Tech stack

  • React
  • TypeScript
  • Optional OpenAI

Measured on questions it was never tuned on

On questions it was never tuned on, Policy Desk passed 14 of 17 and found the right clause in the top three 93% of the time.

Screens from Policy Desk

Policy Desk payment pre-check holding a €9,600 payment to Lebanon for approval: two of 13 rules triggered, including a pattern consistent with structuring, each citing its clause

Payment pre-check: each finding links to the clause it comes from.

Policy Desk declining a question its policy library does not cover, listing the closest sections, and refusing a request to split a payment under a threshold, with the rules that forbid it

A question the policies don’t cover, and a refused request to get around a control.

Policy Desk trace for an answer: the query terms, the ranking of policy sections, and the coverage and confidence checks the answer passed

The trace behind an answer: how it was found.

Policy Desk policy library with six compliance policies and an uploaded travel and expense policy, parsed and indexed in the browser

The policy library, with a document the team uploaded.

Policy Desk evaluation on 17 held-out questions: 14 passed, right clause in the top three 93% of the time, with each question, the expected clause and the clause it found

The evaluation on questions it was never tuned on.

Want something like this for your business?

Tell me what you need it to do. I’ll reply within 24 hours on weekdays with questions or a suggested first step.

Start with the $150 scoping session, credited toward the build.