Code Mode in io.Intelligence

io.Intelligence Engineering Lead Kalin Kostov introduces Code Mode – a new approach to agent execution that replaces large tool libraries with LLM-generated code, reducing token usage, improving reliability, and keeping sensitive data on-device.

As AI agents grow more capable, the standard tool-calling model starts to break down. More tools mean larger context windows, more fragile execution sequences, and more data flowing to the LLM than necessary. Code Mode is interop.io’s answer to that problem.

In this session from the London 2026 Developer Community AI Meet-Up, Kalin Kostov explains what Code Mode is, why it exists, and what to expect from io.Intelligence’s implementation – including a live demo.

What you’ll learn

  • Why traditional tool-calling architectures hit a ceiling at scale: tool overload, sequence fragility, and context window bloat
  • How Code Mode works: instead of choosing from hundreds of tools, the LLM receives just two – one to inspect the API, one to execute code – and writes a Python script that handles the rest
  • Why LLM-generated code outperforms chained tool calls for complex, multi-step workflows
  • How Code Mode keeps sensitive data on-device: the LLM never sees raw result sets, only the filtered output of code executed locally
  • Token usage in practice: a side-by-side comparison showing roughly a 3x reduction versus the traditional approach – with even greater savings at scale
  • How the controlled Python sandbox runs in both browser (via WebAssembly) and desktop, with no Docker, no remote sandbox, and no extra infrastructure required

Who this is for

Engineers and technical leads building or evaluating AI agent workflows on io.Connect – whether you’re designing a new system or looking to improve the reliability and efficiency of an existing one.

Explore the docs
Share
Related Webinars
Video
io.Connect Desktop 10.0: Built for Technical Trust
Video
Introducing io.Intelligence: Why Interop Is the Foundation for Your AI Strategy
Interview Mckenzie Irwin
Video
Transforming Trading at TD Securities Through Interoperability