Skip to main content

Minimum-first framing: complete structured country extraction and one docs takeaway first; blackjack multi-agent demo is optional extension.

Day 1 ยท Block 2

LLMs and AI Agents

Understand core LLM mechanics and map prompt anatomy to a runnable coding task.

Use arrow keys in-frame, or open full screen.

Block Write-up

Loading write-up...

Exercise overview: Prompt anatomy in runnable Python

Inputs

  • exercises/02/prompt_lab.py
  • Noisy country paragraph
  • One TODO-STUDENT prompt variant

Checklist

  • Make one explicit design decision.
  • Include one verification check.
  • State one limitation or risk.

Common failure modes

  • Output format drifts from strict list.
  • Typos fixed inconsistently or fictional places included.

Extension task (optional)

Optional multi-agent blackjack demo (Dealer, Gambler, Referee) using explicit standard rules: card values, initial deal, hit/stand, bust, dealer hits to 17+, blackjack precedence, and push on equal totals.