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

aisa-multi-search-engine

Skill0 starsChanged 7 months agoMITView on GitHub

Multi-source search engine powered by AIsa API. Combines Tavily web search, Scholar academic search, Smart hybrid search, and Perplexity deep research — all through a single AIsa API key. Includes confidence scoring and AI synthesis. Use when: the user needs web search, research, source discovery, or content extraction.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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:

    Search the web for structured results.

    line 47
  2. Distinctive:

    Search scholarly papers with optional year filtering.

    line 55
  3. Distinctive:

    Use Perplexity Sonar models for synthesized answers with citations.

    line 87
  4. Very specific:

    All endpoints use the AIsa API base URL https://api.aisa.one/apis/v1.

    line 156

≈ “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

AIsa Multi Search Engine v1.0.0

Multi-source search engine powered by AIsa API. One API key unlocks web search, academic search, Tavily integration, and Perplexity deep research with confidence-scored results.

Quick Start

export AISA_API_KEY="your-key-here"

Get your API key at aisa.one.

Search Tools

This plugin registers seven agent tools, each backed by a different AIsa API endpoint.

ToolDescriptionAIsa Endpoint
aisa_web_searchStructured web search results/scholar/search/web
aisa_scholar_searchAcademic paper search with year filtering/scholar/search/scholar
aisa_smart_searchIntelligent hybrid search (web + academic)/scholar/search/smart
aisa_tavily_searchAdvanced web search with depth, topic, time, domain filters/tavily/search
aisa_tavily_extractExtract clean content from URLs/tavily/extract
aisa_perplexity_searchDeep research via Perplexity Sonar models/sonar, /sonar-pro, etc.
aisa_multi_searchParallel multi-source search with confidence scoringMultiple endpoints

Usage Examples

Web Search

Search the web for structured results.

Use aisa_web_search to find "latest developments in AI agents 2025"

Academic Search

Search scholarly papers with optional year filtering.

Use aisa_scholar_search to find papers on "transformer architecture" from 2024 to 2025

Smart Search

Intelligent hybrid search combining web and academic sources.

Use aisa_smart_search to research "autonomous AI agents"

Tavily Search (Advanced)

Advanced web search with filtering options.

Use aisa_tavily_search for "AI startup funding" with topic "news" and time_range "month"

Tavily Extract

Extract full content from specific URLs.

Use aisa_tavily_extract to get content from ["https://example.com/article"]

Perplexity Deep Research

Use Perplexity Sonar models for synthesized answers with citations.

Use aisa_perplexity_search to answer "What is the current state of quantum computing?" with model "sonar-pro"
ModelBest For
sonarQuick answers, fast response
sonar-proDetailed answers with more citations
sonar-reasoning-proComplex reasoning and analysis
sonar-deep-researchExhaustive multi-step research

Multi-Source Search (Verity-Style)

Parallel search across all sources with confidence scoring and AI synthesis.

Use aisa_multi_search to comprehensively research "Is quantum computing ready for enterprise use?"

Confidence Scoring

The aisa_multi_search tool provides a deterministic confidence score based on four factors.

FactorWeightDescription
Source Availability40%How many search sources returned results
Result Quality35%Volume of results relative to expectations
Source Diversity15%Mix of academic and web sources
Recency10%Bonus for having any successful sources
ScoreLevelInterpretation
90-100Very HighStrong consensus across sources
70-89HighGood agreement, reliable sources
50-69MediumMixed signals, verify independently
30-49LowConflicting or sparse sources
0-29Very LowInsufficient data

Python CLI Client

A standalone Python client is included for command-line use.

# Web search
python3 scripts/search_client.py web --query "latest AI news" --count 10

# Academic search
python3 scripts/search_client.py scholar --query "transformer architecture" --year-from 2024

# Smart search
python3 scripts/search_client.py smart --query "autonomous agents" --count 10

# Tavily search
python3 scripts/search_client.py tavily --query "AI developments" --depth advanced

# Extract content from URLs
python3 scripts/search_client.py extract --urls "https://example.com/article"

# Perplexity deep research
python3 scripts/search_client.py sonar --query "quantum computing" --model sonar-pro

# Multi-source search with confidence scoring
python3 scripts/search_client.py verity --query "Is quantum computing ready?"

API Endpoints Reference

All endpoints use the AIsa API base URL https://api.aisa.one/apis/v1.

EndpointMethodDescription
/scholar/search/webPOSTWeb search with structured results
/scholar/search/scholarPOSTAcademic paper search
/scholar/search/smartPOSTIntelligent hybrid search
/scholar/explainPOSTGenerate result explanations with confidence
/tavily/searchPOSTTavily web search
/tavily/extractPOSTExtract content from URLs
/tavily/crawlPOSTCrawl web pages
/tavily/mapPOSTGenerate site maps
/sonarPOSTPerplexity Sonar (fast)
/sonar-proPOSTPerplexity Sonar Pro (detailed)
/sonar-reasoning-proPOSTPerplexity Sonar Reasoning Pro
/sonar-deep-researchPOSTPerplexity Sonar Deep Research

Configuration

The plugin accepts the following configuration options.

OptionTypeDefaultDescription
aisaApiKeystring—AIsa API key (or set AISA_API_KEY env var)
defaultMaxResultsinteger10Default max results per search (1-100)
defaultSearchDepthstringbasicDefault Tavily search depth

Architecture

┌─────────────────────────────────────────────────────────────┐
│                      User Query                             │
└─────────────────────────────────────────────────────────────┘
                              │
              ┌───────────────┼───────────────┐
              ▼               ▼               ▼
        ┌─────────┐     ┌─────────┐     ┌─────────┐
        │ Scholar  │     │   Web   │     │  Smart  │
        └─────────┘     └─────────┘     └─────────┘
              │               │               │
              └───────────────┼───────────────┘
                              ▼
                    ┌─────────────────┐
                    │  Tavily Search  │
                    └─────────────────┘
                              │
                              ▼
                    ┌─────────────────┐
                    │  AIsa Explain   │
                    │ (Meta-Analysis) │
                    └─────────────────┘
                              │
                              ▼
                    ┌─────────────────┐
                    │ Confidence Score│
                    │  + Synthesis    │
                    └─────────────────┘

Pricing

APIApproximate Cost
Web search~$0.001
Scholar search~$0.002
Smart search~$0.002
Tavily search~$0.002
Explain~$0.003
Perplexity Sonar~$0.005

Resources

License

MIT

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.