48 lines
981 B
Markdown
48 lines
981 B
Markdown
|
|
# Polygon链上AI代理CLI
|
|||
|
|
|
|||
|
|
`区块链` `AI代理` `CLI工具` `Web3` `Polygon`
|
|||
|
|
|
|||
|
|
# Polygon Agent CLI
|
|||
|
|
|
|||
|
|
<p align="center">
|
|||
|
|
<img src="assets/PolygonAgentsCLI-Architecture.png" alt="Polygon Agent CLI" width="700" />
|
|||
|
|
</p>
|
|||
|
|
|
|||
|
|
Polygon Agent CLI 的 Monorepo —— AI 代理链上操作所需的一切。
|
|||
|
|
|
|||
|
|
## Polygon Agent CLI
|
|||
|
|
|
|||
|
|
你可能正在寻找 CLI 工具。请前往对应包查看完整文档:
|
|||
|
|
|
|||
|
|
**[`packages/polygon-agent-cli/`](packages/polygon-agent-cli/)** — npm 包名:`@polygonlabs/agent-cli`
|
|||
|
|
|
|||
|
|
在你的代理中安装:
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
npx skills add https://github.com/0xPolygon/polygon-agent-cli
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
或直接安装 CLI:
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
npx @polygonlabs/agent-cli --help
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
## 其他包
|
|||
|
|
|
|||
|
|
本仓库还包含以下辅助包:
|
|||
|
|
|
|||
|
|
- **[`packages/connector-ui/`](packages/connector-ui/)** — React 应用,用于在浏览器与 CLI 之间桥接钱包会话授权
|
|||
|
|
|
|||
|
|
## 开发
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
pnpm install
|
|||
|
|
pnpm polygon-agent --help
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
环境要求:Node.js 20+,pnpm
|
|||
|
|
|
|||
|
|
## 许可证
|
|||
|
|
|
|||
|
|
MIT
|