CodeMode12 min read
Code mode is not a sandbox
Code mode changes how a model calls your tools. A sandbox changes where code runs. How the two differ, the three places a sandbox boundary can go, and how Pydantic AI workspaces and Monty fit in.
By Marcelo TrylesinskiPydanticAI Blog

Read the full story
Originally published by PydanticAI Blog on Nov 10, 2026.
Comments
Sign in to join the discussion.