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

# SDK 概覽

> AgentWallex 官方 TypeScript 和 Python SDK — 功能矩陣與安裝。

## 官方 SDK

AgentWallex 為 AI 代理開發中最熱門的兩種語言提供官方 SDK：

<CardGroup cols={2}>
  <Card title="TypeScript SDK" icon="js" href="/zh-Hant/sdks/typescript">
    npm 上的 `@agentwallex/sdk`。功能完整，包含 TypeScript 型別、x402 HTTP 攔截器和 async/await 支援。
  </Card>

  <Card title="Python SDK" icon="python" href="/zh-Hant/sdks/python">
    PyPI 上的 `agentwallex`。原生非同步支援、型別化模型和完整 API 覆蓋。
  </Card>
</CardGroup>

## 快速安裝

<CodeGroup>
  ```bash npm theme={null}
  npm install @agentwallex/sdk
  ```

  ```bash yarn theme={null}
  yarn add @agentwallex/sdk
  ```

  ```bash pip theme={null}
  pip install agentwallex
  ```
</CodeGroup>

## 功能矩陣

| 功能                          | TypeScript | Python |
| --------------------------- | ---------- | ------ |
| 代理 CRUD                     | 是          | 是      |
| 發送付款                        | 是          | 是      |
| 策略管理                        | 是          | 是      |
| x402 pay                    | 是          | 是      |
| x402 工作階段管理                 | 是          | 是      |
| x402 HTTP 攔截器               | 是          | 是      |
| Webhook 管理                  | 是          | 是      |
| 型別化錯誤類別                     | 是          | 是      |
| Async/await                 | 是          | 是      |
| TypeScript 型別 / Python 型別提示 | 是          | 是      |
| 沙箱 + 正式環境                   | 是          | 是      |
| 自訂逾時配置                      | 是          | 是      |
| 自動退避重試                      | 是          | 是      |

## 最低需求

| SDK        | 執行環境    | 版本   |
| ---------- | ------- | ---- |
| TypeScript | Node.js | 18+  |
| Python     | CPython | 3.9+ |

## REST API

如果您使用的語言未列於上方，您可以直接使用 [REST API](/zh-Hant/api-reference/overview)。API 文件完整，包含每個端點的請求/回應範例。

<Info>
  Go、Rust 和 Java 的社群 SDK 在路線圖上。如果您有興趣貢獻，請透過 [support@agentwallex.com](mailto:support@agentwallex.com) 聯繫我們。
</Info>
