Install
openclaw skills install aisaclaw-perplexity-searchPerplexity Sonar search and answer generation through AIsa. Use when the task is specifically to call Perplexity Sonar, Sonar Pro, Sonar Reasoning Pro, or So...
openclaw skills install aisaclaw-perplexity-searchUse 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-researchAISA_API_KEY{baseDir}/scripts/perplexity_search_client.pysonar for fast, lightweight answers with citationssonar-pro for stronger synthesis and comparison taskssonar-reasoning-pro for analytical or multi-step reasoning questionssonar-deep-research for exhaustive reports; expect slower responses and occasional timeoutspython3 {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 -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?"}
]
}'
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."}
]
}'
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."}
]
}'
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."}
]
}'
sonar-deep-research uses a longer timeout and automatic retries in the bundled clientsonar-pro or sonar-reasoning-pro