AI Engineer Roadmap 2026: LLM Apps, RAG, Agents and Evals

How to become an AI engineer, step by step: LLM basics, prompting, RAG, agents and tool calling, evals, guardrails, LLMOps, cost and system design interviews.

Intermediate 3 min read · Updated

This AI engineer roadmap shows how to become an AI engineer from a system design point of view: how to build reliable products on top of large language models (LLMs) and other foundation models, and how to answer the LLM, RAG and AI agent system design questions that AI engineering interviews now ask. It goes from how LLMs work and how to choose one, through prompting and structured output, retrieval-augmented generation, agents and tool calling, evaluation, guardrails and prompt injection, serving, gateways, caching and cost, fine-tuning, and LLMOps, and ends with full worked answers to the most-asked generative AI design questions. Each step links to a free guide.

The step most candidates skip is evaluation. Saying how you'll measure quality before you design (a golden dataset, graders, a regression gate) is the clearest signal of an experienced AI engineer.

Builds on the core system design roadmap. Do that first, or skip the parts you already know; this one only covers what ai engineering interviews go deeper on.

Tick topics off as you read them
  1. Step 1The AI engineering design round

    How LLM system design rounds differ from backend and ML ones, and the framework to answer them.

    Practice:ChatGPTAI engineering · Advanced · Free

  2. Step 2How LLMs work

    Tokens, context windows, sampling and pricing, and how to pick a model for a job.

  3. Step 3Prompting and structured output

    Prompts as versioned code, and model output your services can trust.

  4. Step 6Evaluating LLM systems

    Golden datasets, graders and regression gates: the step most designs skip.

    Practice:LLM evaluation platformAI engineering · Intermediate

  5. Step 7Safety and security

    Guardrails, prompt injection and least-privilege tools.

  6. Step 9Adapting models

    When prompting and RAG aren't enough: fine-tuning, preference tuning and distillation.

    Practice:Distributed model training platformML · Advanced

  7. Step 10LLMOps in production

    Tracing, versioning, releases, feedback and incident response for AI features.

    Practice:ML model monitoring systemML · Intermediate

What an AI engineer does

An AI engineer builds applications on foundation models that someone else trained: assistants, search and question answering, agents that take actions, extraction pipelines, coding tools. It differs from an ML engineer, who trains task-specific models from labelled data (see the ML system design roadmap). The two overlap in evaluation, serving and monitoring.

ML engineerAI engineer
Starting pointData and labels; train a modelA pretrained model; adapt it with prompts, context and tools
Main leversFeatures, model architecture, training dataPrompts, retrieval, tool design, model choice, fine-tuning
EvaluationOffline metrics on labelled test setsGolden datasets, LLM-as-a-judge, human review, online feedback
Cost driverTraining compute, feature pipelinesTokens per request, GPU inference, agent loops
Typical failuresDrift, skew, feedback loopsHallucination, prompt injection, runaway agents, latency

The shape of an LLM application

tracesUserInput guardrailsstage 7Orchestrator / agentstages 3, 5Retrievalstage 4Toolsstage 5LLM gatewaystage 8Modelsstages 2, 9Output guardrailsstage 7Evals + LLMOpsstages 6, 10
The components this roadmap covers, in the order a request meets them. Guardrails wrap the model on both sides; evaluation and LLMOps watch the whole path.

The AI engineering design interview framework

StepQuestions to answerGuide
1. ClarifyUsers, task, quality bar, cost of a wrong answer, latency, volume, data sensitivityAI engineer interview
2. Define evals firstGolden set, graders, success and guardrail metricsLLM evaluation
3. Pick the approachPrompting, RAG, tools or agent, fine-tuning: the least complex that worksFine-tuning vs RAG
4. Design the contextRetrieval, chunking, memory, prompt assemblyRAG, agent memory
5. Orchestration and toolsWorkflow vs agent, tool contracts, approvals, stop conditionsAgents, tool calling and MCP
6. SafetyGuardrails, prompt injection, permissionsGuardrails, prompt injection
7. Serve and scaleModel routing, streaming, caching, capacity in tokens, cost per taskLLM serving, gateway, cost
8. OperateTracing, versioning, canaries, feedback, incidentsLLMOps

Core tools by category

CategoryCommon examplesGuide
Model APIsClaude, GPT, Gemini, Mistral and other hosted modelsChoosing an LLM
Open-weight models and servingLlama, Qwen, Mistral families; vLLM, TGI, TensorRT-LLMLLM serving
Vector searchpgvector, FAISS, dedicated vector databases, search engines with vectorsVector databases
Orchestration frameworksLangChain, LlamaIndex, provider agent SDKs, or plain codeAI agent architecture
Tool integrationFunction calling, Model Context Protocol (MCP) serversTool calling and MCP
Evaluation and tracingEval harnesses, LLM-as-a-judge, tracing platforms, OpenTelemetryLLM evaluation, LLMOps

Frameworks change monthly. Interviews test whether you understand what each layer does, so you can build it with any tool, or without one.

A six-week plan

WeekStagesPractise
11-3Learn the framework; estimate tokens and cost for a chat feature; write a versioned prompt with a JSON schema output and validation.
24Design a RAG system over company documents: chunking, hybrid search, reranking, citations, permissions. Then the RAG round.
35Design a customer support agent with three tools, approval for refunds, stop conditions and a human handoff.
46-7Build a golden set and grading plan for the support agent; list prompt injection paths and defences for it.
58-10Add a gateway with routing and fallbacks, caching and per-tenant budgets; plan tracing, canary releases and an incident runbook. Try the model serving round.
611Timed mocks from the GenAI question list, starting with design ChatGPT and the RAG chatbot.

Skills checklist

  • Explain tokens, context windows, sampling and how they drive cost and latency.
  • Choose between prompting, RAG, an agent and fine-tuning, and defend the choice.
  • Design a RAG pipeline end to end, including permissions, freshness and evaluation.
  • Design an agent with typed tools, budgets, stop conditions and human approval.
  • Build an eval set with code checks and calibrated LLM judges, and gate releases on it.
  • Defend against direct and indirect prompt injection with least privilege.
  • Estimate GPU or API cost per task and cut it with routing, caching and context trimming.
  • Trace, version and roll back prompts, models and retrieval configs.

Frequently asked questions

How do I become an AI engineer?

Learn how LLMs work and how to choose one, then prompting and structured output, retrieval-augmented generation, agents and tool calling, evaluation, guardrails and prompt injection, serving, caching and cost, fine-tuning, and LLMOps. Build small projects for each and practise designing full systems such as a RAG chatbot or a support agent.

What is the difference between an AI engineer and an ML engineer?

An ML engineer usually trains task-specific models from labelled data and runs them in production. An AI engineer builds applications on pretrained foundation models, adapting them with prompts, retrieved context, tools and sometimes fine-tuning. Both need evaluation, serving and monitoring skills.

What system design questions do AI engineers get asked?

The most common are designing a production RAG system over company documents, a customer support agent that uses tools, an LLM inference or batching system, ChatGPT, a coding assistant, and evaluation or guardrail systems for LLM applications.

Further reading