Agents
More info about Search as Code in the Perplexity Agent API docs: https://docs.perplexity.ai/docs/agent-api/tools/sandbox
The Perplexity Agent API documentation includes a 'Search as Code' feature accessible through the sandbox tools section, enabling developers to integrate search functionality programmatically within a
The Perplexity Agent API documentation includes a "Search as Code" feature accessible through the sandbox tools section, enabling developers to integrate search functionality programmatically within agent applications. This capability allows agents to perform searches and retrieve results as part of their code execution environment. The feature is part of Perplexity's broader toolkit for building intelligent agents with real-time information access.
Source: Perplexity (X) | 2026-06-01