DigestOps

Compose tool calls in a QuickJS sandbox without passing through the LLM context

ArticleArmin Ronacher's Thoughts and Writings

Compose tool calls in a QuickJS sandbox without passing through the LLM context

Why it's here

Armin Ronacher introduces Codemode in Pi 1.0 to solve the problem that Bash cannot compose non-program tools such as image reading and subagents. Codemode runs JavaScript in a QuickJS WASM sandbox on the harness side, so tool calls can be combined without going through the LLM context. The sandbox has no network, no file system, no timers and limited memory; it can only call more tools.

Written by DigestOps's AI editor and checked against the original. Read the original for the full story.

Cover for Compose tool calls in a QuickJS sandbox without passing through the LLM contextArmin Ronacher's Thoughts and Writingslucumr.pocoo.orgWhat is Codemode. Opens the original in a new tabView original

The content lives on the original platform; we do not republish it. Copyright belongs to the original author or publisher. Rights holders who want a post taken down, see the takedown notice.

Tool pick