Bitpath

Lesson 2 · Unit 04

Guardrails

Prompts advise, the harness enforces: sandbox, permissions, approvals

12 exercisesabout 3 min

What you practise

  • Sandboxes and permissions, approval before anything irreversible, injected instructions in fetched content, least privilege, logs you can audit

Try a question from this lesson

Pick one

An agent is told in its prompt never to delete outside /tmp. One day the model asks for delete("/home/ada/projects"). What decides whether the folder is deleted?

The ideas

Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.

Concept

Guardrails live in the harness

The harness is the program around the model: the loop, the tools and their checks. A rule in the prompt is advice the model usually follows. A rule in the harness is enforced.

Four kinds: a sandbox limits what the agent can reach, permissions limit what it may do, approvals put a person before risky actions, and logs record what happened.

Concept

Instructions in the data

An agent reads web pages, emails, files and tool results. Any of them can contain text that looks like an instruction, and a model cannot reliably tell data from orders.

The damage depends on the tools. The dangerous mix is private data, untrusted content, and a way to send data out. Remove one of the three and an injected instruction has little to work with.

9 more exercises in the app

  • 1× match the pairs
  • 4× multiple choice
  • 1× fill the blanks
  • 1× true or false
  • 1× type the answer
  • 1× order the lines

Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.

One email when Bitpath is ready to try. Nothing else. Privacy