All insights
Deep DiveAI & Agents / Enterprise Architecture / Data & Database

Which decisions can a financial AI agent make?

An agent can look up a transaction. Can it also authorize a refund? A disputed card charge reveals where to set boundaries for execution, disclosure and memory.

Two charges for the same amount

“I paid once, but the same amount appears twice on my card statement. Has it been refunded?” Imagine a customer asks their card issuer this question. The support agent finds two entries for the same amount in the ledger. What can it tell the customer now?

We have two facts. The customer reports making one payment. The ledger contains two entries. Identical amounts alone do not tell us whether the card was charged twice or one entry is being reversed. A claim that a refund was approved requires an approval record linked to the transaction.

A model can weave the statement, the ledger entries and the approval status into a fluent reply. But “We’ll refund you” does two different things. It communicates with the customer and commits the institution to a decision.

Who can approve a refund?

A support representative may receive permission to read a case when a customer calls. That permission depends on which case and customer are assigned to them. If several representatives share an application service account, the identity and role of the actual requester must reach the point where transactions are read. Only then can the data layer enforce the assignment. Applying the end user’s authority

In this example, the agent can read a transaction and request a review. A designated reviewer can approve a refund. Even if the agent proposes approval as its next step, the execution tool checks the current requester, permissions and case status at the moment of action. If a reassignment revoked the requester’s authority immediately after the lookup, the tool rejects the change and the case retains its state.

From a disputed charge to a customer update
  1. Record the claim

    Attribute the report of a single payment to the customer. Issue a case reference for the inquiry.

  2. Check the ledger

    Verify that the authenticated requester can access the case. Compare the transaction references and processing states.

  3. Check approval

    Look for a recorded decision by an authorized reviewer. If evidence is insufficient, request a review and keep the investigation open.

  4. Update the customer

    If there is no approval record, explain the case status and next step. Even after approval, confirming payment requires a disbursement record.

When replacing the model, I would send the same question to its successor. A different wording is expected. What matters is whether the system still denies a revoked tool call and whether the ledger can ever change without approval. Compare the generated response with the execution record produced by the system.

Which investigative findings can leave the system?

An investigation tool may need to reconcile the ledger with previous cases and consider an internal risk signal. If the outcome is “review required,” a model drafting a customer update can work with that status and the next step it may disclose. Supplying the raw risk score moves it into the model’s environment even if it never appears in the final answer.

One option is to complete the calculation where the data lives, then return only fields permitted for the next recipient. To verify the boundary, compare the actual tool response with the model input. Controlling what leaves a protected computation

One case, two views of the evidence
Internal investigation

An authorized investigation tool can examine these details for the assigned case.

Transaction records
Compare both references and processing states in the ledger.
Investigation
Use case history and internal risk signals to request a human review.
Approval
No refund approval has been recorded for this case.
Customer update

After verifying the customer’s identity, the support channel can disclose these details.

Transaction records
We are checking the transactions you asked about.
Investigation
We have received your dispute and will update you when the review is complete.
Approval
We have not yet confirmed a refund approval.

The customer interface is one of several disclosure boundaries. Insert a recognizable synthetic internal value into a test case, then trace it through tool output, model input, application logs and temporary storage. For an audit trail, I would retain the case reference, authorization decision and action outcome needed to reconstruct the event.

Where should tomorrow’s conversation resume?

The customer calls the next day and asks, “What happened to the case I opened yesterday?” Yesterday’s note says “under investigation.” If a reviewer approved the refund overnight, the note is stale. A preference the customer expressed for text messages may still be valid and reusable.

Different lifetimes within one case
  1. First contact
    Attribute the statement

    Record that the customer reports making one payment. A finding of duplicate billing requires independent evidence.

  2. End of session
    Leave a starting point

    Save the case reference and outstanding questions. Point to the authoritative record for the approval status.

  3. Next day
    Read the current state

    Check identity and current authorization. Apply a valid contact preference and read approval again from its source.

  4. Retention expires
    Stop using expired memory

    Check whether an expired value can reappear in a later conversation through a summary or search index.

A summary of facts established in one session and a preference retrieved across sessions can have separate designs. In some implementations the application connecting them handles authentication and access control. Session memory and long-term memory

Before adding a memory, I ask, “What decision will someone make using this value next time?” A pointer to the source and case can be enough to resume a conversation. Disbursing money or closing the case calls for a fresh check of current authority and the official record.

Three checks before production

It is easy to open a review by discussing how natural the reply sounds. I would first try to reproduce these three behaviors:

  1. Revocation blocks an actual change. Read the transaction, revoke approval authority, then repeat the action. Compare the ledger state with the denial record.
  2. Internal values stay within their disclosure boundary. Add a synthetic risk signal to a test case. Inspect which fields reach the model, the customer update and the logs.
  3. The agent corrects stale memory. Keep the support note and change the approval status. Verify that the next interaction reflects the new state and that its source record can be located.
Test conditions, expected behavior and evidence
Pre-production checks for authority, memory and disclosure
ConditionExpected behaviorEvidence to inspect
Revoke approval authority after a lookupRecheck current authority on the approval request and block the change.The denial record and the source system state before and after the request
A customer statement and ledger entries do not establish a duplicate chargeKeep the investigation open and request human review.The handoff, customer update and count of approvals
Switch customers and ask about the same caseExclude the previous customer’s statements and memories from the model input.The new requester’s identity, lookup scope and fields actually returned
Resume contact after the preference expiresAsk which contact method the customer now prefers.The expiry timestamp, retrieval results and next customer message
Resend the approval request before its result arrivesCheck whether that request was already processed and prevent duplicate approval or notification.Ledger changes and messages sent per request ID
Investigate a case that requires sensitive source recordsPass only authorized values to each recipient, including the model and the customer.Tool responses, model inputs, application logs and caches inspected using synthetic data

As agents take on more procedures, one step’s result may increasingly become the next tool’s input. The review question remains concrete. Whose authority was exercised, and which records were checked, before we said these words to this customer? I would start with workflows where that chain can be reconstructed.

Technical references