Code mode vs tool calling: a 5,276-run benchmark
AI-generated summary Pydantic released a 5,276-run benchmark comparing code mode and traditional tool calling for AI agents. Pydantic says the results show that models perform better when writing loops rather than acting as the loop themselves.