An agent can read data, propose a decision and use tools that affect systems. Start by listing the operations required for the use case. For each one, specify who can request it, what data it can use and what outcome it can produce.

Limit tools, data and duration

Give the process a dedicated identity and minimum permissions. Separate read tools from tools that change resources. Enforce permissions at the service and validate parameters, destinations and conditions. Limit the number and duration of operations and provide a controlled stop when outcomes diverge from expectations.

Approve the specific action

For high-impact operations, show the reviewer the destination, resource, proposed changes and consequences. Bind approval to the reviewed parameters and set an expiry. Record the decision and result with a correlation identifier. Provide a way to revoke access and pause the workflow.

Example and acceptance tests

A support agent can read orders assigned to its team and prepare a proposed refund. The finance service executes the operation after the required approval. Test an order from another team, an amount above the limit and reuse of an expired approval. Verify that all three are rejected and recorded.

Sources