In short.
Deep Research Workflows is a Perplexity guide for developers automating web research, but it provides no measured costs, runtimes or reliability results. Its main examples use the Agent API's medium effort setting, which the documentation says automatically selects a model and configures research tools. It also demonstrates output processing and limited concurrency. The domain-filtering example switches to an explicit model and web_search configuration; equivalent behavior to the medium preset is not established. The code provides useful starting patterns, while production handling and research quality remain unassessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected page at [https://docs.perplexity.ai/docs/cookbook/articles/async-deep-research/README.md], including all examples, the medium-effort note, the concurrency warning and the best-practice tips. Linked pages about effort levels, quickstart, domain filtering and rate limits are excluded, as are the documentation index, API-key portal, SDK packages and service terms. No examples were executed. Live compatibility, model availability, research quality, runtime, billing and operational reliability remain unverified.
The overview
identity
Deep Research Workflows is a cookbook guide in Perplexity's documentation at [https://docs.perplexity.ai/docs/cookbook/articles/async-deep-research/README.md]. It teaches developers how to request extended web research through the hosted Agent API and process the resulting text.
The page includes basic requests, response extraction, domain filtering and concurrent batches. Python and TypeScript receive parallel examples, with an additional HTTP example for the basic request.
assessment
The guide is useful for turning a research question into an API request and expanding that pattern to several independent questions. Its concrete SDK calls, response fields and concurrency controls make it a practical integration starting point.
Its production coverage is limited. The examples collect results and basic errors, but they do not demonstrate a complete approach to timeouts, recovery, persistent jobs or checking the accuracy of generated research. No execution results establish how the examples perform.
users
The material suits developers building research assistants, report-generation features or scripts that investigate several topics. Beginners can start with one request, while developers familiar with asynchronous programming can adapt the batch helpers.
Readers need enough Python or TypeScript knowledge to install a package, configure an environment variable and handle API responses. The page provides research-question examples rather than a finished application interface.
capabilities
The guide demonstrates requesting research with effort set to medium, reading output_text and the reported model, extracting input and output token counts, and calculating a word count. These helpers produce application-side dictionaries or objects rather than a demonstrated schema-constrained research answer.
Further examples configure web search with domain filters and research instructions, then process multiple questions concurrently. The batch helpers associate each result with its query, elapsed time and either content or an error.
Using it
requirements
The examples require a Perplexity API key and access to the hosted API. Python examples use the perplexityai package; TypeScript examples use @perplexity-ai/perplexity_ai. The HTTP example sends an authenticated request to [https://api.perplexity.ai/v1/agent].
The page does not specify supported Python or Node.js versions, pinned SDK versions, account entitlements or exact rate limits. No local model installation is shown.
mechanism
The main request passes a research question to client.responses.create with medium effort. According to the documentation, this setting lets the service choose a model and configure tools for multi-step research that follows sources and synthesizes an answer. The exact model-selection process and research strategy are not explained.
Python batching combines AsyncPerplexity, an asyncio semaphore and asyncio.gather. TypeScript batching uses a shared queue and a fixed number of workers. Both default to three concurrent requests. As written, Python gathers results in input order, while TypeScript appends them as requests finish.
The domain-filtering example uses an explicit model identifier, openai/gpt-5.6-terra, and a web_search tool with search_domain_filter. It does not use the medium preset. The page alone does not establish the identifier's current availability or equivalent research behavior between these configurations.
setup
The documented setup installs the SDK with pip install perplexityai or npm install @perplexity-ai/perplexity_ai. It directs readers to obtain a key at [https://console.perplexity.ai/project/keys] and place it in the PERPLEXITY_API_KEY environment variable.
The basic integration constructs a Perplexity client, submits a question with medium effort and reads response.output_text. The Python batch example switches to AsyncPerplexity and manages the client through an asynchronous context manager.
example
The introductory example asks for an analysis of nuclear fusion covering major approaches, recent milestones, private companies and commercialization timelines. Its code prints the reported model and generated text. No generated answer is included, so its factual quality and source coverage cannot be judged.
A second example asks about solid-state batteries and extracts text, model, token counts and word count. The batch example submits separate questions about superconductors, quantum error correction and carbon capture, illustrating how to collect independent research results.
Assessment & evidence
limitations
Asynchronous batching overlaps client requests; the page does not demonstrate durable background jobs, polling, resumable execution or result persistence. The batch helpers catch per-query exceptions but implement no explicit retry, backoff or timeout policy. SDK defaults for these behaviors are not stated.
The page suggests three to five concurrent requests while referring readers to account-specific limits. That range is guidance, not an established allowance for every account.
The result-processing examples do not demonstrate extracting or validating structured citations. Domain restrictions can narrow the search, but the evidence does not show that they ensure complete coverage or accurate conclusions. Latency, throughput and factual quality remain unassessed.
reasoning
The main engineering tradeoff is convenience versus explicit control. The medium preset reduces the configuration shown in the request, while the domain-filtering example exposes model and search-tool settings. The page does not demonstrate combining those filters with medium effort.
Concurrency can overlap independent requests, but the examples provide no measurements of time saved or sustainable throughput. Token counts, word counts and elapsed time describe request activity and output volume; they do not establish research correctness.
alternatives
Within the page, a single request is the simplest starting point, while the batch helpers suit several independent questions. Python and TypeScript offer similar patterns, and HTTP provides a basic route without either SDK.
The explicit model-and-tool example offers a separate configuration path for domain-filtered searches. Competing services, other effort levels and local research systems are not evaluated, so no comparative claims about price or quality are supported.
evidence
The evidence is the complete Perplexity documentation page at [https://docs.perplexity.ai/docs/cookbook/articles/async-deep-research/README.md]. Its prose and code establish the integration patterns it teaches.
Claims about automatic model selection and multi-step research come from the documentation. No code or API request was executed, and the supplied material includes no generated research answers, observed timings, billing records or independent accuracy evaluation.
Access & freshness
costs
API pricing and expected spending are unknown. The page gives no monetary rates, sample bills or measurements from which to estimate the cost of a question or batch. It warns that deep research consumes significant compute resources.
The guide recommends max_output_tokens for shorter outputs and cost control, but does not demonstrate that setting or quantify savings. Its response helpers replace missing usage data with zero; those values would not establish that a request consumed no tokens or incurred no charge.
rights
The selected page provides no explicit license or redistribution permission for its text or code examples. Public access does not establish permission to redistribute them.
SDK licenses, API service terms and rights governing generated answers or retrieved source material are not established by this page.
freshness
The page was captured on 25 November 2026 at 21:44:28 UTC. No publication date, update date or SDK version is stated in the supplied page.
The capture date does not establish current SDK compatibility, model availability, pricing or account limits. Those details remain unknown from this evidence.
actions
For adoption, begin with one representative question and establish current API access, SDK compatibility, pricing and account limits before expanding to batches. Evaluate whether the returned sources and answer support the intended use.
For production integration, add explicit timeout and recovery handling, preserve query-to-result associations and decide how results and source references will be stored. Evaluate the explicit model-and-filter request separately before relying on it for domain-restricted research.
