Introducing Search as Code, our new search architecture for AI agents.
Perplexity AI has introduced "Search as Code," a novel search architecture designed for AI agents. This new system bypasses traditional, high-latency tool-calling methods by allowing models to directly compose search primitives, enabling asynchronous query execution, deduplication, and result ranking. Perplexity claims Search as Code outperforms existing systems on various deep and wide research benchmarks, including their own WANDR benchmark, while also offering a superior cost-performance ratio. AI
IMPACT This new architecture could significantly improve AI agent efficiency and performance in research tasks by reducing latency and enhancing search capabilities.