ClawLink

How to connect Perplexity AI to Hermes Agent

Connect Perplexity AI to Hermes with ClawLink: paste your Perplexity AI key once and 9 tools work from chat. No MCP server to run, nothing stored on your machine.

Get started for free
Hermes Agent
Hermes Agent
ClawLink
ClawLink
Perplexity AI
Perplexity AI
Perplexity AIAPI KEYMCP

Run web search and AI-powered answers through Perplexity AI. Once connected, Hermes Agent can read and act on Perplexity AI from chat — pairing, token refresh, and tool wiring handled for you.

9 tools

Most guides for giving Hermes Agent Perplexity AI access start with registering your own OAuth app or pasting API keys into env files, then leave the token refresh and tool wiring to you. ClawLink gives Hermes a more practical Perplexity AI setup: pair once in the browser and your always-on Hermes agent can act on Perplexity AI for you, reading and doing real work on your behalf with no auth, token refresh, or tool wiring to build yourself.

Copy this prompt into Hermes to install the plugin and pair your account.

Prompt for Hermes
Set up ClawLink for Hermes and tell me when it's ready.

1. Install the plugin:
hermes plugins install ClawLink-HQ/hermes-plugin --enable

2. Start pairing. It prints an approval link, so show me the link and stop, don't wait:
hermes clawlink begin

3. I'll approve it in my browser, then reply "approved".

4. When I say approved, finish setup:
hermes clawlink finish

5. Then run `hermes clawlink test` and tell me whether ClawLink is ready.

Setup

It takes three steps to connect Hermes to Perplexity AI.

  1. 1

    Install and pair

    Install the ClawLink plugin, then pair Hermes with a one-time browser approval:

    hermes plugins install ClawLink-HQ/hermes-plugin --enable
  2. 2

    Connect Perplexity AI

    Paste your API key in the dashboard.

  3. 3

    Use it from chat

    Ask Hermes Agent: "What can you do with Perplexity AI?"

Install by command

The prompt above walks Hermes through this. By hand, it is four commands and a browser approval:

hermes plugins install ClawLink-HQ/hermes-plugin --enable
hermes clawlink begin    # prints an approval link — open it and approve
hermes clawlink finish   # after approving in the browser
hermes clawlink test

Then connect Perplexity AI in the ClawLink dashboard — paste your Perplexity AI API key once.

Verify the connection by asking Hermes:

Use Perplexity AI to perplexityai create async chat completion and walk me through the result in plain English.

Using a different agent?

The Hermes plugin is one client of ClawLink's MCP server. Claude Code, Cursor, Codex, or any agent that can run a shell command pairs with the same ClawLink account through the CLI:

npx -y @useclawlink/cli login

login opens the same browser approval and stores a credential locally. Once Perplexity AI is connected in the dashboard, that agent calls the same 9 Perplexity AI tools over MCP. Full setup for MCP clients and shell agents: connect apps to any AI agent.

Perplexity AI MCP for Hermes

Looking for a Perplexity AI MCP server for Hermes Agent? ClawLink connects Perplexity AI to Hermes Agent and exposes 9 Perplexity AI tools your agent can call over MCP, with hosted auth and nothing to run or maintain yourself. Using OpenClaw instead? The OpenClaw Perplexity AI integration works the same way.

The Hermes Perplexity integration covers the full Perplexity API surface ClawLink exposes: Sonar chat completions, raw web search, and embeddings, nine tools in total.

What the Hermes Agent Perplexity AI integration can do

9 Perplexity AI tools are ready for Hermes Agent once the account is connected.

All 9 Perplexity AI tools for Hermes

ToolWhat it does
Create async chat completion perplexityai_create_async_chat_completionCreate Async Chat Completion (POST /v1/async/sonar). Submits an asynchronous chat completion request for long-running tasks.
Create chat completion perplexityai_create_chat_completionPerplexity Sonar Chat Completions (POST /v1/sonar). Generates web-grounded conversational AI responses with citations.
Create contextualized embeddings perplexityai_create_contextualized_embeddingsCreate Contextualized Embeddings (POST /v1/contextualizedembeddings). Generates document-aware embeddings where chunks from the same document share context.
Create embeddings perplexityai_create_embeddingsGenerate vector embeddings for independent texts (queries, sentences, documents). This action takes one or more input texts and generates vector embeddings using Perplexity AI's embedding models.
Execute agent perplexityai_execute_agentCreate Agent Response (POST /v1/agent). Orchestrates multi-step agentic workflows with built-in tools (web search, URL fetching, function calling), reasoning, and multi-model support.
Get async chat completion perplexityai_get_async_chat_completionGet Async Chat Completion (GET /v1/async/sonar/{id}). Retrieves the result of an asynchronous chat completion request by its ID. Use this to poll for the result after creating an async job.
List async chat completions perplexityai_list_async_chat_completionsList Async Chat Completions (GET /v1/async/sonar). Retrieves a list of all asynchronous chat completion requests for the authenticated user.
List models perplexityai_list_modelsList Models (GET /v1/models). Lists models available for the Agent API. Returns model identifiers that can be used with the Agent endpoint.
Search perplexityai_searchSearch the Web (POST /search). Returns raw, ranked web search results directly from Perplexity's index without LLM processing. Faster and cheaper than chat completions when you need raw results.

