Skip to content
starvia home
AIpath.human-in-the-loop

Human in the Loop

Build software with an AI model and stay the engineer in charge. Write the tests first, give the model small clear jobs, review what it hands back, keep secrets and permissions locked down, and let automated checks catch the rest. You work with a practice model built into the path, so you don't need an AI account.

Missions
24
Time
~16 hrs
Level
Advanced
Works on
Phone, Tablet, Laptop
Syllabus

What's in the path.

  1. 01

    How models write code

    what they do well, context, made-up functions, confident mistakes

    3 missions
  2. 02

    Tests first

    red and green, edge cases, tests as the spec, tests that pass for the wrong reason

    4 missions
  3. 03

    Directing the model

    small tasks, giving context, asking for a plan, when to write it yourself

    3 missions
  4. 04

    Reviewing its work

    reading diffs, code that looks right but isn't, explaining it back

    3 missions
  5. 05

    Secure code

    untrusted input, SQL injection, packages that don't exist

    3 missions
  6. 06

    Secrets and permissions

    API keys, .env files, leaked keys, least privilege for AI agents, devcontainers, prompt injection

    4 missions
  7. 07

    Automate the checks

    tests on every change, linters, CI, property tests

    3 missions
  8. ★

    Project

    Ship it with a safety net

    1 mission
Final project

Ship it with a safety net

A kit loans feature for a robotics club's app. You write the spec and tests, the practice model writes most of the code, automated checks guard every change, and you finish with a security review.

Beyond the code
  • Writing a spec someone else can build from
  • Defending a decision in review
  • Saying you're not sure yet, then checking
You'll need
  • A phone, tablet or laptop
  • Python basics
  • No AI account. The practice model is built in

Recommended first: Python from Zero

Next

Pairs well with.

AIReady now

How AI Actually Works

Build a doodle-guessing image classifier.

~9 hoursIntermediate

£39for life