Armin Ronacher explains Codemode: why Pi 1.0 calls MCP tools via code, not tool schemas

mitsuhiko · x · 2026-10-06

Armin Ronacher (mitsuhiko) explains how Codemode, the new MCP support in Pi 1.0, follows through on his earlier thesis that agents should write code instead of loading tool definitions or MCP servers into context.

Key points:

Codemode bridges the two worlds: the model writes code that invokes native tools, combining composability with capabilities that must be harness-injected.

Original post →

More from coding & agent

coding & agent channel →