Perplexity's Code Mode evolution: from Python containers to embedded QuickJS in the agent loop

AravSrinivas · x · 2026-12-04

Srinivas details the iteration: a June experiment (Search as Code, pplxsdk) had agents run Python inside Linux sandbox containers to fan out retrieval queries. The new version runs JavaScript via an embedded QuickJS WebAssembly runtime directly in the agent loop — no container to boot, no separate search-only library. Example: for quarterly segments and earnings transcripts across 6 tickers, the agent fires 12 concurrent calls, writes raw JSON to disk, and returns only file paths or a compact summary.

Related event: Perplexity CEO Explains Code Mode Design Philosophy(4 posts)→

Original post →

More from coding & agent

coding & agent channel →