Agent Simulator

Practice designing AI agents the honest way: write an agent’s loop for a real scenario, or walk the loop turn by turn picking its next move. Get a deterministic 0–10 score with per-dimension feedback, and see side-by-side what sloppy vs. disciplined agent design earns. Companion to the Advanced Prompt Engineering video course.

Choose a practice scenario

Scenarios unlock in order across Episodes 1–8 — score 4+ to open the next one. Your best scores are saved on this device.

How to practice agent design here

  1. Pick a scenario — start with “The Wall” from Episode 1. Later scenarios unlock as you score 4+.
  2. Design scenarios: write the agent’s loop — ordered steps, a tool per step, failure handling, guardrails, handoffs. Walk-the-loop scenarios: pick the agent’s next move each turn; wrong picks explain why.
  3. Score it — a deterministic 0–10 with one line of feedback per dimension. The same input always earns the same score.
  4. See the contrast to compare hand-written examples of a sloppy loop vs. a disciplined loop.
  5. Reveal the exemplar, study the highlighted scoring cues, and retry to beat your best — best scores are saved on your device.
  6. Capstone: score 8+ on Episode 8 to unlock your course certificate.

Teaching simulation — no AI runs here. The agent loops, tool outputs, and observations are hand-crafted examples showing what sloppy vs. disciplined agent design earns, so every student sees the same lesson. Nothing you type leaves your browser. A real-agent playground is a separate future project.

Frequently asked questions

Is the Agent Simulator a real AI agent?

No. It is a teaching simulation — no AI runs here. The agent loops, tool outputs, and observations are hand-crafted examples showing what sloppy vs. disciplined agent design earns, so every student sees the same lesson. Scoring uses deterministic keyword checks and fixed answer keys, not a model.

Is what I type private?

Yes. Nothing you type leaves your browser — there are no network requests, no accounts, and no servers. Only your best score per scenario is saved, in your own browser’s local storage.

How is my agent design scored?

Design scenarios check five dimensions — Planning, Tools, Recovery, Guardrails, and Output — for scenario-specific keywords, awarding 0–2 points each for a total out of 10. The same design always earns the same score.

How do the “walk the loop” scenarios work?

Each turn shows the agent’s current state and several possible moves. Pick the right move to earn that turn’s points; wrong picks explain why the move fails. Points per turn add up to 10.

How do I unlock new scenarios?

Scenarios unlock in order across Episodes 1–8: score 4 or more out of 10 on the current scenario to unlock the next one. Your best score per scenario is remembered between visits.

How do I earn the certificate?

Score 8 or more out of 10 on the Episode 8 capstone, “Capstone: Build the Agent”. A “Claim your certificate” button then links you to the site’s Certificate Maker with the course name “Advanced Prompt Engineering” pre-filled.

More from the codex