Sandboxing and agent identity
Some cars come with a valet key. It starts the engine and opens the driver's door, but not the boot or the glovebox. Agents need the same thing. Assume that one day your agent will be fooled or will make a bad mistake, and decide now how little it should be able to break when that happens.
In this lesson you'll learn to
- Choose an isolation level for code an agent runs, from a restricted process to a container, gVisor or a microVM.
- Configure a sandbox's filesystem, network, resource and lifetime limits, and keep credentials out of it.
- Give agents scoped, short-lived credentials with OAuth, decide whose identity they act under, and avoid the confused deputy problem.
- Apply least privilege across an agent's tools, data and actions, and keep an audit trail of what it did for whom.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.