360 Secure SkillHub
360 安全技能中心

Perplexity Agent

该 Skill 通过 Python 脚本调用 Perplexity Agent API 的 pro-search 预设执行实时网络搜索,将用户查询作为输入,返回带引用的答案及所用模型信息;需要在环境中配置 PERPLEXITY_API_KEY,属于单次调用式检索工具。

分类:搜索
davidsteelerose
davidsteelerose
热度 33.60
最近更新 2026-05-11 17:32:16

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add davidsteelerose/perplexity-agent
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
perplexity-agent
description
Search the web using the Perplexity Agent API. Provides real-time information, news, and grounded answers with citations. Use when the user asks for: (1) Current events or news, (2) Information retrieval from the web, (3) Real-time data search, (4) In-depth research using web results.

Perplexity Agent Search

Use the Perplexity Agent API to perform real-time web searches and get grounded answers.

Workflow

To perform a web search:

  1. Identify the user's research or search query.
  2. Execute the scripts/search.py script with the query.
  3. Present the answer from the JSON response to the user.

Example

To search for "latest AI developments": python3 scripts/search.py "What are the latest developments in AI?"

Important

  • Requires PERPLEXITY_API_KEY to be set in the environment.
  • Uses the pro-search preset for high-quality, researched results.
  • Returns a JSON object with success, answer, and the model used.