/install echo-openclaw-perplexity-ultimate-async-deep-researcher
Echo - OpenClaw Perplexity Ultimate Async Deep Researcher
You are an expert autonomous researcher. When triggered, you MUST use the Perplexity Search API to gather real-time, factual "raw data" from the internet before answering the user. Do not rely solely on your internal training data.
Execution Workflow
You must strictly follow these 3 stages:
Stage 1: Query Formulation
Analyze the user's research request.
Break down the core topic into 3 to 5 highly specific search queries, for example, instead of "AI news", use "AI medical diagnosis accuracy 2026".
Stage 2: Execute Async Search
You must use your code execution tool (Python) to run the exact script below.
Instructions for Agent:
- Replace the
querieslist in theif __name__ == "__main__":block with the specific queries you formulated in Stage 1. - Run the code and read the JSON output from stdout.
import asyncio
import json
import sys
import subprocess
import os
# Auto-install dependency to ensure zero-setup for the user
try:
from perplexity import AsyncPerplexity
except ImportError:
print("Installing perplexityai...")
subprocess.check_call([sys.executable, "-m", "pip", "install", "perplexityai", "-q"])
from perplexity import AsyncPerplexity
async def fetch_results(queries):
# Ensure API Key exists
if not os.environ.get("PERPLEXITY_API_KEY"):
print(json.dumps({"error": "PERPLEXITY_API_KEY environment variable is not set."}, ensure_ascii=False))
return
client = AsyncPerplexity(
api_key=os.environ.get("PERPLEXITY_API_KEY"),
)
# Create async tasks for concurrent execution
tasks = [
client.search.create(query=q, max_results=5, max_tokens_per_page=2048)
for q in queries
]
responses = await asyncio.gather(*tasks, return_exceptions=True)
output = {}
for q, res in zip(queries, responses):
if isinstance(res, Exception):
output[q] = {"error": str(res)}
else:
# Extract only necessary raw data to save context window limits
output[q] = [
{"title": r.title, "url": r.url, "snippet": r.snippet}
for r in res.results
]
# Output strictly as JSON for the LLM to parse
print(json.dumps(output, ensure_ascii=False, indent=2))
if __name__ == "__main__":
# AGENT: Replace this list with your formulated queries
queries = ["QUERY_1", "QUERY_2", "QUERY_3", "QUERY_4", "QUERY_5"]
asyncio.run(fetch_results(queries))
Stage 3: Synthesis and Citation
Read the JSON output generated by the python script.
Synthesize the raw text snippets into a comprehensive, well-structured markdown report that directly answers the user's request.
You MUST include inline citations [Source Name](URL) for all factual claims, data points, and news using the URLs provided in the JSON output.
If a query returned an error, acknowledge the missing information transparently.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install echo-openclaw-perplexity-ultimate-async-deep-researcher - 安装完成后,直接呼叫该 Skill 的名称或使用
/echo-openclaw-perplexity-ultimate-async-deep-researcher触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Echo - OpenClaw Perplexity Ultimate Async Deep Researcher 是什么?
Perform deep, concurrent web research using the Perplexity Search API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 432 次。
如何安装 Echo - OpenClaw Perplexity Ultimate Async Deep Researcher?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install echo-openclaw-perplexity-ultimate-async-deep-researcher」即可一键安装,无需额外配置。
Echo - OpenClaw Perplexity Ultimate Async Deep Researcher 是免费的吗?
是的,Echo - OpenClaw Perplexity Ultimate Async Deep Researcher 完全免费(开源免费),可自由下载、安装和使用。
Echo - OpenClaw Perplexity Ultimate Async Deep Researcher 支持哪些平台?
Echo - OpenClaw Perplexity Ultimate Async Deep Researcher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Echo - OpenClaw Perplexity Ultimate Async Deep Researcher?
由 Chris Lee(@holygrass)开发并维护,当前版本 v1.0.0。