AI Roadmap for Engineers: What to Learn in 2026, in Which Order, and Why the Fundamentals Still Come First
Quick answer
An AI roadmap for engineers has two tracks. AI for your work: using AI assistants and agents to write code, pipelines and infrastructure faster, while you review what they produce. Your work for AI: building, deploying and running AI systems in production, which is where DevOps skills like Linux, cloud, Docker, Kubernetes and CI/CD are needed most. Learn in this order: engineering foundations, how AI and LLMs work, using AI safely at work, building with LLM APIs and RAG, AI agents and MCP, then MLOps and AI security.
Key takeaways
- There are two AI skill tracks for engineers: using AI in your work (AI for DevOps) and running AI systems in production (DevOps for AI). You need a bit of both.
- AI systems are still software that runs on servers, containers, Kubernetes and the cloud, so the DevOps and cloud foundations are the first stage of the roadmap, not an optional extra.
- Learn how AI works before you use it heavily: the difference between AI, machine learning and LLMs, tokens, context windows and embeddings.
- Using AI at work means reviewing its output like a pull request from a new colleague: more developers distrust the accuracy of AI tools (46%) than trust it (33%), according to the Stack Overflow Developer Survey 2025.
- The core building blocks of AI applications are LLM APIs, retrieval-augmented generation (RAG), AI agents with tools, and MCP to connect agents to systems.
- MLOps is how models get to production: containerized, versioned, deployed through CI/CD and monitored for data drift.
- AI adds new security risks such as prompt injection and over-privileged agents, so AI security and governance close the roadmap.
Everyone is asking the same two questions right now: what should I learn about AI, and will AI take my job as an engineer? In this guide I answer the first one with a concrete roadmap: the skills, in the order that makes sense, with a small project for each stage. And I answer the second one with what I heard from engineers and industry experts I interviewed, in the video above.
This roadmap is written for engineers: software developers, DevOps and cloud engineers, system administrators, and people who are switching into IT. It is not a roadmap for becoming a machine learning researcher who trains new models. For most engineers the real opportunity is somewhere else: building on top of AI models, and running AI systems in production.
What does an AI roadmap for engineers include?
When people say “learn AI”, they mean two very different things. In my video I call them AI for DevOps and DevOps for AI:
| Track | What it means | Examples |
|---|---|---|
| AI for your work (AI for DevOps) | Using AI assistants and agents to do your engineering work faster | Generating a Dockerfile or Terraform module, explaining an error, drafting a CI pipeline, summarizing logs during an incident |
| Your work for AI (DevOps for AI) | Building, deploying and operating systems that use AI | Deploying a model or LLM application on Kubernetes, building a RAG pipeline, running MCP servers, monitoring model quality and cost |
Most engineers need a bit of both. The first track makes you more productive in the job you have. The second one is where new work is being created, because every AI feature a company ships has to run somewhere.
The roadmap has seven stages:
- Engineering foundationsLinux, networking, Git, Python, a cloud platform, Docker, Kubernetes, CI/CD, Infrastructure as Code
- How AI actually worksAI vs machine learning vs deep learning, LLMs, tokens, context windows, embeddings
- Using AI in your daily workAI assistants and coding agents, prompting with context, reviewing AI output, what never to paste into a prompt
- Building with LLM APIsCalling a model API, structured output, retrieval-augmented generation (RAG), vector databases, evaluation
- AI agents and MCPTool calling, agent loops, the Model Context Protocol, permissions and guardrails
- Running AI in production (MLOps)Containerized models, CI/CD for models, model registries, serving, GPUs on Kubernetes, monitoring and data drift
- AI security and governancePrompt injection, data leakage, least privilege for agents, supply chain of models, cost control
Let’s go through them one by one.
Stage 1: Why do the engineering foundations come first?
Because an AI application is still an application. A chatbot, a RAG system or an AI agent is code that runs in containers, on servers or Kubernetes clusters, in a cloud account, behind a network, deployed by a pipeline. The model itself is often just one API call or one container in that system. When it breaks, gets slow or gets expensive, the problem is usually in the parts around the model.
This is also why the people with DevOps and cloud skills are in a good position: the hard part of AI in a company is often not the model, but getting it to production reliably and securely.
What to learn, if you don’t have it yet:
- Linux and the command line, because almost all AI infrastructure runs on Linux. Start with my Linux commands for beginners guide.
- Networking basics: IP addresses, ports, DNS, HTTP, load balancers. See networking concepts explained.
- Git and a simple branching workflow.
- Python, the main language of the AI ecosystem: scripts, virtual environments, calling HTTP APIs, reading JSON.
- One cloud platform (AWS, Azure or Google Cloud): compute, storage, IAM, networking.
- Docker, to package an application or a model with everything it needs. Start with what Docker is.
- Kubernetes, where many AI workloads run in production. My Kubernetes Services guide and Helm charts guide are good next steps.
- CI/CD and Infrastructure as Code, so builds, tests and deployments are automated, for example with GitHub Actions and Terraform.
Project for this stage: containerize a small Python web API, push the image to a registry and deploy it with a CI/CD pipeline. You will reuse exactly this setup for the AI application in stage 4.
Free download
Need the foundations in the right order?
The DevOps Roadmap lays out Linux, Git, CI/CD, Docker, Kubernetes, cloud and Infrastructure as Code step by step, so you know what to learn first and which projects to build.
Stage 2: How does AI work, in terms an engineer needs?
You don’t need to be able to train a neural network, but you need a correct mental model of what these systems do, otherwise you will either trust them too much or not use them at all.
| Term | What it means for you as an engineer |
|---|---|
| Artificial intelligence (AI) | The broad field of making computers do tasks that normally need human intelligence |
| Machine learning (ML) | Instead of writing rules by hand, a model learns patterns from data |
| Deep learning | Machine learning with large neural networks with many layers; behind image recognition, speech and LLMs |
| Large language model (LLM) | A deep learning model trained on huge amounts of text that predicts the next piece of text; the engine behind ChatGPT, Claude, Gemini and similar tools |
| Token | The unit of text a model reads and writes (roughly a word or part of a word). APIs are priced and limited per token |
| Context window | How much text (prompt, documents, conversation) the model can take into account in one request |
| Embedding | A list of numbers that represents the meaning of a text, so you can search by meaning instead of by exact words |
| Hallucination | A confident but wrong answer. It happens because the model generates likely text, not verified facts |
If these concepts are new to you, I explain AI, machine learning, neural networks and deep learning from the ground up in my video The Big Picture: AI, Machine Learning, and Neural Networks.
Project for this stage: call an LLM API from a Python script, print the number of input and output tokens for a few prompts, and calculate what 10,000 such requests would cost at the provider’s published prices. Cost awareness is a big part of running AI in production.
Stage 3: How do you use AI in your daily engineering work?
This is the “AI for DevOps” track, and it is the fastest win. AI tools are already everyday tools for developers. In the Stack Overflow Developer Survey 2025, 84% of respondents said they are using or planning to use AI tools in their development process, and 51% of professional developers use them daily. Google’s 2025 DORA report found AI adoption among software development professionals at 90%, and over 80% of respondents said AI has enhanced their productivity.
But the same surveys show the catch: in the Stack Overflow survey, more developers actively distrust the accuracy of AI tools (46%) than trust it (33%), and in the DORA survey only 24% of respondents reported a great deal or a lot of trust in AI. The gap between AI hype and what AI really does for DevOps today is also what I discussed with Bret Fisher: AI is useful, but you have to be able to judge its output.
Good habits to build:
- Give context, not just a question. Paste the error message, the relevant config file and what you already tried. Say which versions you use.
- Treat AI output like a pull request from a new colleague. Read it, run it in a safe environment, test it. Don’t apply generated Terraform, Kubernetes manifests or database commands to production without review.
- Ask it to explain, not only to generate. “Why does this pipeline fail?” teaches you more than “fix this pipeline”.
- Never paste secrets, credentials or customer data into a prompt unless your company has approved that tool for that data.
- Know where it’s weak: new tool versions after its training data, your company’s internal systems, and anything it can’t run or check itself.
Typical DevOps tasks where AI helps a lot: writing a first draft of a Dockerfile, a CI pipeline or a Helm chart; translating a Bash script to Python; explaining an unfamiliar Kubernetes error; writing regular expressions and queries; summarizing long logs.
Project for this stage: take a task you do regularly at work, like writing a deployment pipeline, and do it with an AI assistant. Write down what it got right, what you had to fix, and how much time it saved.
Stage 4: How do you build applications with LLM APIs and RAG?
Now you switch to “DevOps for AI”: building something that uses a model. The most common pattern in companies today is retrieval-augmented generation (RAG): instead of hoping the model knows your company’s documentation, you search your own data first and give the relevant parts to the model together with the question.
A basic RAG application has these parts:
- Ingestion: split your documents into chunks and create an embedding for each chunk.
- Storage: store the embeddings in a vector database (or a database with vector search, like PostgreSQL with pgvector).
- Retrieval: when a user asks a question, create an embedding of the question and find the most similar chunks.
- Generation: send the question plus the retrieved chunks to the LLM and ask it to answer only from that context.
- Evaluation: check answers against a set of test questions, so you notice when a change makes the system worse.
Things to learn here: calling model APIs from code, structured (JSON) output, streaming responses, retries and rate limits, a framework like LangChain or LlamaIndex (or no framework at all), vector search, and simple evaluation. You can also run open models locally with tools like Ollama to experiment without paying per token.
Project for this stage: build a “chat with our runbooks” service: a small RAG API over a folder of Markdown documentation, packaged as a Docker image and deployed with the pipeline from stage 1.
Stage 5: What are AI agents and MCP, and why should engineers care?
An AI agent is an LLM that can do more than answer: it can decide to call tools, like running a command, querying an API, reading a file or opening a pull request, look at the result, and continue until the task is done. Coding agents that edit a repository and run the tests are one example; agents that investigate an alert by reading logs and metrics are another.
To connect agents to tools and data in a standard way, the industry is adopting the Model Context Protocol (MCP). An MCP server exposes tools and data (for example your ticket system, your cloud account or a database) in a format that any MCP-compatible AI application can discover and use. I explain what MCP is, how it differs from a normal API and what it does not do in my video MCP Explained Simply.
For engineers, agents raise the questions DevOps people already know well:
- Permissions: which tools can the agent call, with which credentials? Give it the least privilege it needs, and separate read from write actions.
- Approvals: which actions need a human to confirm, for example anything that changes production?
- Observability: can you see every tool call the agent made and why?
- Cost and limits: an agent loop can make many model calls for one task.
Project for this stage: write a small MCP server that exposes two read-only tools, for example “list the pods in a namespace” and “show the last 50 log lines of a pod”, connect it to an AI assistant, and let it help you troubleshoot a broken deployment on a local Kubernetes cluster.
Stage 6: How do AI models get to production (MLOps)?
MLOps applies DevOps practices to machine learning: automating how models are packaged, tested, deployed and monitored, so they don’t stay stuck in a data scientist’s notebook. Machine learning has extra problems that normal software doesn’t have: the model depends on data, the data changes over time (data drift), and a model can get worse without any code change.
The core MLOps skills:
- Packaging models in containers with their dependencies.
- CI/CD for models: pipelines that retrain, test and deploy models, not just code.
- Experiment tracking and model registry, for example with MLflow, so you know which model version runs where and how it was created.
- Model serving: running models behind an API, including LLM serving on GPUs. Kubernetes is a common platform for this.
- Monitoring: not only CPU and latency with tools like Prometheus and Grafana, but also prediction quality, data drift and cost per request.
I walk through all of this with a real fraud-detection example in my video MLOps Explained.
Project for this stage: deploy the RAG service or a small open model to Kubernetes with Helm, add Prometheus metrics for request latency, token usage and errors, and build a Grafana dashboard for it.
Free download
Want the MLOps part as a step-by-step plan?
The MLOps Roadmap shows what to learn to take machine learning models to production, from the basics to MLOps tools and workflows, so you can follow it at your own pace.
Stage 7: What new security risks does AI bring?
AI systems add new ways for things to go wrong, on top of all the usual ones. The OWASP Top 10 for LLM Applications is a good list to start from. The ones engineers deal with most:
- Prompt injection: text hidden in a web page, document or ticket tells the model to do something else, for example to leak data or call a tool. Never let content the model reads decide which actions it is allowed to take.
- Sensitive data leakage: secrets or customer data ending up in prompts, logs or model outputs.
- Excessive agency: an agent with more permissions than its task needs. Apply least privilege, the same way you do for service accounts.
- Supply chain: models, datasets and AI libraries you download are dependencies, and should be scanned and pinned like any other.
- Cost and abuse: without rate limits and budgets, one bug or one attacker can create a very large bill.
Most of the protections are classic DevSecOps practices: secrets management, least-privilege IAM, network policies, image scanning, audit logs and policy as code, applied to a new kind of workload. If you want to go deeper on that side, my DevSecOps Bootcamp covers these practices hands-on.
Will AI replace engineers, and what should you do about it?
This was the question behind the video at the top of this page. Instead of only giving my opinion, I talked to engineers who switched into DevOps recently and to industry experts, including Bret Fisher and Kelsey Hightower, whose full interviews are on my channel.
Look at the history of our field: every wave of automation, from manually configured servers to scripts, to Infrastructure as Code, to cloud and Kubernetes, removed repetitive tasks and made individual engineers more powerful. In the video, the engineers and experts share which skills made them future-proof and how to position yourself so AI becomes a tool you use, not a threat to your job.
So the practical answer is the roadmap above: make your fundamentals strong, use AI every day so you know what it’s good and bad at, and learn how AI systems are built and run, because that is new work that needs engineers.
Which AI-related role fits you?
| Role | What you do | Closest starting point | Key skills |
|---|---|---|---|
| DevOps or cloud engineer using AI | Same job, faster, with AI assistants and agents | DevOps, cloud, sysadmin | Stages 1 to 3, plus 5 for automation |
| AI engineer | Build applications on top of models: RAG, agents, chat features | Software developer | Stages 1 to 5 |
| MLOps / ML platform engineer | Build the platform that takes models to production and runs them | DevOps, platform or cloud engineer | Stages 1, 2, 6 and 7 |
| Machine learning engineer | Train, tune and evaluate models | Data science, software with strong math | Math and ML theory, plus stage 6 |
If you are a DevOps or cloud engineer, the MLOps and platform path is the most natural next step, because it builds directly on what you already do. If you are new to IT, don’t start with AI frameworks: start with the IT and DevOps foundations, because every one of these roles needs them. My IT Fundamentals Roadmap and DevOps Roadmap show you where to begin.
Frequently asked questions
What is the best AI roadmap for software engineers?
Start from what you already know and add AI in layers: first make sure your engineering foundations are solid (Git, Linux, Python, a cloud, Docker, CI/CD), then learn how LLMs work, use AI assistants in your daily work, build a small application on an LLM API with retrieval (RAG), add an agent with tools and MCP, and finally learn how to deploy and monitor it in production (MLOps). Build one small project at every stage instead of only watching courses.
Do I need math or a machine learning degree to work with AI as an engineer?
Not for most engineering roles around AI. Training new models from scratch needs statistics, linear algebra and machine learning theory. Building applications on top of existing models, connecting them to data and tools, and deploying and operating them in production mainly needs software engineering, cloud and DevOps skills, plus a solid understanding of how the models behave.
Will AI replace DevOps engineers?
AI already automates parts of the work, like writing pipeline YAML, Terraform code or first drafts of scripts. But every AI system also has to be deployed, secured, scaled, monitored and paid for, which is DevOps and cloud work. In my video "AI may replace DevOps, but not for the reason you think" I asked engineers who recently switched into DevOps and industry experts about it. Every earlier wave of automation in our field made individual engineers more powerful, and the best position is to make AI a tool you use, built on strong fundamentals.
What is the difference between an AI engineer, an ML engineer and an MLOps engineer?
An AI engineer builds applications on top of AI models, for example chatbots, RAG systems and agents. A machine learning engineer trains, tunes and evaluates models. An MLOps engineer builds the platform and pipelines that take models to production and keep them running: containers, CI/CD, model registries, serving infrastructure and monitoring. MLOps is the closest of the three to DevOps.
Should a DevOps engineer learn AI or double down on DevOps fundamentals?
Both, in that order of priority. Companies still need engineers who really understand Kubernetes, cloud, networking and CI/CD, and those skills are exactly what running AI workloads requires. On top of that, learn to use AI assistants well in your daily work and understand how LLM applications, agents and MCP are built and deployed, so you can support the teams that build them.
How long does it take to learn AI as an engineer?
It depends on your starting point. If you already work as a software, DevOps or cloud engineer, you can learn to use AI tools well and build a first RAG or agent project within weeks of focused practice. Running AI systems reliably in production, with MLOps, GPUs, monitoring and security, takes longer and builds on solid DevOps foundations. If you are new to IT, start with the IT and DevOps foundations first.