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

> 一个 API key 即可调用所有 LLM 和 100+ 实时数据 API，按用量计费。

AIsa 为 AI 智能体和开发者提供统一网关，用于发现、调用和支付模型与数据 API。

无需为每个供应商分别管理账户和订阅，你只需一个 API key 即可访问：

* **主流 LLM 和媒体模型：** 通过统一端点调用 OpenAI、Anthropic、Gemini、Grok、DeepSeek、Qwen、Kimi、GLM、MiniMax 等。
* **100+ 实时数据 API：** 访问电商、社媒、搜索与 SEO、公司与人、市场和出行等数据，无需与各供应商单独签订合同。
* **按用量计费：** 每次调用从同一个预付余额中扣费，支持按 key 设置消费限额，并在支持的端点上提供免费报价。部分数据端点还支持无需 API key 的 [MPP 机器支付](https://aisa.one/docs/zh/integrations/machine-payments.md)。

## 面向 AI 智能体

将 AIsa 作为工具连接到你的智能体。登录通过浏览器 OAuth 完成，无需复制 API key。

> [card] [通过 MCP 连接](https://aisa.one/docs/zh/agent-quickstart.md)
>
> 推荐方式。将 `https://mcp.aisa.one/mcp` 添加到 Claude Code、Codex、Cursor 或任何 MCP 客户端。

> [card] [安装智能体技能](https://aisa.one/docs/zh/get-started/agent-skill.md)
>
> 一条命令即可为你的编程智能体提供使用 AIsa 的内置指令。

> [card] [使用 CLI](https://aisa.one/docs/zh/get-started/cli.md)
>
> 在终端、脚本和 CI 环境中搜索、报价和调用工具。

> [card] [集成](https://aisa.one/docs/zh/guides/tutorials/use-aisa-in-claude.md)
>
> Claude Code、Codex、Cursor、OpenClaw、Hermes 等的配置指南。

## 面向开发者

使用标准 SDK 或直接 HTTP 调用将 AIsa 集成到你的代码中。

> [card] [API Key 与首次调用](https://aisa.one/docs/zh/guides/getting-started-with-aisa.md)
>
> 创建 key 并用 curl 发起你的第一个请求。

> [card] [OpenAI / Anthropic SDK](https://aisa.one/docs/zh/get-started/sdk-compatibility.md)
>
> 继续使用现有 SDK：只需切换 base URL 和 API key。

> [card] [API 参考](https://aisa.one/docs/zh/api-reference.md)
>
> 浏览所有模型和数据端点，附带交互式示例。

> [card] [工作原理](https://aisa.one/docs/zh/how-it-works.md)
>
> 了解认证、端点和计费如何协同工作。

## 可用资源

> [card] [模型](https://aisa.one/docs/zh/guides/models.md)
>
> GPT、Claude、Gemini、Grok、DeepSeek、Qwen、Kimi 等，统一端点调用。

> [card] [数据 API](https://aisa.one/docs/zh/resources/data-apis.md)
>
> 电商、社媒、搜索与 SEO、公司与人、市场数据、出行等，无需单独的供应商账户。

> [card] [智能体技能](https://aisa.one/docs/zh/agent-skills.md)
>
> 为编程智能体准备的现成任务指令。

在线目录：[aisa.one/models](https://aisa.one/models) 查看模型，[aisa.one/api](https://aisa.one/api) 查看数据 API。


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