All selected work
PERSONAL PROJECT / AI AGENTS05

AP Exceptions Copilot.

An AI copilot for the problems hiding in a payment run.

Design & build2026
An issue in the AP Exceptions Copilot: a bank-change request from a look-alike domain, with the agent’s decision and the options it compared
One issue: the decision and the options compared.

An accounts-payable copilot that finds duplicate invoices, price and quantity mismatches, expiring discounts and spoofed bank-change emails, has Claude investigate each one through validated tools, and turns every decision into an exact document a person approves.

My contribution

  • Deterministic detectors rank issues by money at risk, deadline and trust flags, so Claude only sees the ones worth its time.
  • The agent has no write tools: its plans are checked in code, and approval needs a capability only the browser session can mint, bound to the exact payload the reviewer saw.
  • Recorded agent runs replay through current code in CI with no API key; live runs go through the Claude Agent SDK.

11 of 11 eval cases pass.

The cases cover each planted problem, a prompt-injection email, routine noise and two what-if overlays. Every proposed action is pushed through the real approval path, where a forged capability, a wrong payload hash and stale data must all be refused. Across 37 fresh live runs, one missed; a plan check now catches that case.

TypeScriptClaude Agent SDKMCPSQLiteEvals
View the code on GitHub
Back to the gallery