← Browse

Europe 2026

Code Mode: Let the Code do the Talking - Sunil Pai, Cloudflare

Sunil Pai

Overview

This talk introduces "code mode," an alternative approach to AI agent interaction that moves beyond traditional JSON-based tool calling. Instead of complex back-and-forth with models to select and execute tools, code mode allows AI agents to generate and execute code directly within a controlled environment. This method leverages the inherent capabilities of code, such as looping and state management, and significantly reduces token usage and execution time, especially when dealing with extensive API surfaces.

Who should watch

Key takeaways

Notable quotes

*The distinction is breaking. In a world like this, you need to let the code do the talking.*
*Everyone's building this harness and this architecture of the harness is not just that it can generate code, but it has a safe space to execute this code into which capabilities are exposed.*

Watch on YouTube →

Unofficial community note. Prefer the recording for nuance.