RAG / agents · one returns request
RAG or AI agents: does the task need an answer or an action?

The right answer. The right authority to act.
Finding a policy and changing a business record are different jobs. The latter needs authority to act and a way to verify the outcome. Define the result first: a fixed rule or better search may be enough without a language model.
Hold off choosing the product. What should happen to this request?
First, a staff member needs the current returns policy. Search can return the document and version without generating an answer.
Choose the approach by the result you need.
| Approach | Useful result | Boundary |
|---|---|---|
| Rules / integration | Known conditions, defined steps or field transfers. | Fixed automation can act too. |
| Search | Current documents for people to read. | Clear ownership and versions may be enough. |
| RAG | A reply from policy + request, with evidence and gaps. | Source-supported draft; sending requires separate rights. |
| Agent | Chooses tool-based steps within a defined task. | May use RAG for knowledge. Flexibility still needs action rights. |
Evaluate the simplest approach against the required result. Add action permissions whenever something is created, changed or sent; choose an agent only if flexibility is needed. Missing sources and unavailable interfaces must be resolved regardless of model choice.
Fixed rules or search may be enough for predictable tasks.
Find the passage that supports the answer.

Processing status and approval need their own supporting evidence.
A draft reply needs both the policy and the request. Link it to supporting sources and make missing evidence visible.
RAG retrieves material as context for an answer. The useful result is a draft with sources that support its specific statements, with missing passages and contradictions visible for review.
Define document access and action rights separately. Keep answers within the user’s document rights; propagate source and permission changes to indexes and stored answers too.
Ready to review is a useful result.
Review the draft. Authorise sending as its own step.

Creating a draft record needs write access to the permitted fields. Sending its reply is a separate action with separate conditions.
Separate reading, drafting, changing and sending. Agreed routine actions may run within narrow limits without individual approval. New recipients, broader requests or consequential changes may need a person. Set that boundary according to the action’s risk.
The returns request, one edit later
Same answer. Different permission.
Why not just check the wording?
Evidence supports an answer. Permission governs an action.
The write was interrupted. Do we know what happened?

Do not replay an uncertain action. Establish its outcome first.
Test questions with known evidence, no supporting source, old or conflicting documents, and different user roles. Check that passages support answers and that gaps remain visible.
For actions test revoked rights, concurrent record changes, duplicate requests and interruptions after a write. Inspect the target state, define when to stop and who investigates. Define recovery per action: reversal where supported, a corrective step where it is not.
Agree acceptance before evaluation, including source maintenance, model usage costs, repeat tests and operating responsibility.

