Log inStart free
LESSON 24.07 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Trusted control plane vs untrusted workspace

Watch four agents try to earn reward, and see which designs stop them.


Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 24.07 · TRUST ZONESIN WORKSPACE: 0 OF 3 GRADER ASSETS
01
Stage 1 of 5 · Two zones
The agent can touch only its workspace, never the control plane. Verify outside keeps the grader, its credential and the answers outside.
Explain it simply

The workspace box belongs to the agent. Anything in it, the agent can read or change. The control plane box is the trusted part that runs the episode. In this design, all three stay in the control plane, out of the agent's reach.

Two boxes: the control plane and the workspace. 0 of 3 grader assets sit in the workspace.

agent actions, ordersgrader assets, keysfailures, leaksgrading, rewardblocked
trusted control planethe agent cannot read or write hereuntrusted workspacethe agent reads and writes hereagentagent logshop/refund.pytests/test_refund.py$PAY_KEY tok_test_…reward recordwrite-once–empty until gradinggrader token$GRADER_TOKENhidden answersexpected.jsongradercheck.pytrusted control planethe agent cannot read or write hereuntrusted workspacethe agent reads and writes hereagentagent logshop/refund.pytests/test_refund.py$PAY_KEY tok_test_…reward recordwrite-once–empty until gradinggrader token$GRADER_TOKENhidden answersexpected.jsongradercheck.py
Toy: a refund bug, 3 orders, 4 grader tests, 4 scripted agents
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
W∩S=∅\sy{w}{data}{W} \cap \sy{s}{param}{S} = \varnothing
W∩S=∅W \cap S = \varnothing

No grader asset may sit where the agent can read or write.

Common mix-ups

MYTHHiding the grader credential and answers stops reward hacking.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01In one box, the agent forges the reward. Which reward does the record keep?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
  • 4 more stages and 3 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.