Kkarthik.dev
Back to blogAI Agents

6 Rules for Any AI Agent That Touches Money

2026-11-23 · 3 min read

An AI agent that collects payments is one bad prompt away from sounding like a scam call. Over the last few months I've built three agents that sit close to money: EnrolPilot (payment links and recovery), the Paylane support agent (refunds and frozen cards) and TrailCut (mutual fund switch planning). These are the rules they share.

1. Never ask for secrets

No OTPs, card numbers, PINs or bank details — not even "for verification". If an agent ever needs one, the design is wrong.

2. Never move money directly

The agent sends an official payment link or calls a guarded tool. It never collects money itself and never improvises a payment method.

3. Put the policy in code, not just the prompt

A deterministic guard decides whether a refund, discount or transfer is allowed. The model can suggest; the code decides. If the policy says no, the action never runs, whatever the model says.

4. The model never computes a rupee

Every number a customer sees should come from a calculation tool, not from the model. In TrailCut, a validator rejects any reply that quotes a number the engine didn't produce.

5. Escalate fast

Legal threats, fraud claims, account closures, angry customers and anything the agent is unsure about go to a human — before the agent tries to be clever.

6. Log everything

Every call, link, tool call and decision is logged. If you can't see why an agent did something, you can't fix it, and you can't prove it behaved.

Why this matters in India

People are rightly cautious about payment calls and messages. An agent has to earn trust in the first few seconds, and these boundaries are how. The interesting engineering in money agents isn't the conversation — it's what the agent is not allowed to do.

What rule would you add?