Skip to content

How to become an AI agent engineer

A route into agent engineering from backend, platform or ML work: what to learn first, what to build, and how to show it, in the order the skills depend on each other.

7 MIN READ · UPDATED 23 NOVEMBER 2026

PRACTICE THIS:Agent loops ·Durable agents ·Evals

Start from what you already know

Most people who move into agent engineering come from backend, platform or ML work, and each brings half the job. Backend and platform engineers already know retries, idempotency, queues, isolation and observability, which is most of what makes an agent reliable. ML and applied AI engineers already know how models behave: context limits, sampling, evaluation. The route below starts with the shared core and then fills whichever half you are missing.

Step 1: build the loop by hand

Write an agent without a framework: a model call, a tool registry, a dispatcher that turns exceptions into results the model can read, a step budget and a clear stop reason. Use a scripted fake model so you can test it deterministically. It takes an afternoon, and afterwards every framework's documentation reads like a description of choices you have already made yourself.

Step 2: make it fail, then make it hold

Break your agent deliberately. Make a tool time out after it has done its work, and watch the retry repeat the side effect; fix it with an idempotency key derived from the business intent. Kill the process mid-run and make it resume from a saved step log. Give it a document containing instructions and make sure the harness, not the prompt, stops anything it should not do. These three fixes are the backbone of most production agent work and of most senior interview answers.

Step 3: measure it like a system that varies

Write twenty tasks with graders that check the end state, run each one five times, and report both the average success rate and the share of tasks that pass every run. Change one thing (a tool description, the model, the context strategy) and see whether the difference is larger than the noise between runs. Being able to say 'the change moved pass^5 from 0.48 to 0.61 on 20 tasks' is worth more in an interview than any framework on a CV.

Step 4: go deep on one production problem

Pick the half you are missing and go deep. Backend engineers: context engineering, evaluation and how model behaviour changes with prompts and versions. ML engineers: durable execution, sandboxing, idempotency and authorization. Then pick one hard problem and build something real around it: a coding agent with a verification loop, a support agent with approvals, a research agent with a cost ceiling.

Step 5: show the work

Publish the agent with its evaluation results and a short write-up of what broke and how you fixed it. Interviewers ask about exactly this in project deep dives, and a candidate who can show a trace of a failure and the change that fixed it stands out from one who shows a demo video. Prepare for the interview itself with the question bank, starting from the topics closest to the roles you are targeting.

Put this into practice

PRACTISE THIS

Practise this material in these question topics: