agentleFS
baofeng-techbaofeng-tech/agent-skills-so/multi-source-search/SKILL.md

multi-source-search

Skill0 starsChanged 7 months agoMITView on GitHub

Multi-source search for agents across web, scholar, Tavily, and Perplexity Sonar endpoints. Use when you need structured retrieval, citation-backed answers, or broad research coverage from one AIsa API key.

  • Reads credentials
  • Sends data out

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when you need one API surface for:

    line 21
  2. Very specific:

    Use messages because the AIsa Perplexity endpoints are presented as "Ask AI" endpoints in the official docs.

    line 263

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Multi-source Search

Multi-source search for autonomous agents, powered by AIsa.

Use this skill when you need one API surface for:

  • Structured web search
  • Scholar search
  • Hybrid scholar search
  • Tavily search and extraction tools
  • Perplexity Sonar answer-generation endpoints with citations

Compatibility

Works with any agentskills.io-compatible harness, including:

  • Claude Code and Claude
  • OpenAI Codex
  • Cursor
  • Gemini CLI
  • OpenCode, Goose, OpenClaw, Hermes
  • Any other harness that implements the Agent Skills specification

Requires Python 3, a POSIX shell, and AISA_API_KEY (available from aisa.one).

What This Skill Is Best For

Fast web lookup

Search the latest AI infrastructure launches and summarize the top sources.

Scholar-backed research

Find recent papers on multimodal reasoning from 2024 onward.

Citation-rich answers

Use Sonar Pro to answer which open-source agent frameworks are gaining traction and cite sources.

Deep research reports

Use Sonar Deep Research to produce a thorough market map of AI browser agents.

Quick Start

export AISA_API_KEY="your-key"

Search APIs

Web Search

curl -X POST "https://api.aisa.one/apis/v1/scholar/search/web?query=AI+frameworks&max_num_results=10" \
  -H "Authorization: Bearer $AISA_API_KEY"

Scholar Search

curl -X POST "https://api.aisa.one/apis/v1/scholar/search/scholar?query=transformer+models&max_num_results=10" \
  -H "Authorization: Bearer $AISA_API_KEY"

curl -X POST "https://api.aisa.one/apis/v1/scholar/search/scholar?query=LLM&max_num_results=10&as_ylo=2024&as_yhi=2025" \
  -H "Authorization: Bearer $AISA_API_KEY"

Hybrid Scholar Search

curl -X POST "https://api.aisa.one/apis/v1/scholar/search/smart?query=machine+learning+optimization&max_num_results=10" \
  -H "Authorization: Bearer $AISA_API_KEY"

Perplexity Sonar APIs

The deprecated /search/full and /search/smart nodes have been removed from this skill.

The replacement flow is the Perplexity API family:

EndpointUse case
/perplexity/sonarLightweight, cost-effective search answers with citations
/perplexity/sonar-proBetter for complex queries and multi-step follow-ups
/perplexity/sonar-reasoning-proStronger analytical reasoning with web search
/perplexity/sonar-deep-researchExhaustive research and long-form reports

These descriptions are based on the AIsa docs:

Sonar

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?"}
    ]
  }'

Sonar Pro

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 browser-use agent frameworks and cite the key differences."}
    ]
  }'

Sonar Reasoning Pro

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 small vertical AI agents can defend against general-purpose copilots."}
    ]
  }'

Sonar Deep Research

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, including product categories, pricing, and risks."}
    ]
  }'

Tavily APIs

curl -X POST "https://api.aisa.one/apis/v1/tavily/search" \
  -H "Authorization: Bearer $AISA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"latest AI developments"}'

curl -X POST "https://api.aisa.one/apis/v1/tavily/extract" \
  -H "Authorization: Bearer $AISA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://example.com/article"]}'

curl -X POST "https://api.aisa.one/apis/v1/tavily/crawl" \
  -H "Authorization: Bearer $AISA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com","max_depth":2}'

curl -X POST "https://api.aisa.one/apis/v1/tavily/map" \
  -H "Authorization: Bearer $AISA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'

Python Client

# Structured search
python3 scripts/search_client.py web --query "latest AI news" --count 10
python3 scripts/search_client.py scholar --query "transformer architecture" --count 10
python3 scripts/search_client.py smart --query "autonomous agents" --count 10

# Perplexity Sonar family
python3 scripts/search_client.py sonar --query "Summarize this week's AI launches"
python3 scripts/search_client.py sonar-pro --query "Compare AI agent frameworks with citations"
python3 scripts/search_client.py sonar-reasoning-pro --query "Analyze the defensibility of AI copilots"
python3 scripts/search_client.py sonar-deep-research --query "Write a deep research report on AI browser agents"

# Optional system instruction
python3 scripts/search_client.py sonar-pro \
  --query "Map the top coding agent products" \
  --system "Respond in markdown with a short executive summary first."

# Tavily utilities
python3 scripts/search_client.py tavily-search --query "AI developments"
python3 scripts/search_client.py tavily-extract --urls "https://example.com/article"

# Multi-source retrieval
python3 scripts/search_client.py verity --query "Is quantum computing ready for enterprise?"

API Reference

EndpointMethodDescription
/scholar/search/webPOSTWeb search with structured results
/scholar/search/scholarPOSTAcademic paper search
/scholar/search/smartPOSTHybrid scholar search
/scholar/explainPOSTGenerate result explanations
/perplexity/sonarPOSTLightweight search answers with citations
/perplexity/sonar-proPOSTAdvanced search answers for complex tasks
/perplexity/sonar-reasoning-proPOSTAnalytical reasoning with web search
/perplexity/sonar-deep-researchPOSTExhaustive research reports
/tavily/searchPOSTTavily search integration
/tavily/extractPOSTExtract content from URLs
/tavily/crawlPOSTCrawl web pages
/tavily/mapPOSTGenerate site maps

Parameters

Scholar search query parameters

ParameterTypeDescription
querystringSearch query
max_num_resultsintegerMax results (default 10)
as_ylointegerYear lower bound
as_yhiintegerYear upper bound

Perplexity request body

This skill sends a minimal OpenAI-style payload:

{
  "model": "sonar-pro",
  "messages": [
    {"role": "system", "content": "Optional system instruction"},
    {"role": "user", "content": "Your question"}
  ]
}

Use messages because the AIsa Perplexity endpoints are presented as "Ask AI" endpoints in the official docs. This skill keeps the payload intentionally small for broad compatibility.

Notes

  • /search/full and /search/smart are no longer documented here because those nodes have been retired.
  • The existing scholar and Tavily endpoints remain available.
  • verity still focuses on parallel retrieval from scholar, web, hybrid scholar, and Tavily sources.

Full API Reference

See API Reference for complete endpoint documentation.

Resources

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.