Original sourceGEroundtable
Summary
Perplexity launched Code Mode in its Agent API, letting models generate and execute a piece of JavaScript to orchestrate multiple tools at once rather than calling them one by one. To enable it, add a single object to the tools array and mark the allowed tools; the model outputs code and result dat…
Key points
- Developers building multi-tool agents can assess programmatic orchestration to reduce round trips and latency.
- Rewriting tool calls as parallel-executable code is a step in agent architecture moving from sequential calls to batch orchestration.
- Developers should note the lack of type definitions and undisclosed performance data, and measure success rates and failure handling before adoption.
Editorial note
This page is Code & Chain's editorial summary of public sources. It may be prepared with AI assistance and published through an automated workflow. Refer to the original sources; this content is not investment, legal, or tax advice.