Perplexity

Search the web with AI-powered answers via Perplexity API. Returns grounded responses with citations. Supports batch queries.

dvcrn Updated 32 repo stars

File contents

Perplexity Search

AI-powered web search that returns grounded answers with citations.

Search

Single query:

node {baseDir}/scripts/search.mjs "what's happening in AI today"

Multiple queries (batch):

node {baseDir}/scripts/search.mjs "What is Perplexity?" "Latest AI news" "Best coffee in NYC"

Options

  • --json: Output raw JSON response

Notes

  • Requires OPENROUTER_API_KEY environment variable
  • Responses include citations when available
  • Batch queries are processed in a single API call

dvcrn/openclaw-skills-marketplace/tree/main/plugins/mrnicholasbcarter-code--openrouter-perplexity/skills/perplexity commit 42a61c033a

Frequently asked questions

npx skillmds@latest add dvcrn/perplexity-5