Stackfable Guide

Code Mode: From Tool Calls to Architecture

Understand why agents write programs to call tools, then compare classic MCP with client-side and server-side Code Mode.

Lessons
2
Total reading
~28 min
Start reading

Lessons

  1. Mastering Code Mode: How Programmatic Tool Calling Redefines AI EfficiencySee where tool calling spends tokens, how scripts move data between tools, and what a sandbox must control.~15 min
  2. Code Mode Architectures: Classic MCP vs Client-Side and Server-Side Code ModeCompare where scripts run, how tools are discovered, and who holds credentials across three architectures.~13 min