Skip to content
AIツール

Search as Code (SaC) レビュー

AIエージェント向けの新しい検索アーキテクチャ。マルチターンのツール呼び出しをバイパスし、Pythonコードを生成して検索プリミティブを直接構成します。

shipped 2026年6月2日aifreemium
aiproduct-hunt
Search as Code (SaC) - AI tool for search code. Professional illustration showing core functionality and features.

注目ポイント

1AIモデルがセキュアなサンドボックス内でPythonコードを生成・実行し、オンデマンドの検索を可能にします。
2検索操作における従来のマルチターン関数呼び出しインターフェースをバイパスし、効率を向上させます。
32026年6月現在、PerplexityのAgent APIおよびComputer製品に統合されています。
4検索スタックコンポーネントをSDK内のアトミックなプログラマブルプリミティブとして公開します。

Stork’s verdict on Search as Code (SaC)

SaCはエージェント向けに検索パイプラインの直接プログラミングを提供しますが、きめ細かな制御のためには開発者がカスタムコードを管理する必要があります。

Search as Code (SaC) reviewed by Stork AI · stork.ai/ja/search-as-code-sac

仕様

APIドキュメント

API提供状況

はい、公開API

overview

Search as Code (SaC) とは何ですか?

Search as Code (SaC) は、Perplexity AI が開発した新しい検索アーキテクチャツールであり、AIエージェントと開発者が検索操作をプログラムで制御できるようにします。これにより、モデルはセキュアなサンドボックス内でPythonコードを生成および実行し、オンデマンドでカスタマイズされた検索パイプラインを構築し、従来のマルチターンツール呼び出しインターフェースをバイパスできます。このアーキテクチャは、検索スタックコンポーネントをSDK内のプログラマブルプリミティブとして公開することで、AIモデルが検索と対話する方法を変革し、複雑な多段階タスクに合わせた高度にカスタマイズされた効率的な情報検索を可能にします。SaCは、数百または数千の検索操作を伴う可能性のある、長期間にわたる複雑でオープンエンドなタスクを完了する必要があるAIエージェント向けに設計されており、ハーネス内で非常に具体的な検索戦略を直接定義および実装できるようにします。

features

Search as Code (SaC) の主な機能

Search as Code (SaC) は、AIエージェントが情報検索プロセスをきめ細かく制御できるように設計された一連の機能を提供し、モノリシックな検索サービスを超越します。

  • モデルがセキュアなサンドボックス内でPythonコードを生成・実行できるようにします。
  • タスク要件に基づいて、オンデマンドでカスタマイズされた検索パイプラインを構築します。
  • 検索操作における従来のマルチターンツール呼び出しインターフェースをバイパスします。
  • 検索スタックコンポーネントをSDK内のアトミックなプログラマブルプリミティブとして公開します。
  • 検索、ランキング、フィルタリング、ファンアウト、レンダリングを含む個々の検索ステップを直接制御できます。
  • 候補リストやランキングシグナルなどの中間状態に効率的にアクセスできます。
  • エージェントが実行中に独自の検索パイプラインを設計・最適化できるようにします。
  • 検索ワークフローにおける条件付き実行、非同期操作、並列処理をサポートします。

use cases

Search as Code (SaC) は誰が使うべきですか?

Search as Code (SaC) は、主に高度なAIエージェント開発および高度にカスタマイズされた動的な情報検索を必要とするシステム向けに設計されています。

  • AIエージェント: 数百または数千の検索操作を必要とする複雑でオープンエンドなタスク向けに、カスタマイズされた検索パイプラインを構築するため。
  • AIシステムを構築する開発者: AIモデルが検索スタックを直接プログラムおよび制御できるようにし、マルチターン関数呼び出しインターフェースをバイパスするため。
  • AI研究者: モデル生成されたPythonコードを通じて検索操作をオーケストレーションし、情報検索におけるAIエージェントの効率と能力を向上させるため。

pricing

Search as Code (SaC) の価格とプラン

Search as Code (SaC) はFreemiumモデルで運用されています。無料ティアの利用制限やプレミアム機能の価格に関する具体的な詳細は、基盤となるアーキテクチャ自体については公開されていませんが、Perplexityのより広範な製品提供に統合されています。

  • Freemium: PerplexityのAgent APIおよびComputer製品内で、利用制限または購入可能なプレミアム機能を含むコア機能へのアクセス。

類似ツール

Search as Code (SaC) と競合他社

PerplexityのSearch as Code (SaC) は、AIエージェントが事前に定義された検索結果を単に消費したり、既存のコードベースを検索したりするのではなく、検索プロセス自体をプログラムで制御できるようにすることで差別化を図っています。このアーキテクチャの転換は、従来の検索APIやAIを活用したコード検索ツールと比較して、より深いレベルの制御を提供します。

1

Exa is a web search engine built from scratch for AI workflows, optimized for relevance, freshness, and semantically-driven results rather than click-based ranking.

Similar to SaC, Exa provides structured, up-to-date information for AI agents and RAG systems, acting as a retrieval layer. While SaC emphasizes programmable primitives for dynamic pipeline assembly, Exa focuses on delivering highly relevant and semantically understood results tailored for AI consumption.

2

Parallel is an AI-native web search and research API designed as infrastructure for AI systems to search, retrieve, verify, and reason over live web information.

Parallel, like SaC, targets AI agents as its primary users, providing a different kind of web infrastructure for AI systems. It aims to go deeper into how AI agents interact with the web, offering a foundational layer for complex reasoning, which aligns with SaC's goal of evolving search to programmable primitives.

3
Cloudflare AI Search

Cloudflare AI Search offers a plug-and-play search primitive with hybrid search capabilities and built-in storage, allowing dynamic instance creation and management via API for agents.

Cloudflare AI Search directly positions itself as a 'search primitive' for agents, enabling developers to dynamically create and manage search instances, which closely mirrors SaC's concept of programmable primitives. It simplifies the infrastructure needed for agents to access and search data, similar to how SaC aims to provide building blocks for agentic search.

4

Brave Search API provides direct, structured API access to its independently built web index, offering flexibility and customization for RAG pipelines and AI systems.

The Brave Search API offers a foundational retrieval API for AI products, emphasizing control over ranking and summarization, and providing structured results. This aligns with SaC's goal of moving beyond monolithic search by offering customizable building blocks, though Brave's focus is on its independent index and structured output rather than the dynamic assembly of search pipelines through code generation.