跳到正文
北京时间
原文
Perplexity· @perplexity_ai · X·· 2026-06-02精选AI 评分70
AI 导读

推出Search as Code,我们为AI智能体打造的全新搜索架构。 它直接编写Python代码调用我们的搜索栈,而非逐个循环函数调用。 现已在Perplexity Agent API中提供,并成为Computer的默认选项。 https://research.perplexity.ai/articles/rethinking-search-as-code-generation

推荐理由

Perplexity这次更新把Agent搜索从函数调用链改成直接生成Python代码,思路简洁有效,API开发者应该能立刻感受到token和延迟的下降,可以在Computer里试一下默认效果。

正文 · 原文

Introducing Search as Code, our new search architecture for AI agents.

It writes Python that calls our search stack directly, instead of looping through function calls one at a time.

Available in the Perplexity Agent API, and now default in Computer.

https://research.perplexity.ai/articles/rethinking-search-as-code-generation

来源:Perplexity · x.com