SkyAICampus
HomePracticeLearnCode LabFocus

Learn

HomePracticeConcept cardsCode LabSky Tutor

Review

Revise todayMistake notebookProgress

Focus

Campus ForestFocus roomsSquads

Questions or feedback?
support@skyaicampus.com

Keyboard shortcuts

  • Choose an answer1–4 or A–D
  • Check, then next questionEnter
  • Next hintH
  • Search cardsCtrl K

How this quiz adapts

3 fast right answers in a row: the next questions get harder. 2 wrong in a row: a little easier.

Hints and guesses still count, just a little less, so use them whenever you're stuck.

Sky Tutor

Stuck on an idea? Ask in your own words, or by voice.

Ask Sky Tutor
SkyAICampus
PrivacyTermssupport@skyaicampus.com© 2026 SkyAI Campus

New skill. A one-minute read first, then the question.

60-second card

The agent loop

An agent repeats a loop: decide an action, run a tool, look at the result, until the task is done.

  • The model chooses each step from what it has seen so far.
  • Set a step limit and a cost budget.
  • If the steps are always the same, a fixed workflow is cheaper.
steps, done = 0, False
while not done and steps < 5:
    steps += 1
    done = steps == 3
print(steps, done)

Prints

3 True

Remember: Agents suit open-ended tasks; workflows suit known ones.

Common mistake: No step limit, so a confused agent loops and runs up a bill.

Log inSign up