Codex Code Mode calls get 10ms faster by reusing tool catalogs across cells
charliermarsh · x · 2026-11-22
Charlie Marsh (creator of Ruff, now on Codex) details a new Codex optimization: Code Mode calls are 10ms faster via tool catalog reuse across cells — calls that happen billions of times a day.
- Previously, the full tool list (names, descriptions, arguments) was serialized, sent, and deserialized on every Code Mode call; with many tools that meant multiple MB just to invoke text(1).
- Now the full catalog is sent once per session to the host process with a revision ID; as long as tools haven't changed, each new snippet only re-sends the ID.
- Each snippet still runs in a fresh V8 isolate, but the process hosting those isolates is reused.
His takeaway: waste in the agent harness gets multiplied at billions-of-calls-per-day scale.
Related event: Codex Code Mode speeds up calls by 10ms via cross-cell tool catalog reuse(5 posts)→
More from coding & agent
- Perplexity launches Monitor API: scheduled web search that alerts agents via webhook — The Decoder · 2026-11-22
- Astra finishes a Blender cowboy toy film in ~2 hours vs 20 hours for Fable 5.2 — iamfakhrealam · 2026-11-22
- A classical bust website sculpted with GPT-6.2 Astra and Three.js — iamfakhrealam · 2026-11-22
- Neon: procedural Three.js cinematic with zero external assets — iamfakhrealam · 2026-11-22
- 12 wild examples: Astra vs Neon vs Genie 4 building walkable 3D worlds — iamfakhrealam · 2026-11-22
- Claude-of-Tanks: a tank combat sim built end-to-end by a multi-agent pipeline — Promptmethus · 2026-11-22