Run Pydantic AI coding agents in E2B sandboxes
E2BSandbox is a native Pydantic AI Harness capability. The agent's shell commands and file edits run inside an isolated E2B microVM, the sandbox pauses and resumes between runs, and a Temporal worker can crash without losing the workspace.
PydanticAI Blog11 min read