How Codex Code Mode runs snippets in fresh V8 isolates while reusing one host process

charliermarsh · x · 2026-11-22

Charlie Marsh explains the execution architecture behind the Codex Code Mode optimization: each snippet runs in a fresh V8 isolate for isolation, but the process hosting those isolates is reused.

The full tool list is sent to that host once per session along with a revision ID; as long as tools haven't changed, each new snippet only re-sends the ID instead of the whole catalog.

Related event: Codex Code Mode speeds up calls by 10ms via cross-cell tool catalog reuse(5 posts)→

Original post →

More from coding & agent

coding & agent channel →