> For the complete documentation index, see [llms.txt](https://docs.goassay.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goassay.ai/developers/zh/readme.md).

# 开发者文档

连接 AI 客户端、保护提供方端点，或了解 Assay 的付款与验证流程。

本文档适合在 AI 客户端中安装 Assay、以提供方身份接入 API，或自行构建集成的开发者。请从符合你角色的路径开始；设置页面包含所需的网页操作。

## 使用工具

[安装 assay-mcp](/developers/zh/shi-yong-gong-ju-ru-men/install-assay-mcp.md)，让你的 AI 通过一个连接使用工具。付款前，你可以查看工具说明、价格和提供方质量信息。连接本地 AI 客户端，通过浏览器登录。请使用已发布的软件包 **@goassay-ai/mcp**。

需要付费调用时，继续阅读**付费流程**和**支出限额**。支付密钥保存在你的电脑上；你在钱包中批准它的支出权限。托管连接器（claude.ai、ChatGPT，以及在 Claude Desktop 中添加的连接器）只能进行免费调用。

## 上架你的 API

通过提供工具服务获取 API 收益，并用质押为付费工具提供保障。从 [API 密钥还是签名](/developers/zh/shang-jia-ni-de-api-ru-men/api-key-or-signature.md)开始，选择端点如何认证 Assay 请求。该页会引导你选择两种方式之一：在 Cloudflare Worker 中部署现成的验证器，或在 Node、Python、Go 服务中验证。

提供方设置页面介绍请求认证。**底层原理**解释 Assay 如何评估返回结果、检查如何影响付款，以及质押保障什么。请阅读收据中的检查结果，不要把付款已结算当作结果正确的证明。

## 底层原理

* [架构](/developers/zh/di-ceng-yuan-li/architecture.md) — 客户端、Assay、提供方和支付合约。
* [一次付费调用的全过程](/developers/zh/di-ceng-yuan-li/life-of-a-call.md) — 请求、本地签名、结果和付款。
* [调用如何被验证](/developers/zh/di-ceng-yuan-li/verification.md) — 检查、判定及其局限。
* [结算与保留期](/developers/zh/di-ceng-yuan-li/settlement.md) — 预留、退款、收款和欠款调用。

付款和质押使用 **Robinhood Chain** 上的 **USDG**。托管 MCP 连接为 `https://mcp.goassay.ai/`。

## 参考

* [智能合约](/developers/zh/can-kao/smart-contracts.md) — 托管余额、质押、权限和事件。
* [MCP 工具](/developers/zh/can-kao/mcp-tools.md) — 发现与调用工具，以及结果元数据。

## 延伸阅读

* 概览：[欢迎使用 Assay](https://docs.goassay.ai/overview/zh)，了解网页应用的操作流程。

## 下一步

* [安装 assay-mcp](/developers/zh/shi-yong-gong-ju-ru-men/install-assay-mcp.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.goassay.ai/developers/zh/readme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
