Agent architectureAugust 30, 2026· 10 min read
Code mode: letting the model write code instead of calling tools
MCP made it easy to give an agent a hundred tools. Code mode is a slight correction: hand the model a typed API and let it write a program, so schemas and intermediate results stop flowing through the context window.
Read more