Perplexity CEO explains Code Mode as moving the agent loop closer to an OS kernel

AravSrinivas · x · 2026-12-04

In a follow-up to the Code Mode announcement, Arav Srinivas frames the design: treat the LLM as CPU, context as scarce RAM, disk as storage, tools as I/O — one-by-one JSON tool calling is basically synchronous blocking I/O copying every raw byte into RAM. Code Mode + embedded QuickJS + execwait moves the agent loop closer to an OS kernel: deterministic loops and filtering run outside the neural net, raw state sits on disk, slow I/O runs async. Cutting redundant round-trips improves both accuracy and cost with the same models.

Related event: Perplexity CEO explains Code Mode as moving the agent loop closer to an OS kernel(4 posts)→

Original post →

More from coding & agent

coding & agent channel →