← all releases
Perplexity·Aug 14, 2026·v0.2.0·paid

Perplexity Search SDK

The Perplexity Search SDK is an agents-first Python library that enables AI agents to orchestrate custom search pipelines using 'Search as Code' primitives. By allowing agents to write Python code to control retrieval, ranking, and filtering, it reduces token usage and improves performance for complex, multi-step research tasks.

AI AgentsSearch as CodePython SDKRetrieval Augmented Generation
overview

The Perplexity Search SDK is an agents-first Python library that enables AI agents to orchestrate custom search pipelines using 'Search as Code' primitives. By allowing agents to write Python code to control retrieval, ranking, and filtering, it reduces token usage and improves performance for complex, multi-step research tasks.

key features
  • 01Composable retrieval primitives for custom search pipelines
  • 02Agent-driven orchestration via generated Python code
  • 03Built-in concurrency, provenance, and checkpointing
  • 04Significant reduction in token usage (up to 85%)
  • 05Secure sandbox execution for model-generated code
related productsbrowse all →
MiroThinkeropen sourceMiroThinker is an open-source search agent model developed by MiroMindAI, designed for tool-augmented reasoning and real-world information seeking. It aims to match the deep research capabilities of leading AI models like OpenAI's Deep Research and Google's Gemini Deep Research.Letta Code SDKopen sourceThe Letta Code SDK is a software development kit that enables developers to build deeply personalized agents with persistent memory that learn over time. It serves as the interface to Letta Code, facilitating the creation of stateful agents capable of continuous learning and improvement.OB-1open sourceOB-1 is a self-improving coding agent developed by OpenBlock Labs, designed to autonomously handle the full development lifecycle, from project management to pull requests. It integrates seamlessly into existing workflows, enhancing productivity and code quality.