The part of agent engineering that interviews are starting to ask about
Building something that calls a model is now a weekend project. Building something allowed to act on your behalf is a different job. It is also the one that shows up in real engineering work.
The difference is money and consequence. A chatbot that gets an answer wrong wastes a reader's time. An agent that sends a document to the wrong recipient has done something you cannot take back.
So the interesting questions are no longer about prompts. They are about what the agent is permitted to do, who decided that, and what evidence exists afterwards.
Where permission has to live
Here is the mistake worth understanding early, because it is easy to make and hard to see.
A developer gives the agent its limits in the system prompt. Spend no more than ten dollars. Only send to numbers on this list. Ask before anything irreversible.
That is not a limit. It is a request. The text carrying the rule sits in the same context window as text the agent read from a web page, a document or an email. A model has no reliable way to rank one above the other. Anything that can enter the context can argue with the rule.
A real limit is evaluated somewhere the agent cannot reach. The check happens on the server that performs the action, against a policy the agent did not write and cannot edit. Ask for more than the policy allows and the call fails, whatever the agent believes about its own authority.
Fax for Agents is one current example of that shape. Approvals and budgets are evaluated on the server, never read from prompt text, so an agent cannot widen its own permissions. Each agent is a named principal with its own key, its own scopes and its own budget.
What an approval has to pin down
"The user approved this" is too vague to be worth anything, because the approval and the action can drift apart between one and the other.
A useful approval names everything that could change. In that API an approval covers one document hash, one destination, one sender, one amount and an expiry. Any change to the document invalidates it. Swap a page after the approval and the send fails, instead of going out unnoticed.
That design has a property worth stealing for any system you build. Bind the permission to the exact thing being permitted, never to the intent behind it.
The quote is the same idea applied to money. A price is fixed to the document, the destination and the amount for ten minutes. What was agreed and what is charged cannot diverge quietly.
Why the audit trail is an engineering concern
Logging is usually treated as something you add once the feature works. For an agent that spends money it is part of the feature.
The question an auditor asks is not what the agent intended. It is what happened, and what proves it. That means a record per action carrying the input's hash, the destination, the amount captured and the outcome. The system writes it, the model does not describe it.
It also means being careful with a single word. In that API, delivered is written only when the provider's evidence for the attempt supports it. There are six states in total, where most systems have a success flag. Most of the honesty in a system like that lives in refusing to say delivered early.
What to practise
Four exercises, all small, all more useful than another prompt-engineering tutorial.
Take something your code can do and move its limit out of the prompt into a server-side check. Then try to talk your own agent past it, and watch the call fail.
Give your agent its own credential instead of yours, with a scope narrower than yours, and confirm it cannot widen that scope.
Add an idempotency key to every call that changes something, then run the same request twice and confirm you get one effect.
Write the receipt before you write the happy path. If you cannot say what a completed action should leave behind, the action is not finished being designed.
None of that needs a large budget or a big model. It needs the habit of asking where a rule is enforced. That question separates a demo from something a company will let near its customers.