Khalid ShamsPrincipal Solutions Architect

Learn AI · Guided path 5 of 6

Running it safely

When you finish: You can name what stops an agent doing harm, and tell a prompt from a rule.

About 25 minutes · 11 stops, 8 of them ideas from the map · progress is kept on this device ·

A human-free studio of context trays, evidence shelves, instruments, a closed gate and service cabinets.⏸ Control boundary · Instruments represent software components
Read the concept diagram

The stops, in order

Each stop is one page. Read it, picture it, mark it, move on.

Ideas open on their own page with three depths. Atlas stops open the interactive lesson at the right step and count as done when you follow the run to its end. Sections count when you have read them.

  1. 1A prompt is a request. A check in code is a rule.The enforcement question.section
  2. 2Guardrails and HooksChecks in code that run before or after the model acts, so certain things can never happen no matter what the model says.idea
  3. 3Identity and PermissionsMaking the AI act as the person using it, with exactly that person's permissions and no more.idea
  4. 4Watch a refund get denied before executionThe gate refuses; the run ends as denied, not failed.atlas lesson
  5. 5Prompt InjectionWhen text the AI reads (an email, a web page, a document) contains instructions that hijack what it does.idea
  6. 6Watch a planted instruction get blockedThe model follows it; the check in code does not.atlas lesson
  7. 7Human in the LoopA person who reviews or approves what the AI proposes before it takes effect.idea
  8. 8Traces and ObservabilityA record of everything an AI system did on each run: what it read, what it decided, what it called, what it cost.idea
  9. 9Cost per RunWhat one complete task costs in model calls, tool calls and time, and what that becomes at ten times the volume.idea
  10. 10Kill SwitchA way to stop the AI system in under a minute, tested before it is needed.idea
  11. 11EvaluationTesting an AI system against a fixed set of cases so you know whether a change made it better or worse.idea

← Path 4 Path 6: Should we build one? →