Try it: find the Perplexity AI tool you need

Browse the 9 Perplexity AI tools

Click any tool to see exactly what Hermes can do and copy a ready-to-use prompt.

Example prompts

Use Perplexity AI to perplexityai create async chat completion and walk me through the result in plain English.

Use Perplexity AI to perplexityai create chat completion and walk me through the result in plain English.

Use Perplexity AI to perplexityai create contextualized embeddings and walk me through the result in plain English.

Use Perplexity AI to perplexityai create embeddings and walk me through the result in plain English.

The alternative to ClawLink is usually manual API key setup plus your own token handling, permission troubleshooting, and tool plumbing for Hermes Agent. That is fine if you want to build and maintain the integration yourself. Most teams just want Perplexity AI working from chat.

ManualClawLink
Credential handlingCollect, validate, store, and rotate the Perplexity AI API key yourself, then make sure every tool call uses the right account.Users complete the hosted ClawLink setup once and the connected Perplexity AI account becomes available to the agent without you building credential management.
Ongoing maintenanceYou own refresh logic, permission debugging, environment config, and every provider-specific edge case for Perplexity AI.ClawLink handles the repetitive integration plumbing so your team can focus on the workflow instead of the infrastructure.
Agent usabilityYou still need to expose the right Perplexity AI actions to the runtime in a format your agent can reliably use.9 tools for Perplexity AI are already exposed through ClawLink, so the agent can read and act from chat immediately.

Composio also exposes Perplexity AI to AI agents. It is developer infrastructure: Python and TypeScript SDKs, an MCP server, and a catalog past 1,000 apps, aimed at teams shipping agent products. ClawLink is built for Hermes Agent users instead. You install the plugin once, connect Perplexity AI in the browser, and the 9 tools above work from chat. There is no SDK and no config file, and the Perplexity AI key you paste at setup is stored server-side rather than kept in your environment. Choosing between them? Read the full Composio alternatives comparison.

Troubleshooting

Hermes paired but still can't use Perplexity AI

Pairing is a two-step handshake: run hermes clawlink begin, approve the link in your browser, then run hermes clawlink finish. If you ran finish before approving, or the approval link expired, run hermes clawlink begin again to get a fresh link. Confirm the plugin was installed with --enable, then verify with hermes clawlink test.

Connection succeeds but no tools appear

Reconnect Perplexity AI from the dashboard, then start a fresh chat if the runtime still has the old tool catalog loaded.

"Tool schema not loaded yet" error when calling Perplexity AI tools

Perplexity AI tool schemas load on demand the first time a tool runs and are cached after that, so this error usually clears on its own: wait a few seconds and retry the same request. If every Perplexity AI call keeps failing with it in a fresh chat, reconnect from the dashboard, and contact support if it still persists — that pattern points to a configuration problem on our side, not something you can fix by reconnecting again.

Perplexity AI returns 403 or "permission denied" on one action while others work

Two usual causes. The connected account may not have access to the specific workspace, inbox, store, or project in the request — check that first. If access looks right, the agent may have sent a placeholder value (like "YOUR_ID" or an example id from documentation) instead of a real one: ask it to run a list or search tool first, then retry the action with a real id from those results. Most failures at this stage are one of these two, not ClawLink bugs.

API key setup works but results look incomplete

Double-check that the API key for Perplexity AI has the right scopes or account access. A valid key can still be too limited for some reads or writes.

FAQ

Is there a Hermes Agent Perplexity AI integration?

Yes. ClawLink is the fastest way to connect Hermes to Perplexity AI: link your Perplexity AI account once in the browser and Hermes Agent can call the Perplexity AI API through 9 ready-made tools — no custom code or token handling.

How do I connect Perplexity AI to Hermes with ClawLink?

Install the plugin with hermes plugins install ClawLink-HQ/hermes-plugin --enable, then pair once: run hermes clawlink begin, approve the link in your browser, and run hermes clawlink finish. Connect Perplexity AI in the dashboard and Hermes can use it from the next message — no config files, and the Perplexity AI key you paste is stored server-side instead of in your environment.

How long does it take to connect Perplexity AI to Hermes Agent?

About two minutes. Sign in, click Connect next to Perplexity AI in the dashboard, authenticate, and Hermes Agent can use it from the next chat message.

Why use ClawLink instead of wiring Perplexity AI up myself?

The alternative to ClawLink is usually manual API key setup plus your own token handling, permission troubleshooting, and tool plumbing for Hermes Agent. That is fine if you want to build and maintain the integration yourself. Most teams just want Perplexity AI working from chat.

Does the Hermes Agent Perplexity integration include the Perplexity API?

Yes. Every call goes through the Perplexity API: Sonar chat completions (sync and async), raw web search, contextualized and standard embeddings, agent execution, and model listing. The table above lists all nine tools.

Hermes paired but still can't use Perplexity AI

Pairing is a two-step handshake: run hermes clawlink begin, approve the link in your browser, then run hermes clawlink finish. If you ran finish before approving, or the approval link expired, run hermes clawlink begin again to get a fresh link. Confirm the plugin was installed with --enable, then verify with hermes clawlink test.