Interactive roadmap

    AI Engineer roadmap

    Learn to build real products on top of large language models: reliable, safe and affordable.

    Your progress0% · 0 of 14 topics
    Done Learning Skipped OptionalClick any topic to learn more and mark your progress.
    1. 1

      Foundations

      0 of 3 done

      The skills every AI engineer builds on.

      Take your time with the basics; solid programming and API skills make building complex AI features much easier later on.
    2. 2

      Working with LLMs

      0 of 4 done

      Get useful, predictable results from language models.

      Always test your prompts with varied inputs to see where they break before putting them into production code.
    3. 3

      Retrieval and agents

      0 of 3 done

      Connect models to your own data and tools.

      Keep your document chunks small and clean so the retrieval step finds the exact information needed.
    4. 4

      Shipping AI features

      0 of 4 done

      Make it safe, measurable and affordable.

      Always measure twice and ship once; automated evaluations save you from breaking things when updating prompts.

    Learn it all, with a tutor that never sleeps

    Every topic links to LevelUp lessons, practice exercises and the 24/7 AI Tutor. Your progress updates as you master lessons.

    Every topic explained

    Step 1: Foundations

    A language for calling APIs, handling data and building services.
    Read more

    Choosing Python or TypeScript gives you the programming foundation needed to build applications that talk to AI models. You will use your chosen language to write code that sends requests, processes text data, and connects different parts of your software together.

    For instance, you might write a script that reads customer feedback from a spreadsheet, sends each comment to an AI model for analysis, and saves the results into a database.

    Learning this well is essential because every AI feature you build ultimately relies on solid software engineering to handle errors, manage data, and run reliably in production.

    • Write clean scripts to handle data
    • Send and receive data via code
    • Handle errors when services fail
    • Connect user interfaces to backends
    The Python tutorial (official) · TypeScript Handbook
    HTTP requests, JSON, API keys and streaming responses.
    Read more

    APIs let your software talk to external services over the internet using standard HTTP requests. When working with AI, your code sends messages to a provider like OpenAI or Anthropic and receives text back in formats like JSON, often streaming the response word by word.

    Imagine ordering food through an app where your phone sends an order request to a restaurant kitchen and gets a status update back. That is how your code requests answers from an AI model using secure API keys.

    Understanding APIs matters because modern AI development relies entirely on calling cloud-hosted models rather than running massive neural networks on your own computer.

    • Send HTTP GET and POST requests
    • Parse JSON responses in your code
    • Keep API keys secret and secure
    • Handle streaming data chunks
    HTTP request methods (MDN)
    Training, evaluation and why models make mistakes.
    Read more

    Machine learning basics help you understand how models learn from data, how their performance is measured, and why they sometimes fail. Instead of following rigid rules, these systems spot statistical patterns in huge amounts of training text.

    Think of it like teaching a puppy to catch a ball by repeatedly showing it what success looks like, knowing it might still miss sometimes when distracted or tired. AI models work similarly, predicting the next likely word based on training, which explains why they make errors.

    Knowing these limitations helps you design better features and set realistic expectations for what your AI application can achieve.

    • Understand training and inference phases
    • Learn how models make statistical predictions
    • Recognise why models make mistakes
    • Appreciate the limits of probability
    Machine Learning Crash Course (Google)

    Step 2: Working with LLMs

    Tokens, context windows, temperature and why models hallucinate.
    Read more

    Large language models process text by breaking it down into chunks called tokens, working within a fixed context window of maximum memory. They use a setting called temperature to control how creative or random their output is, which can sometimes lead to confident falsehoods known as hallucinations.

    Imagine reading a book through a small letterbox where you only see a few words at a time and must guess the next sentence. If you miss key details, you might make something up that sounds plausible.

    Understanding these core concepts is vital for designing reliable prompts and managing memory limits effectively in your applications.

    • Tokens are chunks of words or characters
    • Context windows limit total input size
    • Temperature controls output randomness
    • Hallucinations are plausible-sounding errors
    Introduction to large language models (Google)
    Clear instructions, examples and structure for reliable answers.
    Read more

    Prompt engineering is the art of giving clear instructions, helpful examples, and structured formats so an AI model returns the exact answer you need. Well-crafted prompts guide the model step-by-step and reduce ambiguity.

    Think of it like writing a clear brief for a human assistant. If you ask vaguely for help with emails, you get a messy result. If you provide examples of good replies and clear rules, the output is ready to use.

    This matters because better prompts save you money, reduce errors, and make your AI features feel much smarter to your users.

    • Use clear and direct instructions
    • Provide few-shot examples for guidance
    • Ask the model to think step-by-step
    • Set clear formatting constraints
    What is prompt engineering? (Google Cloud)
    Getting JSON back that your code can rely on.
    Read more

    Structured output forces an AI model to return data in a strict format, such as JSON, rather than conversational paragraphs. This allows your application code to read the result reliably and perform further actions.

    Imagine ordering items from a menu where you fill out a strict form instead of shouting an order across a busy room. The kitchen can process the form instantly without misinterpretation.

    This is essential for building real products because your downstream code needs predictable data structures like keys and values to update databases or trigger emails.

    • Force JSON responses from models
    • Validate output against a schema
    • Handle parsing errors gracefully
    • Enable reliable downstream code logic
    Trading off quality, speed and cost, and falling back when a provider is down.
    Read more

    Choosing the right model involves balancing output quality, processing speed, and financial cost for your specific use case. You also need fallback logic so your app automatically switches to a backup provider if the main one goes offline.

    Think of choosing transport for a journey. You would not hire a luxury limousine for a short trip to the corner shop, nor would you walk across the country.

    Evaluating cost and reliability ensures your AI application stays profitable and keeps running smoothly even when cloud providers experience outages.

    • Balance quality, speed, and cost
    • Use smaller models for simple tasks
    • Implement automatic provider fallbacks
    • Monitor API uptime and status

    Step 3: Retrieval and agents

    Answering from your documents by finding relevant passages first.
    Read more

    Retrieval-augmented generation allows an AI model to answer questions using your private documents by searching for relevant passages first and including them in the prompt. This grounds the model in facts rather than relying solely on its training memory.

    Imagine an open-book exam where you look up relevant pages in a reference manual before writing your essay answers, ensuring you get the facts right.

    This technique is crucial for building secure assistants that know your company policies, customer data, or product manuals without needing expensive retraining.

    • Split documents into searchable chunks
    • Find relevant text using search queries
    • Include found text in model context
    • Ground answers in real source data
    Turning text into numbers so similar meanings can be found.
    Read more

    Embeddings convert words, sentences, or documents into long lists of numbers that capture their semantic meaning. Vector search then compares these numbers to find texts with similar meanings even if they do not share the exact same keywords.

    Think of plotting books on a huge map where adventure stories sit near each other in one neighbourhood and cookbooks sit in another, making it easy to find related titles.

    This technology is the engine behind modern search and retrieval systems, letting your app find relevant information across thousands of documents instantly.

    • Convert text into numeric vectors
    • Measure semantic similarity in space
    • Power fast vector database searches
    • Find meaning beyond exact keywords
    Letting a model call functions and complete multi-step tasks.
    Read more

    Tool use and agents allow an AI model to decide when it needs external help, such as running code, querying a database, or calling an API, to complete a multi-step task. Instead of just talking, the model takes practical actions.

    Imagine a travel assistant who listens to your holiday wish, checks live flight databases, books the hotel, and adds it to your calendar automatically.

    This transforms AI from a simple chat box into a powerful assistant capable of automating complex workflows across different software systems.

    • Define custom tools for models
    • Let models choose actions autonomously
    • Handle multi-step task loops safely
    • Validate tool inputs and outputs

    Step 4: Shipping AI features

    Test sets and scoring so you know a change made things better.
    Read more

    Evaluation uses test sets and automated scoring scripts to measure whether a prompt or model change actually improved your application. Because AI outputs are non-deterministic, you need systematic tests rather than casual guesswork.

    Think of running unit tests in traditional software development to ensure a bug fix did not break existing features.

    Running evaluations is essential for shipping with confidence, proving that your updates make the AI more accurate, helpful, and safe for real users.

    • Build a diverse set of test cases
    • Use automated scoring functions
    • Measure changes before deploying updates
    • Track performance regressions over time
    Handling harmful requests, prompt injection and private data.
    Read more

    Safety and guardrails protect your application from malicious inputs, prompt injection attacks, and accidental leaks of private user data. You must filter both incoming user messages and outgoing AI responses.

    Imagine a security guard at a building entrance checking visitor badges and stopping unauthorized people from carrying restricted items inside.

    Implementing guardrails is vital to protect your brand, keep users safe, and prevent bad actors from hijacking your AI features for unintended uses.

    • Detect and block prompt injection
    • Filter harmful or toxic content
    • Scrub private data before sending
    • Validate outputs against safety rules
    OWASP Top 10 for LLM applications
    Caching, smaller models and streaming to keep it fast and cheap.
    Read more

    Cost and latency management keeps your AI application fast and affordable as usage grows. Techniques like caching common answers, using smaller models for easy tasks, and streaming responses improve the user experience significantly.

    Think of a busy coffee shop batching popular drinks or hiring an efficient junior barista for simple orders to keep the queue moving quickly.

    Mastering this ensures your startup or project remains financially viable and responsive even during traffic spikes.

    • Cache frequent queries and answers
    • Use smaller models for simple steps
    • Stream responses for perceived speed
    • Monitor token usage and spending
    Build and deploy an AI feature that solves a real problem.
    Read more

    Your portfolio project brings everything together by building and deploying a complete AI feature that solves a genuine problem. It proves your practical ability to design, build, and ship reliable software.

    Think of building a simple tool that summarizes your local community meeting notes and emails key action items to committee members.

    Completing this project gives you tangible proof of your skills to share with potential employers or clients in the tech industry.

    • Solve a clear, real-world problem
    • Integrate retrieval or tool use
    • Deploy the app to a live server
    • Document your design choices clearly

    Related roadmaps