Level 4 · Advanced

Build with AI

Build and test small AI projects with Python and APIs.

  • 16 lessons
  • About 2 h 52 min
  • Free

Free. Sign in with Google, then start with the first lesson.

What you will learn

  • Open a free notebook and run a cell
  • Define a function with def
  • Store a key as a secret
  • Ask for JSON with fixed keys
  • Cut text into chunks
  • Describe how a tool call works
  • Write a test case with an expected answer
  • Build one focused project from earlier pieces

Lessons

16 lessons · About 2 h 52 minHas a videoHas a hands-on task

Just Enough Code

  1. Enrol free to open every lesson. Your progress is saved.

  2. Lesson 2: Lists and Loops

    Use a loop and an if check to count matching lines in a list.

    10 minHas a videoHas a hands-on taskUnlocks when you enrol

  3. Lesson 3: Functions

    Write a small function and call it inside a loop.

    10 minHas a videoHas a hands-on taskUnlocks when you enrol

  4. Lesson 4: Files and JSON

    Write a dictionary to a JSON file and read it back.

    10 minHas a videoHas a hands-on taskUnlocks when you enrol

Talking to Models by API

  1. Lesson 5: Get a Key and Make Your First Call

    Call an AI model from your own notebook with a small ask function.

    12 minHas a videoHas a hands-on taskUnlocks when you enrol

  2. Lesson 6: Messages, System Prompts, Settings

    Set a system prompt, a temperature and an output limit in one call.

    10 minHas a hands-on taskUnlocks when you enrol

  3. Lesson 7: Structured Output: Get JSON Back

    Get a parseable JSON reply with fixed keys from a model.

    10 minHas a hands-on taskUnlocks when you enrol

  4. Lesson 8: Errors, Rate Limits and Key Safety

    Use a wait and retry on a failing call, and keep your key out of code.

    10 minHas a hands-on taskUnlocks when you enrol

RAG

  1. Lesson 9: Why RAG: Giving AI Your Knowledge

    Explain why a model needs your own text to answer questions about it.

    8 minHas a videoHas a hands-on taskUnlocks when you enrol

  2. Lesson 10: Chunk, Embed and Search

    Build a tiny search that finds the best chunk of text for a question.

    12 minHas a hands-on taskUnlocks when you enrol

  3. Lesson 11: Mini Q&A Bot with Citations

    Build a small bot that answers from your notes and cites its source.

    12 minHas a hands-on taskUnlocks when you enrol

Agents and Tools

  1. Lesson 12: Tool Calling: Let the Model Use a Function

    Set up a calculator tool that runs when a model asks for it.

    12 minHas a videoHas a hands-on taskUnlocks when you enrol

  2. Lesson 13: A Tiny Agent Loop with Safety Limits

    Build a loop that plans, acts and observes, with a hard step cap.

    12 minHas a videoHas a hands-on taskUnlocks when you enrol

Quality and Shipping

  1. Lesson 14: Evals: How to Test AI Output

    Write a ten-case test set and score a small classifier against it.

    12 minHas a videoHas a hands-on taskUnlocks when you enrol

  2. Lesson 15: Guardrails and Prompt Injection Basics

    Add an input check that stops sample prompt-injection attacks.

    10 minHas a videoHas a hands-on taskUnlocks when you enrol

  3. Lesson 16: Ship a Small AI Project

    Build one small AI project, score it with an eval table and write its README.

    12 minHas a hands-on taskUnlocks when you enrol

What you need

  • A phone with a browser. A computer works too.
  • A free Google account, to save your progress.
  • No tech background. Every new word is explained.

AI apps you can use

Every task works with the free plan of any of these apps.

  • Gemini
  • ChatGPT
  • Claude

Start this module

Course: AI Beginner's Course

Free. Sign in with Google, then start with the first lesson.