Start
All articles
Hiring guidePublished on · 5 min read

Hiring AI automation: what to ask for before you sign

Before hiring AI automation, ask for a measured success criterion, per-use cost, spending caps, action limits and where your data goes. A guide with ready questions.

BySenior Developer & Tech Lead

AI automation is usually sold through the demo: the agent answers, classifies, fills in forms, and everything seems to work. What decides whether the project is worth it shows up later, in the cost of each run, in what happens when the model is wrong and in where the data goes. This guide is for people about to hire who want to know what to demand in writing before signing. It is general guidance, not legal advice.

Ask for a success criterion you can measure

"The agent handles requests well" is not a criterion. Anthropic's evaluation documentation asks for specific, measurable criteria and gives the contrast: "safe outputs" is vague, while "fewer than 0.1% of 10,000 runs flagged by the content filter" can be checked. The same goes for your automation: what share of correct results is acceptable, across how many real cases, and how long each answer may take.

Also ask for the test set. The documentation recommends evaluations that mirror the real distribution of use, edge cases included, and notes that a model used as a quality judge must itself be tested before it is used at scale. Without that set, "it got better" and "it got worse" are just opinions.

Understand the recurring cost before the project cost

Development is paid once. AI charges on every use. On Anthropic's pricing page, used here as an example, billing is per million tokens, with separate prices for input and output, and output costs more than input for every model listed. Tools run by the provider, such as web search, have their own usage-based charge on top of the tokens.

The same page shows what lowers the bill: reading context from cache costs a fraction of the input price (0.1 times for most models) and batch processing gets a 50% discount on input and output. So ask for an estimate with the formula in the open, so you can redo the math when volume changes. The basic math is: input tokens of one run, in millions, times the input price; plus output tokens, in millions, times the output price; all multiplied by the number of runs per month and by the average attempts per run (1 when there are no retries, 1.2 when 20% of runs execute twice). Prices are the ones on the provider's page on the date of the proposal.

Ask the proposal to separate the project cost from the monthly AI cost, and to say whose name the provider account is under. Ideally it is yours, so billing and the access key stay with you if the vendor changes.

Require caps on spending, usage and steps

Without a limit, a logic error or an abuse turns into a large bill. OWASP calls this unbounded consumption and recommends going beyond requests per second: limits on tokens per minute, tokens per day and estimated cost per request, budget ceilings that cannot be overridden per key, user and cloud account, and, for agents, limits on steps, recursion depth, time and cost per run.

Providers also enforce their own limits. In Anthropic's rate limits documentation they are measured per model in requests, input tokens and output tokens per minute. Exceeding them returns a 429 error, and the retry-after header says how long to wait. When the account reaches its monthly spend limit the response is also a 429, but without retry-after: repeating the call does not help. Ask the vendor how the system behaves in both cases. The right answer includes a queue, retry with backoff and controlled degradation, not an error screen.

A per-run control handles much of this risk: the system stops when it reaches the maximum number of steps or the maximum cost for that run, and records why it stopped.

Define what the system may do on its own

The risk of an automation grows with what it can change. OWASP describes excessive agency with three causes: excessive functionality, excessive permissions and excessive autonomy. The mitigation is concrete: give the agent the fewest tools, with the fewest permissions in the connected systems (read-only when writing is not needed), and require human approval for high-impact actions. The page's central rule is that authorization must be implemented in code, not left for the model to decide.

This matters because, according to OWASP's page on prompt injection (malicious text that changes the model's behavior), there is no reliable prevention mechanism today, so the defense is architectural. Ask the vendor for the list of what the system can do with no one approving it (sending a message to a customer, changing a record, issuing a document) and what requires confirmation.

Ask where the data goes

Every call to the model sends data to a third party. OWASP recommends minimizing the context sent to external providers, sending only the fields the task needs, and not keeping secrets or regulated data in the system's instruction text. The LGPD points the same way: the necessity principle (art. 6, III) limits processing to the minimum needed for its purpose.

Two other questions depend on the case. If the provider processes data outside Brazil, art. 33 lists the cases in which international transfer is allowed, and it is worth confirming which one applies to your company. And if the system makes decisions based solely on automated processing, art. 20 gives the data subject the right to request a review and to receive information about the criteria used. Confirm these points with whoever handles compliance in your organization.

Questions to take to the vendor

Question What it reveals
What is the success criterion and which test set will measure it? Whether "it works" has a definition
What is the monthly AI cost estimate, with the formula and the assumed volume? Real operating cost
Whose name are the provider account and key under? Vendor dependency
Which caps on spending, usage and steps exist? Protection against error and abuse
What does the system do without human approval? Risk of unwanted action
Which data goes to the provider, where is it processed and for how long is it kept? Exposure of personal data
What happens when the provider fails or a limit is reached? Process continuity
How will progress and quality be shown at each cycle? Visibility during the project

Before you sign the contract

Agree on a small pilot, with one use case, the success criterion in writing and a spending cap at the provider. Ask for the cost, latency and quality report at the end, and only then decide the full scope. The general questions for any proposal (what is in and out of scope, warranty, who owns the code and the data) still apply and are in the guide on how much a custom web system costs. An automation proposal that does not answer the questions above in writing does not yet describe what will be built.

Sources

Enjoyed the article? Share it

Get new articles by email

Practical guides and technical analysis, no spam. Unsubscribe anytime.

We only use your email to send the articles. You confirm the subscription by email and can unsubscribe at any time. Privacy Policy.

Keep reading