alterlab-perplexity

Search the web with Perplexity models via OpenRouter and LiteLLM.

58|9|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-perplexity
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: alterlab-perplexity
Source: https://github.com/AlterLab-IEU/AlterLab-Academic-Skills/tree/main/skills/research-tools/alterlab-perplexity
Command: npx skills add https://github.com/AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-perplexity

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires litellm, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Quickly acquire current, web-grounded information and literature insights using Perplexity models via OpenRouter, with source citations.

Core Features & Use Cases

  • Real-time web search across domains with citation-backed results
  • Multi-model access via a single OpenRouter key (sonar-pro, sonar-pro-search, sonar-reasoning, etc.)
  • Easy setup and integration with LiteLLM for research workflows

Quick Start

Provide an OpenRouter API key and run the Perplexity search script to begin querying.

Frequently Asked Questions about alterlab-perplexity

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get real-time web search results with source citations for a literature review?▼

Real-time web search results with source citations are obtained by querying Perplexity models via OpenRouter. This approach retrieves current scientific literature and domain-specific information beyond a model's knowledge cutoff, grounding responses with citation-backed sources.

Do I need an OpenRouter API key to access Perplexity models for web-grounded searches?▼

An OpenRouter API key is required to access Perplexity models for web-grounded searches. The setup integrates the LiteLLM library to route requests through OpenRouter, enabling multi-model access including sonar-pro and sonar-reasoning variants.

Can I use LiteLLM to integrate Perplexity web search into my research workflows?▼

LiteLLM is used to integrate Perplexity web search into research workflows by providing an easy setup for routing queries. It supports accessing multiple Perplexity models through a single OpenRouter key to retrieve current, web-grounded information.

What is the best way to retrieve current scientific literature beyond a model's knowledge cutoff?▼

The best way to retrieve current scientific literature beyond a model's knowledge cutoff is using web-grounded AI-powered searches. By applying Perplexity models through OpenRouter, users access real-time information and domain-specific web searches with citation-backed results.

Which Perplexity models are available through OpenRouter for domain-specific web searches?▼

Available Perplexity models through OpenRouter for domain-specific web searches include sonar-pro, sonar-pro-search, and sonar-reasoning. Multi-model access is supported via a single OpenRouter key to execute real-time, citation-backed literature retrieval.