How to Become an AI Engineer: A Practical Roadmap

An AI engineer roadmap for software engineers and new grads: the skills to learn in order, four portfolio projects and what each proves, and how to get through the interview.

· 6 min read

On this page · 4 sections
  1. What you need before you start
  2. The skill stack, in order
  3. Portfolio projects worth building
  4. Then the interview

To become an AI engineer, learn the skills in four stages: understand LLMs intuitively, understand them technically, learn to build with them (APIs, retrieval, tools, agents), then learn to run them in production (evals, observability, cost, security). Build three or four small projects that each prove one stage, with a measured eval set in every one. Then prepare for the interview, which tests the same four stages. If you already write production software, you have the hardest part; the rest is a defined body of material.

An AI engineer builds products on top of foundation models. You will rarely train a model from scratch. If you are deciding between this and model training work, read AI engineer vs ML engineer first.

What you need before you start

  • One language well. Python is the usual choice for AI libraries and examples; TypeScript is common on product teams. You need to be comfortable with HTTP APIs, JSON, async code and writing tests.
  • Basic backend skills. A database, a queue, environment variables for secrets, deploying a small service.
  • No advanced math. You need intuition for vectors and similarity and a feel for probabilities. The calculus behind training is useful background and rarely what an AI engineer interview grades.

New grads: if your coursework was mostly theory, build one ordinary web service end to end before stage 3. Most AI engineering bugs are software bugs.

The skill stack, in order

Work through these four stages in order; each one makes the next faster.

Stage 1: Understand intuitively

Goal: explain to a colleague what an LLM is and where it fails, without jargon.

  • What is AI?: how AI, ML, deep learning and generative AI relate.
  • How LLMs work: next-token prediction, from prompt to streamed answer.
  • How models are trained: pretraining, then instruction and preference tuning.
  • Hallucinations and the limits of LLMs: fluent output is not the same as correct output, and why.
  • Closed-weight and open-weight models: the first architecture decision on most projects.

Stage 2: Understand technically

Goal: reason about cost, latency and failure from the mechanics.

  • Tokens and tokenization: the unit you pay for and the unit the context window is measured in.
  • Embeddings: text as vectors, and what similarity between them means. This is the foundation of retrieval.
  • Context windows: why information inside the window can still be missed.
  • Inference cost: why output tokens, long prompts and agent loops drive the bill.
  • Attention at the level of “queries, keys, values, and why it scales quadratically” is enough for most interviews.

Stage 3: Use and build

Goal: ship a working feature. This stage takes the longest and matters most.

  • Calling a model API: authentication, streaming, timeouts, retries, rate limits.
  • Prompting and structured outputs: schema-valid JSON can still hold wrong values, so validation continues after parsing.
  • Tool calling: the model requests a call; your code decides whether to run it.
  • Chunking, semantic search, RAG and evaluating retrieval.
  • Building an agent loop and MCP. Learn when a fixed workflow beats an agent, since that judgment comes up in design reviews and interviews.

Stage 4: Take AI to production

Goal: keep a feature correct, affordable and safe after launch.

  • Evaluating AI systems and testing AI systems: eval datasets, graders, and release gates agreed before results come in.
  • AI observability: traces with one span per model call, retrieval and tool.
  • Latency, caching and the economics of AI systems.
  • Securing agents and privacy: prompt injection, least privilege, and what never goes into a prompt or a log.

A realistic pace for a working engineer is one or two topics per evening, with projects on weekends. Expect a few months from stage 1 to a portfolio you can present, depending on your starting point.

Portfolio projects worth building

Pick three or four. Each should be small, use data you understand, and include an eval set you built by hand. A README that shows your eval numbers and one failure you fixed will carry more weight with an interviewer than a polished UI.

1. A RAG assistant over a document set you know. Your team’s docs, a framework’s documentation, or a public set of policies. Write 50 or more questions with the passages that answer them, measure recall@k at the k you pass to the prompt, then change one thing (chunk size, hybrid search, a reranker) and measure again. Make the assistant cite its passages and decline when the evidence is missing. Proves: chunking, embeddings, retrieval evaluation, grounded generation.

2. A structured extraction pipeline. Turn messy input (invoices, job posts, support emails) into a typed record. Enforce a schema, then add checks on the content: totals add up, dates exist, values fall in allowed ranges. Report how often each layer catches an error. Proves: prompting, structured outputs, validation, testing a probabilistic component.

3. A small agent with real tools and limits. Three or four tools, one of which changes something (creates a ticket, writes a file). Add a step cap, duplicate-call detection, human approval before the side-effecting tool, and a trace for every run. Plant an injected instruction in a tool result and show that the agent cannot act on it beyond its permissions. Proves: tool calling, the agent loop, permissions, security thinking.

4. A production pass on one of the above. Run the eval set in CI so a prompt change that drops the score fails the build. Log cost and latency per request, add caching where it is safe, and write down your release rule. Proves: evaluation as a gate, observability, cost and latency awareness. This is the project that separates candidates who have shipped from those who have prototyped.

Keep each project in its own repository with a short design note: the problem, the architecture, the eval set, results, and what you would change. That note becomes your interview story.

Then the interview

The interview tests the four stages: conceptual questions on LLMs, building questions on prompting, retrieval, tools and agents, a system design round, and a deep-dive on one of your projects. Coding and behavioral rounds usually stay in the loop too.

When you have an interview date, follow the two-week preparation plan. It maps each day to a subject and an interview page, and covers how to present the projects above. Start with the free 50 LLM interview questions to see which stage needs the most work, then use the AI engineer, RAG and agentic AI question pages.

Back to Blog

Related Posts

View All Posts »