Skip to content
Armin Ronacher·AI Score66

What Is Codemode? How Pi Orchestrates Tools and MCP Calls

What is Codemode

AI Takeaway

Pi 1.0 supports MCP through Codemode. Armin Ronacher explains how JavaScript in a restricted harness-side sandbox composes tool calls and retains session state, using image generation, classification and MCP examples. He also outlines limitations in MCP output, binary data and tool search.

Source: Armin Ronacher · lucumr.pocoo.org