9,863 Sandbox Runs Later: What Production Traces Taught Us About CodeAct and MCP
TL;DR The sandbox is fast. The model is slow. A typical run_python run takes 0.43s. Writing the code for it takes 5.05s. Models rarely write bad Python. Only 19 of 9,863 runs (0.19%) hit a SyntaxError. Most failures come from our sandbox’s own rules. Errors are cheap when the agent can retry. 13.5% of runs failed, but 88.5% of retried failures recovered, most of them on the very next try. MCP and CodeAct are not rivals. Direct MCP calls handle simple reads and approved writes. Python handles everything messy. Why We Looked CodeAct means letting an LLM write and run Python, instead of making one JSON tool call per turn. Debates about it usually come down to two claims: ...