Sooner or later, someone asks for an agent to create vendors, raise purchase orders or post entries in the ERP. The demo looks good. The person who has to sign off needs a way to judge what happens on a bad day.

This checklist is for that person. It applies whether you build the controls yourself, buy a product, or combine the two. Each item is phrased as something you can ask to see demonstrated. An answer of “the model is instructed not to” does not count for any of them.

Scope the first use

Before any technical review, write down the boundaries.

  • One workflow. Name the process, such as raising a purchase order under a set value.
  • One environment. Begin in a test system, with no production writes.
  • A named owner. Someone is accountable for the agent’s actions and for its rules.
  • A list of operations. The agent gets named operations, not general API access.
  • A way to stop. Someone can pause all agent writes at once, and knows how.

Credentials

The most important question is who holds the key.

  • The agent has no credential that can write to the ERP directly.
  • Writes go through a service whose credential is scoped to exactly the operations it needs, including the ones that undo them.
  • Old agent credentials have been revoked, and someone has tried them and seen them refused.
  • Credentials differ per environment and live in a secret manager.
  • You can see which agent and which user were behind any change, even though the ERP records one service account.

Test the third item directly. If the agent’s old token still works, every other control on this page can be bypassed.

Requests

The agent’s request should be specific enough to govern.

  • Each operation has a schema, and a value of the wrong type is refused and not coerced.
  • Identifiers come from a controlled source, not from free text.
  • Each identity sees only the operations it is entitled to use, and calling another one directly is refused.
  • A write without an idempotency key is refused.
  • Repeating a request with the same key returns the original result and creates nothing new.

Decisions

A rule that a person can read is a control. A prompt is not.

  • Allow, deny and hold are decided by deterministic rules, with no model in the decision.
  • If no rule allows an action, it is denied.
  • Rules read live facts from the ERP, such as remaining budget and vendor status.
  • Facts are read again immediately before the write.
  • If a fact or the policy engine is unavailable, the write is refused.
  • Rules are tested and reviewed like code, and a change can be replayed against past requests before it goes live.

Ask to watch the budget service fail. The right result is a refusal with a clear code and no write.

Approval

Most ERP processes already have a concept of who can approve what. The agent must not weaken it.

  • High-value and irreversible actions wait for a person.
  • The approver sees the actual values, not a summary written by the agent.
  • The approval is bound to the exact content, so that a changed amount invalidates it.
  • The requester cannot approve their own request, and an agent cannot approve anything.
  • Approvers are checked against roles from your identity provider.
  • Requests expire if nobody decides.
  • Each step is still evaluated when it runs, so an approval cannot override a rule that now denies it.

Partial failure

This is the section most agent projects skip, and the one that creates the worst clean-up work.

  • Every write declares how it is undone, or is explicitly marked irreversible.
  • If a later step fails, completed steps are undone in reverse order.
  • An irreversible step can only run last.
  • A failed undo is retried, then raised to a person. It is never dropped.
  • You know what “undone” means in your ERP: usually a deactivated or cancelled record that stays in the history, not a deleted one.

Pick one three-step workflow and force a failure at the last step. Then look in the ERP and confirm what is left.

Unknown outcomes

A connection can drop after the ERP has committed a change. The caller cannot tell whether it worked.

  • A timeout after sending is treated as unknown, not as a failure.
  • Where the ERP allows it, a read checks whether the effect exists.
  • If the outcome stays unknown, the workflow stops, undoes nothing and alerts a person.
  • The agent is told not to resubmit.
  • The person who settles it is recorded, along with what they said.

Evidence

Your auditors will ask questions that nobody thought about during the build.

  • For any change, you can show the request, the rule that allowed it, the facts it read, the approver and the result.
  • Each decision is recorded before the write it permits.
  • The record is tamper-evident, and a separate tool can check it.
  • Sensitive fields such as tax identifiers are not stored in clear text in the audit copy.
  • You can export the record for someone who has no access to the system.
  • You know the limits of the record, including what a database administrator could do.

Operations

A control that nobody can operate will be switched off.

  • Someone is alerted when work needs a person, and there is a named rota.
  • Rate limits stop an agent stuck in a loop.
  • One operation, one agent or all forward writes can be stopped without a deployment, while undo operations continue.
  • You know what happens to work in flight when the control service restarts.
  • The data the control service keeps, and for how long, is written down.

Questions for any vendor

If you are evaluating a product, including ours, ask for these:

  • Show what happens when the response to a payment is lost.
  • Show a plan whose undo fails.
  • Where exactly is the credential, and what stops the agent from going around you?
  • What does your product not do?
  • Which of these features are shipped today, and which are planned?

The last two are often the most useful. A vendor who can answer them plainly is easier to trust on the rest. Our own answers are on the status and security pages.

Passing this checklist does not establish that a deployment meets any regulation. That judgement belongs to your own auditors and advisers. It does mean that when something goes wrong, you will know what happened and what to do next.