AI engineer Roadmap 2026
The route from software engineering foundations through production AI systems. You learn Python, APIs, LLM fundamentals, prompt engineering, RAG, tool calling, agents, evaluation and production deployment.
Pipeline Execution DAG
Click any stage node to jump directly to its technical requirements and production gate.
Target: March 20, 2027 (16 wks)
Stage by stage
0/22 chapters read · 0%1Foundation2 weeks0/2 readData, databases, containers and configuration: the plumbing every AI system sits on.
You will be able to
- Model data in SQL and choose between relational, document and vector storage
- Containerise a service and run it with its dependencies in one command
- Keep API keys and configuration out of code with environment variables and a secrets store
- Use Git branches and pull requests for every change
Ready to move on when: You can clone a repository, run a Python service and its database with one command, and nothing secret is committed.
2Python and APIs1 week0/1 readBuild robust backend services that call, and are called by, other systems.
You will be able to
- Write async Python that calls HTTP APIs with timeouts
- Validate inputs and outputs with typed models
- Retry transient failures with exponential backoff, and fail fast on the rest
- Test an API with unit and integration tests
Ready to move on when: You have a typed HTTP API with input validation, timeouts, retries and tests that run in CI.
3LLM fundamentals1 week0/2 readTokens, context windows, sampling, pricing and choosing between hosted and open models.
You will be able to
- Explain tokens, context windows and why outputs vary between runs
- Estimate the cost and latency of a request before you send it
- Choose between a hosted API and an open model you run yourself
Ready to move on when: You can estimate a feature's monthly model cost and explain why the same prompt gives different answers.
4Prompt engineering1 week0/2 readInstructions, examples, structured outputs and streaming.
You will be able to
- Write prompts with clear instructions, examples and output formats
- Get schema-valid JSON every time, and handle the times you do not
- Stream responses to users without breaking partial structured output
- Version prompts and test them against a fixed set of inputs
Ready to move on when: Your prompts are versioned, return schema-valid output on a 20-input test set, and stream to the UI.
5RAG3 weeks0/5 readIngestion, chunking, embeddings, retrieval and reranking, with citations.
You will be able to
- Decide when RAG is the right tool, and when it is not
- Ingest messy documents and chunk them so answers stay intact
- Embed, index and retrieve with vector and hybrid search
- Rerank results and answer with citations to the source
- Measure retrieval recall separately from answer quality
Ready to move on when: Your assistant answers with citations, and you can show retrieval recall on a labelled question set before and after reranking.
6Tool calling1 week0/1 readLet models call your functions safely.
You will be able to
- Define tools with precise schemas and descriptions
- Validate tool arguments before running anything
- Return tool errors the model can recover from
Full series: Building AI agentsPractise
Ready to move on when: The model calls your tools with validated arguments, and recovers sensibly when a tool fails or times out.
7Agents2 weeks0/2 readAgent loops, memory, planning and knowing when to stop.
You will be able to
- Build a reason-act-observe loop from scratch, without a framework
- Give agents short-term and long-term memory
- Set stopping conditions, step budgets and cost limits
- Trace every step an agent takes
Full series: Building AI agentsPractise
Ready to move on when: Your agent completes a multi-step task within a step budget, stops cleanly when stuck, and leaves a trace of every action.
8Evaluation2 weeks0/3 readMeasure quality before and after every change.
You will be able to
- Build a labelled evaluation set from real or realistic inputs
- Score outputs with code checks, and with LLM judges you have calibrated
- Run evaluations in CI and catch regressions before release
- Monitor quality in production
Full series: LLM evaluationPractise
Ready to move on when: Changing the model or a prompt runs your evaluation suite automatically and blocks the merge if quality drops.
9Production AI2 weeks0/4 readObservability, cost, reliability, security and context engineering.
You will be able to
- Trace requests end to end, with cost, latency and quality per request
- Cut costs with caching, routing and smaller models where they are good enough
- Survive provider outages with timeouts, fallbacks and circuit breakers
- Defend against prompt injection and data leaks
Ready to move on when: You can show cost per request, latency percentiles and error rates for your app, with a fallback model and prompt-injection defences in place.
10Capstone1 weekShip a production AI system end to end, and prove it works.
You will be able to
- Scope a project small enough to finish and big enough to matter
- Ship with evaluations, observability and a written trade-off log
- Present results with evidence, not demos alone
Practise
Ready to move on when: Your capstone meets the brief below, and someone else can run it from the README.
Capstone: Ship a cited support assistant
Build an assistant over a real documentation set, such as an open-source project's docs, that answers questions with citations and can open a support ticket through a tool. Deploy it, measure it and write up what broke.
What to deliver
- A repository with a README that runs the system in one command, and an architecture diagram
- An evaluation set of at least 50 questions with expected sources, and the scores
- A dashboard or report of cost per request, latency percentiles and error rate
- A 3-minute demo video, including a question it should refuse
- A short write-up of three failure modes you found and how you fixed them
What strong work looks like
- Correctness
- Answers cite the right source; evaluation scores are reported honestly, failures included.
- Reliability
- Timeouts, retries and a fallback model are in place, and the tool call handles errors.
- Cost and observability
- Every request is traced, and cost per answer is known and justified.
- Safety
- Tested against prompt injection in retrieved documents, with the result recorded.
- Communication
- A reviewer understands the design and the trade-offs from the README in five minutes.
Start from: RAG assistant (project) · RAG system (pattern)
What you'll be able to do
Series in this roadmap
Before you start the AI engineer roadmap
- You can write and run code in at least one language, ideally Python, and read other people's code.
- You have used Git and the command line.
- You have called an HTTP API, or you are willing to learn in stage 2.
- You can set aside the time shown on this page. The estimate assumes 8 to 10 hours a week.
Already building agents? Jump to the agentic AI engineer roadmap, or read the agentic AI engineering learning path.
What to build and what to avoid at each stage
The tracker above says what you will learn and when a stage is done. This guide adds what to build to prove each stage, and the mistake we see most often.
1. Foundation
Build: A small service and its database that start with one command, with configuration and secrets read from the environment.
Common mistake: Committing a key to Git "just for now". Rotate it if it ever happens, and add a secret scanner to your pull requests.
2. Python and APIs
Build: A typed HTTP API with input validation, request timeouts, retries with backoff and a test suite that runs in CI.
Common mistake: Calling external APIs with no timeout, so one slow dependency stalls every request.
3. LLM fundamentals
Build: A script that sends the same prompt several times, records tokens, latency and cost, and compares two models.
Common mistake: Assuming the same prompt gives the same answer. Outputs vary between runs, so test with repetition.
4. Prompt engineering
Build: A versioned prompt that returns schema-valid JSON on a twenty-input test set and streams to a simple UI.
Common mistake: Editing a prompt in place with no test set, so you cannot tell whether a change helped or hurt.
5. RAG
Build: A question-answering assistant over your own documents, with citations and a labelled question set for retrieval recall.
Common mistake: Judging the system on final answers only. Measure retrieval separately, because good retrieval can still produce bad answers.
6. Tool calling
Build: Two or three tools with strict schemas, argument validation and clear error messages the model can act on.
Common mistake: Trusting arguments because the model wrote them. Validate every call before it runs.
7. Agents
Build: An agent loop with a step budget, a stopping rule and a trace of every action it takes.
Common mistake: No stopping condition, so a confused agent keeps looping until the budget is gone.
8. Evaluation
Build: An evaluation suite of about twenty realistic tasks that runs automatically when a prompt or model changes.
Common mistake: Running each test once. Run repeated trials, since results vary.
9. Production AI
Build: Dashboards for cost per request, latency percentiles and error rate, plus a fallback model and prompt-injection defences.
Common mistake: Shipping with no cost or latency visibility, then finding out from the invoice.
10. Capstone
Build: One end-to-end project that meets the brief below and that someone else can run from the README.
Common mistake: Polishing the interface while the evaluation set stays thin. Reviewers read the evaluation first.
Readiness checklist
If you can honestly tick most of these, you are ready to apply for junior AI engineering roles or move to a specialised path.
- I have shipped or can demonstrate a service that calls a model and handles failures.
- I can explain tokens, context windows and why outputs vary between runs.
- I have built retrieval over my own documents and measured its recall.
- I have written tools with validated arguments and let a model call them.
- I have an evaluation suite that runs automatically when I change a prompt or model.
- I can show cost per request, latency and error rate for something I built.
- I know the main prompt-injection risks and how I defended against them.
What has changed in 2026 (as of 31 October 2026)
- Tool use is standard in every major model API, and MCP gives tools a shared packaging format. Start with how function calling works, then see what MCP adds and its security checklist.
- Always-on agents raise the bar for identity, approvals and audit trails. See always-on agents compared.
- Context engineering is replacing single-prompt tuning for production systems. Read context engineering vs prompt engineering.
Model names and prices move quickly, so check the model catalogue before you commit to one.
AI engineer roadmap FAQ
How long does it take to become a AI engineer?
About 16 weeks of focused study on this roadmap, which has 10 stages. Software developers entering AI engineering who want a structured path to shipping production AI systems.
What does the AI engineer roadmap cover?
In order: Foundation, Python and APIs, LLM fundamentals, Prompt engineering, RAG, Tool calling, Agents, Evaluation, Production AI, Capstone.
What will I be able to do after the AI engineer roadmap?
Build and deploy production LLM applications. Implement RAG systems with retrieval, reranking and evaluation. Design and ship AI agents with tool calling. Apply production patterns: observability, caching, fallbacks, guardrails. Diagnose and debug failing AI systems.
How should I split my time on the AI engineer roadmap?
At 8 to 10 hours a week: Foundation 2 weeks, Python and APIs 1 week, LLM fundamentals 1 week, Prompt engineering 1 week, RAG 3 weeks, Tool calling 1 week, Agents 2 weeks, Evaluation 2 weeks, Production AI 2 weeks, Capstone 1 week. Move on when you meet each stage's "ready to move on" checkpoint, not when the time is up.
What should I build to prove I am ready for AI engineer roles?
Ship a cited support assistant: Build an assistant over a real documentation set, such as an open-source project's docs, that answers questions with citations and can open a support ticket through a tool. Deploy it, measure it and write up what broke. Deliver 5 things, including a repository with a README that runs the system in one command, and an architecture diagram and an evaluation set of at least 50 questions with expected sources, and the scores.
Is the AI engineer roadmap free?
Yes. Every roadmap, series and progress tracker on Learn AI Engineering is free, and progress is saved in your browser without an account.