Perplexity introduced Code Mode in its Agent API on December 2, 2026, reporting higher research scores and benchmark cost reductions of up to 53% against its earlier presets. The feature lets models replace repeated tool-call round-trips with JavaScript programs that run enabled tools in parallel and filter results. Code Mode, formally identified in requests as programmatic_tool_calling, runs
[…]
Content was trimmed to protect the source. Please visit the original article for the full text.
Read the original article:
Perplexity Adds Code Mode to Agent API for Parallel Tool Calls
