AI

AI Engineer roadmap

Build useful products on top of existing AI models: prompts, your own data, agents, testing and deployment. No maths PhD needed.

  • About 5 to 7 months
  • 8 to 10 hours a week
  • 8 stages

Tick each stage as you finish it. Your progress stays on this device.

Start stage 1

Time needed

About 5 to 7 months

8 to 10 hours a week. A rough guide for someone who already writes some code. If you are new to programming, add 6 to 8 weeks at the start.

Before you start

  • You can write small programs in any language and are willing to learn Python
  • You are comfortable with the command line and with using Git
  • You can read documentation and debug your own errors

Not covered here

Training large models from scratch. That is the work of machine learning researchers and ML engineers. This path is about using models that already exist.

  1. Stage 14 to 6 weeks

    Strengthen your foundations

    Get fluent in the everyday tools that every later step relies on.

    Learn

    • Python: functions, classes, virtual environments, type hints
    • HTTP, REST and JSON, and how to call an API from code
    • Async code and reading errors and logs
    • SQL basics and how a database stores data
    • Git and pull requests

    Tools

    • Python 3
    • VS Code
    • Git and GitHub
    • curl or Postman
    • SQLite or PostgreSQL

    Build

    • A command-line tool that calls a public API and saves results to a database
    • A small script with tests that you can run with one command

    CheckpointYou can build and run a small Python project on your own, with tests and a Git history.

  2. Stage 22 to 3 weeks

    Understand how language models behave

    Know enough about models to predict what they will do and why they fail.

    Learn

    • Tokens, context windows and why long inputs cost more
    • Embeddings: turning text into numbers that capture meaning
    • Sampling settings such as temperature
    • Prompting, retrieval and fine-tuning: what each one changes
    • Hosted models versus open models you run yourself
    • Cost, speed and quality trade-offs between model sizes

    Tools

    • A model provider's API console
    • A model playground
    • Hugging Face model hub

    Build

    • A one-page comparison of three models on the same ten questions, with cost and speed
    • A notebook that shows how the same prompt changes with different settings

    CheckpointYou can explain, in plain words, why a model gave a wrong answer and what you would change first.

  3. Stage 33 weeks

    Get reliable answers from a model

    Move from chatting with a model to calling it from code and getting predictable output.

    Learn

    • Writing clear instructions, examples and system prompts
    • Structured output: asking for JSON that matches a schema
    • Tool calling: letting the model ask your code to do something
    • Streaming responses and handling failures, timeouts and retries
    • Keeping prompts in files and tracking changes to them
    • Setting spending limits and caching repeated calls

    Tools

    • A provider SDK for Python
    • Pydantic or JSON Schema
    • A simple web framework such as FastAPI

    Build

    • A tool that turns messy text such as emails or invoices into clean structured data
    • A small chat API with streaming and a spending limit

    CheckpointYour program returns valid structured output on 95 out of 100 test inputs, and fails safely on the rest.

  4. Stage 44 weeks

    Let the model use your own data

    Answer questions from documents the model has never seen, and show where each answer came from.

    Learn

    • Splitting documents into useful chunks
    • Creating and storing embeddings
    • Vector search, keyword search and combining the two
    • Re-ranking results and adding citations to answers
    • Handling tables, PDFs and out-of-date documents
    • Knowing when a plain search is better than a model

    Tools

    • A vector store such as pgvector, Qdrant or Chroma
    • An embedding model
    • A PDF and text parser

    Build

    • A question-and-answer app over your college notes or company documents, with source links
    • A test set of 30 real questions and the correct source for each

    CheckpointYour app finds the right source for most of your test questions, and says so when it cannot find one.

  5. Stage 54 weeks

    Build agents that take actions

    Let a model plan a few steps, use tools and stop when the job is done.

    Learn

    • The tool loop: think, call a tool, read the result, repeat
    • Workflows with fixed steps versus agents that decide their own steps
    • Short-term and long-term memory
    • Connecting tools through the Model Context Protocol (MCP)
    • Limits and guardrails: step caps, permissions and asking a human first
    • Handling a tool that fails or returns something unexpected

    Tools

    • MCP servers
    • An agent library such as LangGraph, or your own loop in plain Python
    • Your provider's tool-use features

    Build

    • An assistant that books a meeting, drafts the email and asks you before sending
    • A research helper that searches, reads pages and writes a short cited summary

    CheckpointYour agent finishes a task in a few steps, stays inside its limits, and asks for help instead of guessing.

  6. Stage 63 weeks

    Test it and measure quality

    Replace “it seems fine” with numbers you can track after every change.

    Learn

    • Building a test set of real examples with expected results
    • Automatic checks, human review and using a model as a judge (and its limits)
    • Regression tests so a new prompt does not break old behaviour
    • Tracing every call: inputs, outputs, cost and time
    • Reading logs to find the step that went wrong
    • When fine-tuning is worth the effort and when it is not

    Tools

    • An evaluation or tracing tool such as Langfuse, LangSmith or Arize Phoenix
    • pytest
    • A spreadsheet for human review

    Build

    • An automated test run that scores your question-and-answer app on every code change
    • A dashboard of cost, speed and failure rate for your agent

    CheckpointYou can show, with numbers, that version 2 of your app is better than version 1.

  7. Stage 73 weeks

    Ship it and keep it safe

    Put your app online, keep it affordable, and protect your users and your data.

    Learn

    • Packaging with Docker and deploying with CI/CD
    • Queues, rate limits, caching and fallbacks to a second model
    • Monitoring cost, speed and errors in production
    • Prompt injection and how untrusted text can steer a model
    • Protecting personal data and following India's DPDP Act
    • Secrets, keys and least-privilege access for tools

    Tools

    • Docker
    • GitHub Actions
    • A cloud platform such as Cloudflare, AWS or Azure
    • Secret managers

    Build

    • Deploy one of your apps behind a login with a daily spending limit
    • A short security review that tries to trick your own app

    CheckpointA stranger can use your app safely, and you get an alert before it costs more than planned.

  8. Stage 8Ongoing

    Specialise and get hired

    Pick one direction, show real work, and prepare for interviews.

    Learn

    • Choose a focus: documents, voice, images, coding tools or an industry you know
    • Working with images, audio and mixed inputs
    • Small models that run on a laptop or phone
    • Designing an AI feature end to end for an interview
    • Writing about what you built and what you learned

    Tools

    • GitHub portfolio
    • A short demo video
    • Open-source projects you can contribute to

    Build

    • Two finished projects with a README, a live link, test results and a cost note
    • A one-page write-up on a mistake you made and how you fixed it

    CheckpointYou can walk through one project, from the problem to the numbers, in ten minutes.

Afterwards

Roles this prepares you for

All career paths

Tools and model names change quickly. Treat the names here as examples, and check each tool's own documentation for what is current.