> ## 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.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# AIsa Smart Search

> 融合网页与学术搜索，获得更广泛证据。

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

**混合网页与学术搜索。** 当任务需要更广泛证据时，结合当前网页结果和学术来源。

## 安装

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

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

然后安装该技能：

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

## 智能体可以用它做什么？

> [card] 混合检索
>
> 同时搜索网页和学术来源。

> [card] 更广覆盖
>
> 减少单一来源搜索带来的盲区。

> [card] 研究摘要
>
> 跨来源类型总结发现。

> [card] 证据比较
>
> 比较当前来源与学术证据。

## 设置

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

## 用法

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

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

### 参数

| 参数 | 必填 | 默认值 | 说明 |
| - | - | - | - |
| `--query` / `-q` | Yes | — | 搜索查询 |
| `--count` / `-c` | No | 10 | 最大结果数（1–100） |

### 示例

```bash theme={null}
python3 ${CLAUDE_PLUGIN_ROOT}/skills/smart-search/scripts/search_client.py smart --query "impact of large language models on software engineering" --count 10
```

## 输出

脚本会打印来自网页和学术来源的混合结果集，包括标题、URL 和内容片段。

## 何时使用

当用户查询同时涉及通用知识和学术研究时使用该技能。例如新兴技术、具有实际应用的科学主题，或任何同时需要网页文章和论文的查询。

## 开始使用

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

## 相关

> [card] [AIsa Scholar Search](https://aisa.one/docs/zh/agent-skills/scholar-search.md)
>
> 学术论文和学术来源搜索。

> [card] [AIsa Web Search](https://aisa.one/docs/zh/agent-skills/web-search.md)
>
> 当前网页来源搜索。

> [card] [多源搜索](https://aisa.one/docs/zh/agent-skills/multi-source-search.md)
>
> 更广泛的搜索和答案工作流。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.