Perplexityapi
August 13, 2026·Source

Sonar Moving to the Agent API

Perplexity is folding its Sonar search API into the Agent API, which keeps grounded web search and adds tools and model choice.

  • The Agent API keeps grounded web search and adds multi-step research, code execution, built-in tools, and access to several models through one API
  • Perplexity reports the Agent API more than doubles the best Sonar score on the BrowseComp and WideSearch benchmarks
  • Sonar Chat Completions is now labeled legacy, and Perplexity publishes a migration guide for moving from POST /chat/completions to the Agent API

Best for

teams already calling Sonar for grounded web search inside their own products

When to use it

you are starting a new Perplexity API build, or your Sonar calls need more than one search-and-answer step

Who benefits

developers running Perplexity search in production

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 →