Perplexity adds Code Mode to its Agent API
Perplexity's developer account says Code Mode lets the Agent API write a script that runs several tools together and processes their results, instead of calling tools one at a time, and returns only the final output.
It works with any enabled Agent API tool, including page fetch, people search, finance data, MCP servers and sandbox files. It is on by default at the high, xhigh and ultra effort levels; custom requests turn it on by adding programmatic_tool_calling to tools.
Perplexity's own figures on its WANDR benchmark: at xhigh the score rose from 78.7% to 80.5% and task cost fell 31%; at ultra the score is 89.4% at $10.30 per task, against 88.5% at $12.12 before.
Sources
- We're adding Code Mode to the Perplexity Agent API.X · 3 comments
Get news like this as a push.
AI Tracker alerts you when something changes for the tools you use.