AI engineer is one of the fastest-growing roles in tech, and it still has no agreed-upon curriculum. In practice, an AI engineer interview checks two things: that you understand how large language models (LLMs) work well enough to make engineering decisions, and that you can build a system around them that works in production: RAG, agents, evals, cost and security. It's an engineering role, not a research one. You don't need to train models from scratch; you need to use them well.
TL;DR
- Software fundamentals and Python
- How LLMs work
- Prompt and context engineering
- Embeddings, vector search and RAG
- Agents and tool calling
- Evals and quality
- Production: cost, latency and security
- Fine-tuning: when it's worth it
Step 1: Software fundamentals and Python
An AI engineer is a software engineer first. You need clean Python, working with APIs, error handling and retries, and an understanding of async. Most interviews include a regular coding question too.
Step 2: How LLMs work
You don't need to derive the math, but you do need to understand what a token is and why the context window is limited, how self-attention works intuitively, and what temperature and top-p do.
What interviews test: "why doesn't the model know what happened yesterday?", "why does the same question return different answers?", and how reasoning models differ from regular ones.
Where to practice: how LLMs work, tokenization and the context window, sampling parameters, self-attention.
Step 3: Prompt and context engineering
How to write prompts that return consistent results, few-shot examples, structured output, and how to manage memory and context in a long conversation. Also why models hallucinate and how to reduce it.
Where to practice: prompt engineering, context engineering and memory, hallucinations.
Step 4: Embeddings, vector search and RAG
The heart of most AI systems in companies: letting the model answer from the organization's own documents. Understand embeddings and cosine similarity, vector databases, chunking strategies, and hybrid search with reranking.
What interviews test: "design a chatbot that answers questions from our docs", how to choose a chunk size, and what to do when retrieval returns irrelevant documents.
Where to practice: embeddings and similarity, vector databases, the RAG pipeline, chunking, hybrid search and reranking, then build the RAG challenge yourself.
Step 5: Agents and tool calling
An agent is a loop: the model picks an action, your code runs it, and the result goes back to the model. Understand tool calling, when you need several agents, and what MCP is.
Where to practice: agents and tool calling, multi-agent systems and MCP, and the agent loop challenge.
Step 6: Evals and quality
The question that separates strong candidates: "how will you know your change made the system better?". Know automated evals, LLM-as-a-judge, test datasets and RAG metrics.
Where to practice: LLM evals.
Step 7: Production: cost, latency and security
Response caching, streaming, picking a model per task, retries and fallbacks, and security: prompt injection and guardrails.
Where to practice: cost and latency, guardrails and prompt injection, and the resilient client challenge.
Step 8: Fine-tuning, when it's worth it
Interviews almost always ask "prompting, RAG or fine-tuning?". A good answer starts from the cheapest approach that works and explains when fine-tuning (and LoRA) is actually worth the cost.
Where to practice: prompt, RAG or fine-tune, LoRA and PEFT.
How do you move into an AI engineer role?
The common path is from an existing development role (backend or full-stack). Your advantage is that you can build a real system. Build one project end to end: RAG over real documents, with evals that show it works, and you'll be able to discuss it in depth in interviews. That's worth more than any course.
For a week-by-week plan, see how to prepare for a tech interview.