PERSONAL PROJECT / AI AGENTS05
AP Exceptions Copilot.
An AI copilot for the problems hiding in a payment run.

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