Single agent
One bounded decision loop: choose an action, call a tool, observe the result, then continue or finish.
A good starting point for one focused task. Too many tools and unrelated policies make context and evaluation harder.
- Support agent. Chooses the next permitted action from the task, context, and observed tool results. Stops at a turn or cost limit.
- Order records. Read the order and its ownership before any action.
- Delivery tracking. Retrieve carrier evidence. Treat external content as untrusted data.
- Refund policy. Check eligibility against the current business rules.
- Refund action. Execute only after permission and approval checks; use an idempotency key.
- Human review. Pause with the evidence, proposed action, and a clear reason. Resume only after an authorized decision.
- Customer reply. Report the confirmed outcome or ask for missing information. Never claim an action succeeded without a tool result.
Successful resolution
- Understand the request. A customer reports a missing order. The agent identifies the records it needs.
- Read the order. The order belongs to this customer and has a tracking reference.
- Check delivery. Carrier evidence confirms the parcel is lost.
- Check eligibility. The order qualifies and the refund is inside the preauthorized limit.
- Execute the permitted action. The tool confirms the refund. A retry must not issue it twice.
- Report the outcome. The customer receives a reply grounded in the confirmed result.
Missing information
- Understand the request. A customer reports a missing order. The agent identifies the records it needs.
- Order not found. There is no matching order in the authorized records.
- Ask before acting. Ask for an order reference. Do not guess or issue a refund.
Human review
- Understand the request. A customer reports a missing order. The agent identifies the records it needs.
- Read the order. The order belongs to this customer and has a tracking reference.
- Check delivery. Carrier evidence confirms the parcel is lost.
- Check eligibility. The order qualifies and the refund is inside the preauthorized limit.
- Amount exceeds authority. The proposed refund is outside the agent’s limit. An authorized person reviews the evidence and approves.
- Execute the permitted action. The tool confirms the refund. A retry must not issue it twice.
- Report the outcome. The customer receives a reply grounded in the confirmed result.