Perplexityapi
August 14, 2026·Source

Perplexity Search SDK

A Python toolkit that lets an AI agent run and refine its own web searches in code instead of making one search call and taking what comes back.

Perplexity Search SDK announcement image
  • Breaks web search into separate Python pieces an agent can call on its own: running a search, filtering results, removing duplicates, and ranking what is left
  • The agent can fire several searches at once rather than waiting for each one to finish before starting the next
  • Tracks where each result came from and can save progress partway through a long research run
  • Published on PyPI as pplx-srch-sdk, and written to be driven by a coding agent rather than read as documentation
  • Wraps the existing Perplexity Search API, which stays the option for anything not written in Python

Best for

building an agent that researches a topic across many sources before it answers

When to use it

a single search call is too blunt and you want the agent to run several searches, then sort and trim the results itself

Who benefits

developers building research or monitoring agents on Perplexity

Join the newsletter to get ahead with AI.

I share strategies, new modules, free guides, and tools to get you better at using AI in your work.

Leading a team? See team programs →