TLDR · PROGRAMMING, DESIGN & DATA SCIENCE
RETHINKING SEARCH AS CODE GENERATION
Summary from the TLDR newsletter
Perplexity's Search as Code (SaC) is a new search architecture that empowers models to reach into the search stack itself rather than merely consume the final outputs. It exposes the components of the search stack as primitives within an SDK that can be assembled on demand through code generation and execution within a secure sandbox into retrieval pipelines tailored to specific requests. This article describes SaC's design and implementation and provides benchmark results. SaC establishes a new cost performance frontier for agent search.