> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# AIsa 多源搜索

> 跨网页、学术、Smart Search、Tavily 和答案引擎搜索。

[在 GitHub 上查看 ->](https://github.com/AIsa-team/agent-skills/tree/main/multi-search)

**面向研究任务的多源搜索。** 从一个技能查询网页、学术、Smart Search、Tavily 和研究答案来源。

## 安装

如果还没有安装 AIsa CLI，请先安装：

```bash theme={null}
npm install -g @aisa-one/cli
```

然后安装该技能：

```bash theme={null}
aisa skills install multi-search
```

## Agent 可以用它做什么？

<CardGroup cols={2}>
  <Card title="多源检索" icon="magnifying-glass-plus">
    搜索网页、学术、Smart Search 和 Tavily 来源。
  </Card>

  <Card title="研究答案" icon="quote-left">
    使用面向答案的来源获取综合上下文。
  </Card>

  <Card title="覆盖检查" icon="layer-group">
    比较不同来源类型的结果。
  </Card>

  <Card title="简报准备" icon="file-lines">
    在撰写报告前收集证据。
  </Card>
</CardGroup>

## 设置

该技能需要 `AISA_API_KEY` 环境变量。作为 Claude 插件安装时，key 会通过插件的 `userConfig` 配置。

## 用法

用 `verity` 子命令运行搜索客户端：

```bash theme={null}
python3 ${CLAUDE_PLUGIN_ROOT}/skills/multi-search/scripts/search_client.py verity --query "<search query>" --count <results_per_source>
```

### 参数

| Argument         | Required | Default | Description     |
| ---------------- | -------- | ------- | --------------- |
| `--query` / `-q` | Yes      | —       | 搜索查询            |
| `--count` / `-c` | No       | 5       | 每个来源最大结果数（1–20） |

### 示例

```bash theme={null}
python3 ${CLAUDE_PLUGIN_ROOT}/skills/multi-search/scripts/search_client.py verity --query "impact of AI on healthcare diagnostics" --count 5
```

## 输出

脚本会打印：

1. 来自每个来源（Web、Smart、Scholar、Tavily）的**单独结果**
2. **置信度评估**，包括：
   * **Score**（0–100）— 对搜索结果的总体置信度
   * **Level** — Very High / High / Medium / Low / Very Low
   * **Sources queried** 和 **Sources OK** — 查询了多少来源、多少来源成功响应
   * **Total results** — 所有来源合并后的结果数
3. **AI Synthesis** — 结合所有来源并带引用的连贯摘要

### 置信度评分拆解

| Factor              | Weight | Description    |
| ------------------- | ------ | -------------- |
| Source availability | 40%    | 4 个来源中有多少返回结果  |
| Result quality      | 35%    | 实际结果数与预期结果数的比例 |
| Source diversity    | 15%    | 是否同时包含学术和网页来源  |
| Recency bonus       | 10%    | 至少一个来源成功时的奖励   |

## 何时使用

当用户需要尽可能全面且可靠的搜索结果时使用该技能。它最适合事实核查、综合研究、跨多个来源验证主张，或任何跨来源校验能显著提升价值的查询。该工具比单一搜索工具更慢，但更可靠。

## 开始使用

1. 在 [aisa.one](https://aisa.one) 注册（新账户有 \$2 免费额度）。
2. 从控制台生成 API key。
3. 设置 key 并安装技能：
   ```bash theme={null}
   export AISA_API_KEY="your-key"
   npm install -g @aisa-one/cli
   aisa skills install multi-search
   ```
4. 启动新的 Agent 会话，让运行时加载更新后的技能说明。

## 相关

<CardGroup cols={3}>
  <Card title="多源搜索" icon="magnifying-glass" href="/agent-skills/search">
    覆盖 web、scholar、Perplexity 和 Tavily 的完整搜索技能。
  </Card>

  <Card title="AIsa Smart Search" icon="wand-magic-sparkles" href="/zh/agent-skills/smart-search">
    混合网页与学术搜索。
  </Card>

  <Card title="AIsa Web Search" icon="globe" href="/zh/agent-skills/web-search">
    带摘要片段的当前网页结果。
  </Card>
</CardGroup>
