PrepCity

Agent sandboxes and computer use

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 13 pages · about 11 min

Agent sandboxes and computer use

An agent that writes and runs code, or clicks around a screen, is running instructions nobody has read. Give it a box it cannot escape: a fresh sandbox per job with no secrets, an allow-listed network and hard limits, thrown away after; and for screens, a look-act-look loop with a person before any money button and a step limit.

Words you’ll learn

  • Script
  • Agent harness
  • Server
  • Prompt injection
  • Sandbox
  • Secret
  • Docker container
  • Processor core
  • API
  • Egress proxy

Page by page