In short.
This documentation page, hosted on Perplexity's documentation site, is for people who run the OpenClaw terminal AI agent and want to use Perplexity as its web search provider, its model (LLM) provider, or an MCP tool server. The main catch is that the three routes overlap, you need a Perplexity API key, and the page only partly states costs. It covers three setups: the Search API through a separate OpenClaw plugin, the Agent API through a custom openai-responses provider pointed at the base URL [https://api.perplexity.ai/v1], and the hosted or local Perplexity MCP server. It documents the web_search parameters, four reserved tool names, and config pitfalls such as wrong base URLs producing 404 or 405 errors. Nothing was executed for this review, so every command and setting is reported as documented, not as verified.
Researched and written by an AI model and checked by a second AI model. How it works
This report covers only the text of the single documentation page at [https://docs.perplexity.ai/docs/getting-started/integrations/openclaw.md]. Linked pages were excluded and not read, including pricing, model lists, the MCP server docs, the Search API quickstart, the domain filter guide, the OpenAI compatibility page and OpenClaw's own documentation. The page carries no licence or copyright notice, so rights are unknown. Nothing was installed or run: no OpenClaw commands, plugin installs, API calls, MCP connections or configuration changes. All behaviour described is as the page documents it and has not been tested.
The overview
What this resource is
This is a single documentation page titled Perplexity with OpenClaw, hosted on Perplexity's documentation site at [https://docs.perplexity.ai/docs/getting-started/integrations/openclaw.md]. Its stated purpose is to show how to use Perplexity as an LLM provider and web search provider in OpenClaw.
The page describes OpenClaw, whose website it gives as [https://openclaw.ai], as an open-source AI agent that runs in your terminal and connects to multiple LLM providers. The page links to OpenClaw's own docs at [https://docs.openclaw.ai] for installation and MCP details. The captured text names no author, so authorship is unspecified, and it shows no page version or publication date.
Overall assessment
On the evidence, this is a practical, specific setup guide rather than a marketing overview. It gives exact commands, exact JSON keys, a parameter table and explicit warnings about mistakes that cause HTTP errors. The page provides commands and configuration examples for three integration routes; version compatibility and end-to-end operation remain unverified.
The weaknesses are what it leaves out. It states no OpenClaw version, gives no date, states no pricing for the Search API or the MCP server, and has no troubleshooting beyond the configuration tips. It presents three alternative routes on one page and they interact (the Agent API route disables OpenClaw's own web_search), so a beginner can easily mix them up. None of the instructions were run for this review, so it is not established whether they work with current OpenClaw and Perplexity releases.
Who it is for
The audience is people who already run OpenClaw, or are willing to install it, and want Perplexity's real-time search or Perplexity-hosted frontier models inside that agent. The page says models from Anthropic, OpenAI, Google and others are available through one Perplexity API key.
It suits people used to a terminal, JSON config files and environment variables. A complete beginner to command-line tools would find the multiple routes and the config file editing demanding. The page does offer interactive CLI options (openclaw configure --section web, and openclaw onboard) that avoid hand-editing files. It is not a general introduction to OpenClaw or to Perplexity.
What it enables
The page documents three integrations. First, the Search API as a web search backend: OpenClaw's web_search tool calls Perplexity and incorporates structured results into answers. The documented parameters are query (required), count (1 to 10, default 5), country (ISO 3166-1 alpha-2), language (ISO 639-1), freshness (day, week, month or year), date_after and date_before (YYYY-MM-DD), domain_filter (allowlist or denylist, maximum 20 entries, cannot mix both in one request), max_tokens (default 25,000, maximum 1,000,000) and max_tokens_per_page (default 2,048).
Second, the Agent API as the model provider: OpenClaw talks to Perplexity as a custom provider and can use any model returned by Perplexity's model list. The page's example model is anthropic/claude-sonnet-5-5, and it gives perplexity/openai/gpt-5.6-terra and perplexity/anthropic/claude-opus-5-5 as other model references. On this route, Perplexity runs its own server-side built-in tools (web_search, fetch_url, people_search, finance_search), and the model calls web_search automatically.
Third, MCP: either a hosted server at [https://api.perplexity.ai/mcp] (streamable-http) or a local stdio server run with npx @perplexity-ai/mcp-server. Both expose perplexity_search, perplexity_ask, perplexity_research and perplexity_reason as tools the agent can call. The page says MCP tools respect OpenClaw's tool profiles and allow/deny policy, and that mcp.servers.perplexity.toolFilter.include can limit which tools the agent can call.
Using it
What you need
Every route needs a Perplexity API key, generated in the API Console at [https://console.perplexity.ai/project/keys]. The page shows keys beginning pplx-.
You also need OpenClaw installed. For macOS and Linux, the page gives a curl command that downloads the installer script at [https://openclaw.ai/install.sh] and pipes it to bash. For Windows PowerShell, it gives an iwr command that downloads [https://openclaw.ai/install.ps1] and pipes it to iex. It points to OpenClaw's install documentation for Docker, Podman, Nix and other methods. The Search API route needs the plugin @openclaw/perplexity-plugin and a gateway restart. The local MCP route needs Node.js on the machine running OpenClaw. The page states no minimum OpenClaw version, operating system version or hardware requirement, so those are unknown.
How it works
On the search route, a separate OpenClaw plugin supplies Perplexity as a search provider. OpenClaw's own web_search tool is then routed to Perplexity's Search API. The key is read from the plugin config, from the PERPLEXITY_API_KEY environment variable, or from ~/.openclaw/.env for daemon installs.
On the model route, OpenClaw's openai-responses client sends requests to the configured base URL with /responses appended. The Agent API's primary endpoint is POST /v1/agent, and it also accepts POST /v1/responses as an OpenAI-Responses-compatible alias. That is why the base URL must be exactly [https://api.perplexity.ai/v1]. According to the page, a base URL of [https://api.perplexity.ai/v1/agent] produces a 405 Method Not Allowed, [https://api.perplexity.ai/v1/responses] produces a 404, and [https://api.perplexity.ai] without /v1 produces a 404. The page also says the openai-completions API type will not work because the Agent API does not implement /v1/chat/completions.
Perplexity's Agent API runs its own server-side tools, so the page tells you to turn off OpenClaw's managed web_search (tools.web.search.enabled set to false) and let the model use Perplexity's built-in search instead. Perplexity reserves the function names web_search, fetch_url, people_search and finance_search, so you should not define custom functions with those names. The MCP tool names carry a perplexity_ prefix, so they do not collide with the reserved names.
Setup steps
Search route: run openclaw plugins install @openclaw/perplexity-plugin and then openclaw gateway restart. Next, configure the key in one of three ways. You can run openclaw configure --section web, select Perplexity and paste your API key. You can edit openclaw.json (run openclaw config file to find it): set plugins.entries.perplexity.config.webSearch.apiKey to your Perplexity API key and tools.web.search.provider to perplexity. Or you can set the PERPLEXITY_API_KEY environment variable, which the page says OpenClaw detects automatically. Then start openclaw and ask a question that needs web search.
Model route: get a key, install OpenClaw, set tools.web.search.enabled to false in openclaw.json, then register the provider. The recommended path is a single openclaw onboard command with these flags: --auth-choice custom-api-key; --custom-base-url with the base URL [https://api.perplexity.ai/v1]; --custom-api-key with the documented placeholder "pplx-YOUR_KEY_HERE" replaced by your key; --custom-model-id with a model ID such as "anthropic/claude-sonnet-5-5"; --custom-compatibility openai-responses; --custom-provider-id perplexity; and --install-daemon. That command registers one model. To add more, re-run it with a different --custom-model-id or switch to the config file.
The config-file alternative is a block under models.providers.perplexity, with api set to openai-responses at both provider and model level. Adding "perplexity/*": {} under agents.defaults.models turns on live model discovery from GET /v1/models, and openclaw models list --provider perplexity lists what was found.
MCP route: add the server to openclaw.json, or run openclaw mcp add perplexity with the server URL [https://api.perplexity.ai/mcp], --transport streamable-http and a Bearer Authorization header. Then run openclaw mcp doctor perplexity --probe. The page says to keep the key in an environment variable and not paste the raw key into config.
Worked example
The page's own example for the search route is to start OpenClaw by typing openclaw and then ask something like What are the latest developments in quantum computing? According to the page, OpenClaw then calls the Perplexity Search API for structured results and works them into its reply. The page shows no sample output, so what a real answer looks like is unknown.
For domain control, the page supports passing a domain_filter such as ["nature.com", "science.org"] to restrict results to those sites, or ["-reddit.com", "-pinterest.com"] to exclude them. You cannot combine the two styles in one request. The page does not show a full request or response for these filters, so this example is limited to the documented parameter forms.
Assessment & evidence
Limitations and risks
Nothing in this review was run. All commands, flags, JSON keys and error behaviours are reported as documented. The page's claims about 404 and 405 errors, live model discovery and tool filtering have not been verified.
The main practical risk is how the routes interact. The Agent API route requires disabling OpenClaw's managed web_search, while the Search API route relies on OpenClaw's web_search using Perplexity as its provider. The page does not say whether both can be active at once. It says only that if you combine the Agent API and MCP, you should keep tools.web.search.enabled set to false. It is unclear whether the Search API plugin and the Agent API provider can be used together.
Other points to check yourself. The Windows command, setx PERPLEXITY_API_KEY="pplx-...", is documented, but its syntax and behaviour have not been verified. The installers pipe a remote script straight into a shell, so review the script first if that concerns you. The local MCP note says to prefer the remote server "unless you need to run everything offline of Perplexity's edge". That wording is unclear, and the page does not say whether the local server works without calling Perplexity. The page shows putting a raw API key into openclaw.json as an option, but it recommends environment variables or OpenClaw's secret storage instead. The model IDs, model availability and prices shown are a snapshot and may change.
The page also says nothing about OpenClaw version compatibility, data handling or privacy, and does not compare Perplexity's search quality with other providers.
Reasoning behind this assessment
The assessment rests on what the page states directly. The detailed parameter table, the exact base-URL rules with named failure codes, the reserved tool names and the repeated advice about environment variables show that the page is meant to be followed step by step. That supports calling it a usable guide.
Where the page is silent (versions, dates, Search API and MCP pricing, licence, privacy), this report says unknown rather than filling the gap. The caution about combining routes is an inference from two documented facts: the Agent API route disables managed web_search, and the Search API route makes Perplexity the managed web_search provider. The page does not resolve that overlap, so the report flags it rather than claiming it works or fails.
The page is hosted on Perplexity's documentation site and describes Perplexity's products favourably, close to promotional language (for example, calling the models powerful and the results up to date). Nothing here independently supports those claims.
Alternatives
The page offers three routes, and each does a different job. Use the Search API plugin if you want Perplexity web search as OpenClaw's managed search provider. Use the Agent API provider if you want Perplexity to supply the model, with its own server-side built-in search. Use MCP if you want Perplexity's search and research tools (perplexity_search, perplexity_ask, perplexity_research and perplexity_reason) available to the OpenClaw agent. The page describes MCP as complementing the Agent API setup. For MCP, it labels the remote server as recommended over running the server locally.
The page also links to the Perplexity CLI, described as a terminal companion for search and page snippets from shell or agent scripts. The page does not discuss other search or model providers for OpenClaw, so no comparison with them was made. OpenClaw's own documentation at [https://docs.openclaw.ai] is the natural place to look for other providers.
Evidence base
The evidence is the text of one documentation page, Perplexity with OpenClaw, hosted on Perplexity's documentation site at [https://docs.perplexity.ai/docs/getting-started/integrations/openclaw.md]. The page names no author. It contains headings, tabbed code blocks, tables, notes and link cards, and this report draws only on that content.
The pages it links to were not reviewed: Perplexity pricing, Agent API models, the MCP server docs, the Search API quickstart, OpenAI compatibility, OpenClaw's install and MCP docs, and the domain filter guide. Anything that depends on them is reported only as the selected page describes it. No repository, release notes, licence file, test results or independent user reports were available. None of the documented commands, configuration changes or API calls were run, so all behaviour is untested.
Access & freshness
Costs
Every route needs a Perplexity API account and key. The page states one price directly: Perplexity's server-side web_search in the Agent API costs $0.0025 per call. The sample model entry in the config file lists cost values for anthropic/claude-sonnet-5-5 of input 2.00, output 10.00, cacheRead 0.10 and cacheWrite 0. The page does not give the unit (for example, per million tokens) or the currency for those numbers, so treat them as an unexplained configuration example.
This page does not state Search API pricing, MCP server pricing, model prices beyond the example, rate limits or any free tier. It links to a separate pricing page and an Agent API models page, which were outside the captured scope. It does not state what OpenClaw itself costs, beyond describing it as open source. The overall cost of a real workload cannot be worked out from this evidence.
Rights and licence
The captured page has no licence statement, copyright notice or reuse terms covering the documentation text, the configuration snippets, OpenClaw, the OpenClaw Perplexity plugin or the Perplexity MCP server. Rights to reuse or redistribute the page text and snippets are therefore unknown. The page describes OpenClaw as open source but does not name its licence.
The page supplies no applicable API, model or search-result terms; those terms and redistribution permissions are unknown.
Freshness
The page was captured on 14 November 2026 (2026-11-14T20:32:42Z). The captured text has no publication or last-updated date, so when the content was written is unknown. It also gives no version number for OpenClaw or for the Perplexity plugin (@openclaw/perplexity-plugin).
The Agent API endpoints the page documents sit under a /v1 path: the base URL [https://api.perplexity.ai/v1], with /v1/agent, /v1/responses and /v1/models. The hosted MCP endpoint the page also documents, [https://api.perplexity.ai/mcp], is not under /v1. That /v1 is an API version namespace. It does not tell you when the page was written or which OpenClaw or plugin release the instructions target.
The page names specific model IDs (such as anthropic/claude-sonnet-5-5) and a plugin package name, and details like these can change. The page itself points to separate pages for the latest model list and pricing. Check commands, model IDs and prices against the live documentation before relying on them.
Suggested next steps
If you want to try this, start with one route and choose it by what you need: the Search API plugin for a managed web search provider, the Agent API for a model provider, or MCP for search and research tools. If you choose MCP, the page recommends the remote server over the local one. Create a Perplexity API key, store it in the PERPLEXITY_API_KEY environment variable, and use the interactive CLI options where they exist to cut down on hand-editing JSON. The Agent API route still needs one openclaw.json change to disable managed web_search.
Before use, check the Perplexity pricing page for Search API, MCP and model costs, since this page only states $0.0025 per Agent API web_search call. Review the OpenClaw install script before piping it into a shell. After setup, run the page's own checks: openclaw models list --provider perplexity for the model route and openclaw mcp doctor perplexity --probe for MCP. If you combine routes, keep tools.web.search.enabled set to false when using the Agent API, and test that search still works as you expect.
