Skip to content

Search as Code (SaC) レビュー

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

shipped 2026年6月2日aifreemium
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 Quadrant

Dead Man Walking· 9/100

An LLM can do most of what this tool's UI promises. No moat, no agent presence.

This is a concept article from Perplexity, not a standalone tool — and the concept itself is already being eaten alive. LLMs with web search access already do programmable search decomposition natively. The 'search as code' framing is clever but describes behavior that frontier models exhibit without any additional product layer. No moat here.

Claude Sonnet 4.6, scored 2026-06-02

Defensibility · 0/100

  • Physical-world coupling
  • Regulatory moat
  • Network liquidity
  • Proprietary refreshing data
  • High-trust catastrophic workflows
  • Multi-party coordination
  • Brand / community / taste

An LLM alone could replace

  • Generate search queries from natural language intent
  • Decompose a complex research question into sub-queries
  • Synthesize results from multiple sources into a structured answer
  • Write code that orchestrates search API calls

Agent-Readiness · 20/100

  • Verified MCP
  • Listed on agent surfacesanthropic_directory, cursor
  • Usage-based pricing
  • Headless agent auth
  • Public OpenAPI
  • Active changelog
  • llms.txt

How to defend

Perplexity's only real move is to become the search API that agents call — own the index, own the freshness, own the structured data layer — and stop competing on the UI or the framing. The article is marketing; the product needs proprietary crawl data and a coordination layer that makes it the default search primitive in agent frameworks.

  • Ship an MCP server and list it on Stork — biggest single point gain (+25).
  • Add a usage-based or per-call tier; per-seat-only pricing dies when agents replace seats (+15).
  • Expose API-key auth with a self-serve sandbox tier; remove sales-call gates (+15).
  • Publish an OpenAPI spec at /openapi.json or /.well-known/openapi (+10).
  • Publish a public changelog and ship in the last 90 days — silence reads as abandonment (+10).

Search as Code (SaC) at a Glance

Best For
product-hunt
Pricing
freemium
Key Features
Search as Code (SaC) was officially launched by Perplexity AI on June 1, 2026, as a new search architecture for AI agents. · It enables AI models to generate and execute Python code within a secure sandbox to assemble tailored retrieval pipelines on-demand. · The Sonar API, which incorporates SaC, is priced at $0.00025 per 1k input tokens and $0.0025 per 1k output tokens.
Alternatives
Exa AI Search API, Parallel AI Search, Cloudflare AI Search, Brave Search API
</>Embed "Featured on Stork" Badge
Badge previewBadge preview light
<a href="https://www.stork.ai/en/search-as-code-sac" target="_blank" rel="noopener noreferrer"><img src="https://www.stork.ai/api/badge/search-as-code-sac?style=dark" alt="Search as Code (SaC) - Featured on Stork.ai" height="36" /></a>
[![Search as Code (SaC) - Featured on Stork.ai](https://www.stork.ai/api/badge/search-as-code-sac?style=dark)](https://www.stork.ai/en/search-as-code-sac)

overview

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

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

quick facts

基本情報

属性
開発元Perplexity AI
ビジネスモデルFreemium
価格Freemium
プラットフォームAPI
API利用可能はい
統合製品Perplexity Agent API, Perplexity Computer

features

Search as Code (SaC) の主な機能

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

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

use cases

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

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

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

pricing

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

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

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

competitors

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 AI Search

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.

よくある質問

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

Search as Code (SaC) は、Perplexity AI が開発した新しい検索アーキテクチャツールであり、AIエージェントと開発者が検索操作をプログラムで制御できるようにします。これにより、モデルはセキュアなサンドボックス内でPythonコードを生成および実行し、オンデマンドでカスタマイズされた検索パイプラインを構築し、従来のマルチターンツール呼び出しインターフェースをバイパスできます。

+Search as Code (SaC) は無料ですか?

Search as Code (SaC) はFreemiumモデルで運用されています。基盤となるアーキテクチャの具体的な価格は詳細に説明されていませんが、その機能はPerplexityのより広範な製品提供に統合されており、通常、コア機能への無料アクセスと、高度な機能に対するプレミアムティアまたは使用量ベースの価格設定が含まれます。

+Search as Code (SaC) の主な機能は何ですか?

Search as Code (SaC) の主な機能には、AIモデルがセキュアなサンドボックス内でPythonコードを生成・実行できるようにすること、オンデマンドでカスタマイズされた検索パイプラインを構築すること、マルチターンツール呼び出しインターフェースをバイパスすること、検索スタックコンポーネントをアトミックなプログラマブルプリミティブとして公開すること、および検索、ランキング、フィルタリングなどの個々の検索ステップを直接制御することが含まれます。

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

Search as Code (SaC) は、複雑でオープンエンドなタスクのために高度にカスタマイズされた動的な情報検索を必要とするAIエージェント向けです。また、AIモデルが検索スタックを直接プログラムおよび制御できるようにする必要があるAIシステムを構築する開発者、および情報検索におけるAIエージェントの効率と能力を向上させることを目指す研究者向けでもあります。

+Search as Code (SaC) は他の代替案とどう比較されますか?

Search as Code (SaC) は、AIエージェントがコード生成を通じて検索プロセスをプログラムで制御できるようにすることで差別化を図り、検索プリミティブをきめ細かく制御できます。これは、既存のコードを見つけることに焦点を当てた従来のAIを活用したコード検索ツールや、Exa、Tavily、Firecrawl、Parallel AI Searchなどの他の検索APIとは対照的です。これらのAPIは、より意見が反映されたり、高レベルの検索プリミティブを提供したり、セマンティック理解やウェブスクレイピングなどの特定の側面に焦点を当てたりすることがよくあります。

For builders

This page is doing a job for someone else’s tool.

AI agents read it. Buyers find it. Backlinks accrue. Your tool can have one too — live in 24 hours, indexed by Claude, ChatGPT, and Perplexity, queryable via MCP.