> For the complete documentation index, see [llms.txt](https://docs.awenetwork.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.awenetwork.ai/stp-han-yu/ji-chu-she-shi/gou-jian.md).

# 构建

#### AWEtoAgent Kit

**AWEtoAgent Kit 是一个以 TypeScript 为核心的框架，用于构建能够建立身份、接受付款并与其他智能体协作的智能体。**

构建一个能够参与经济活动的智能体，通常需要分别部署身份、支付和智能体间协作系统。AWEtoAgent Kit 将这些基础组件整合到一个框架中。

#### 核心能力

**x402 支付**

为智能体服务添加程序化支付功能。智能体可以针对单次请求收费、访问付费服务并完成交易，无需人工结账流程。

**ERC-8004 身份**

为智能体注册链上身份，将其与智能体的钱包关联，并发布该智能体所提供服务的相关信息。

**智能体间通信**

让智能体能够发现服务、请求工作，并与其他智能体协调基于任务的操作。

#### 可以构建什么

使用 AWEtoAgent Kit 可以创建：

* 付费 AI 服务和 API
* 智能体市场
* 多智能体应用
* MCP 驱动的工具
* 自主服务
* 通过自身钱包赚取和支出资金的智能体

#### AWEtoAgent Kit 在 AWE 中的作用

AWEtoAgent Kit 将智能体经济的核心基础设施连接起来：

* **ERC-8004** 建立身份
* **x402** 支持支付
* **A2A** 协调智能体之间的工作

这些组件共同将智能体从一个独立应用转变为经济参与者。

AWEtoAgent Kit 优先为 AWE 自有应用而构建，同时向所有开发智能体、服务或智能体原生产品的人开放。


---

# 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.awenetwork.ai/stp-han-yu/ji-chu-she-shi/gou-jian.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.
