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.
Need help?
Contact usCode 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.