AI Agent Infrastructure
Tool sandboxing
Run untrusted code in isolated environments with restrictive network, filesystem, and credentials.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A command to try yourself
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in AI Agent Infrastructure
- MCP connectivityBeginner · 4 min
MCP exposes tools and resources through defined protocol boundaries and server trust relationships.
- Idempotent toolsBeginner · 4 min
External calls use stable idempotency keys and retry policies that distinguish transient failures.
- Prompt injection defenseBeginner · 4 min
Separate trusted instructions from untrusted retrieved pages, files, and tool responses.
- Rate limits & budgetsBeginner · 4 min
Bound per-run tokens, cost, wall clock time, concurrency, and tool invocation count.
- Agent tracesBeginner · 4 min
Trace model inference, agent invocations, and tool execution in a linked request context.
- Regression evalsBeginner · 4 min
Test agents against reproducible scenarios, expected tool invocations, and outcome graders.