← Back to Skills Marketplace
chaimengphp

Perplexity Sonar Search

by chaimengphp · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
225
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install aisaclaw-perplexity-search
Description
Perplexity Sonar search and answer generation through AIsa. Use when the task is specifically to call Perplexity Sonar, Sonar Pro, Sonar Reasoning Pro, or So...
README (SKILL.md)

Perplexity-Search

Use this skill when the user specifically wants Perplexity-powered search answers instead of structured scholar/web retrieval.

This skill covers four AIsa endpoints:

  • /perplexity/sonar
  • /perplexity/sonar-pro
  • /perplexity/sonar-reasoning-pro
  • /perplexity/sonar-deep-research

Requirements

  • Set AISA_API_KEY
  • Use the bundled client at {baseDir}/scripts/perplexity_search_client.py

Model Selection

  • Use sonar for fast, lightweight answers with citations
  • Use sonar-pro for stronger synthesis and comparison tasks
  • Use sonar-reasoning-pro for analytical or multi-step reasoning questions
  • Use sonar-deep-research for exhaustive reports; expect slower responses and occasional timeouts

Python Client

python3 {baseDir}/scripts/perplexity_search_client.py sonar --query "What changed in AI this week?"
python3 {baseDir}/scripts/perplexity_search_client.py sonar-pro --query "Compare coding agents with citations"
python3 {baseDir}/scripts/perplexity_search_client.py sonar-reasoning-pro --query "Analyze whether vertical AI agents can defend against general copilots"
python3 {baseDir}/scripts/perplexity_search_client.py sonar-deep-research --query "Create a deep research report on AI coding agents in 2026"

Add a system message when you want a more specific output format:

python3 {baseDir}/scripts/perplexity_search_client.py sonar-pro \
  --query "Map the top coding agent products" \
  --system "Respond in markdown with an executive summary first."

Curl Examples

Sonar

curl -X POST "https://api.aisa.one/apis/v1/perplexity/sonar" \
  -H "Authorization: Bearer $AISA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sonar",
    "messages": [
      {"role": "user", "content": "What changed in the AI agent ecosystem this week?"}
    ]
  }'

Sonar Pro

curl -X POST "https://api.aisa.one/apis/v1/perplexity/sonar-pro" \
  -H "Authorization: Bearer $AISA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sonar-pro",
    "messages": [
      {"role": "user", "content": "Compare the top coding agents and cite the key differences."}
    ]
  }'

Sonar Reasoning Pro

curl -X POST "https://api.aisa.one/apis/v1/perplexity/sonar-reasoning-pro" \
  -H "Authorization: Bearer $AISA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sonar-reasoning-pro",
    "messages": [
      {"role": "user", "content": "Analyze whether vertical AI agents can defend against general copilots."}
    ]
  }'

Sonar Deep Research

curl -X POST "https://api.aisa.one/apis/v1/perplexity/sonar-deep-research" \
  -H "Authorization: Bearer $AISA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sonar-deep-research",
    "messages": [
      {"role": "user", "content": "Create a deep research report on AI coding agents in 2026."}
    ]
  }'

Timeout Behavior

  • sonar-deep-research uses a longer timeout and automatic retries in the bundled client
  • If it still times out, narrow the query or retry later
  • If the user wants a faster answer, fall back to sonar-pro or sonar-reasoning-pro

References

Usage Guidance
This skill will send your queries (and any optional system instruction) to https://api.aisa.one and requires you to provide AISA_API_KEY. Only provide an API key you trust for that service. The bundled Python client is simple and only reads AISA_API_KEY and posts to the documented endpoints; there are no other credential requests or hidden endpoints. Note that the agent can call this skill autonomously by default (normal for skills); if you prefer manual use, adjust agent/skill invocation settings. If you have concerns, verify the legitimacy of the AISA API key you intend to use and the api.aisa.one domain before installing.
Capability Analysis
Type: OpenClaw Skill Name: openclaw-perplexity-search Version: 1.0.0 The skill is a standard API wrapper for Perplexity Search via the AIsa platform (api.aisa.one). The Python client (scripts/perplexity_search_client.py) uses only standard libraries to perform authenticated POST requests, and the instructions in SKILL.md accurately describe the tool's intended use without any signs of prompt injection or malicious intent.
Capability Assessment
Purpose & Capability
Name/description describe calling AIsa Perplexity Sonar endpoints; required binaries (curl, python3) and the single env var AISA_API_KEY directly match that purpose.
Instruction Scope
SKILL.md and the included python client only instruct the agent to call the documented AIsa endpoints, use the bundled client, and read AISA_API_KEY. There are no instructions to read unrelated files, other env vars, or to transmit data to unexpected endpoints.
Install Mechanism
No install spec (instruction-only) and an included Python client file. No network downloads or archive extraction occur during install; nothing writes outside the skill bundle.
Credentials
Only AISA_API_KEY is required/declared (primary credential) which is appropriate for a skill that authenticates to api.aisa.one. No unrelated secrets or config paths are requested.
Persistence & Privilege
Skill is not always-enabled and does not request elevated persistence or modify other skills/configs. It can be invoked autonomously (platform default), which is expected for this type of integration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install aisaclaw-perplexity-search
  3. After installation, invoke the skill by name or use /aisaclaw-perplexity-search
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of perplexity-search skill: - Provides Perplexity Sonar-powered search and answer generation through AIsa with citation-backed results, analytical reasoning, and long-form reports. - Supports four endpoints: sonar, sonar-pro, sonar-reasoning-pro, and sonar-deep-research, each for different research tasks and depth. - Includes both Python client and curl usage examples. - Requires AISA_API_KEY for API access and curl/python3 as dependencies. - Documents model selection guidance, timeout behavior, and references for each endpoint.
Metadata
Slug aisaclaw-perplexity-search
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Perplexity Sonar Search?

Perplexity Sonar search and answer generation through AIsa. Use when the task is specifically to call Perplexity Sonar, Sonar Pro, Sonar Reasoning Pro, or So... It is an AI Agent Skill for Claude Code / OpenClaw, with 225 downloads so far.

How do I install Perplexity Sonar Search?

Run "/install aisaclaw-perplexity-search" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Perplexity Sonar Search free?

Yes, Perplexity Sonar Search is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Perplexity Sonar Search support?

Perplexity Sonar Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Perplexity Sonar Search?

It is built and maintained by chaimengphp (@chaimengphp); the current version is v1.0.0.

💬 Comments