# 使用 npm 安装 agents

查看 agents 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:agents
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g agents
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:agents
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/agents>
- **版本:** 0.20.1
- **来源摘要:** A home for your AI agents
- **仓库:** <https://github.com/cloudflare/agents>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/agents/-/agents-0.20.1.tgz>
- **问题跟踪器:** <https://github.com/cloudflare/agents/issues>
- **发布时间:** 2026-07-28T16:08:02.450Z
- **最后更新:** 2026-07-28T16:08:02.450Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- agents (cli)
- agents (别名)

## 依赖

- @babel/plugin-proposal-decorators
- @cfworker/json-schema
- @rolldown/plugin-babel
- cron-schedule
- esbuild
- mimetext
- nanoid
- partyserver
- partysocket
- yaml
- yargs

## 构建依赖

- @ai-sdk/react
- @cloudflare/codemode
- @modelcontextprotocol/client
- @modelcontextprotocol/conformance-v2
- @modelcontextprotocol/sdk
- @modelcontextprotocol/server
- @tanstack/ai
- @types/react
- @types/yargs
- @vitest/browser-playwright
- @x402/core
- @x402/evm
- ai
- chat
- glob
- just-bash
- react
- vitest-browser-react
- zod

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.20.1
- 管理器更新时间: 2026-07-28
- 本地数据: OK
- 上游仓库: https://github.com/cloudflare/agents
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 agents 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Beta: 0.0.0-9631b6d, Canva: 0.0.0-d163561f, Latest: 0.20.1
- **Version Count:** 645
- **Maintainers:** threepointone, rita3ko, whoiskatrin
- **Publisher:** GitHub Actions
- **Peer Dependencies:** @ai-sdk/react, @cloudflare/codemode, @modelcontextprotocol/client, @modelcontextprotocol/sdk, @modelcontextprotocol/server, @tanstack/ai, @x402/core, @x402/evm, ai, chat, just-bash, react, vite, zod
- **Integrity:** sha512-HQRYMeZpD3k8djYBH7atRPojZMee3NvmXkzsmMWXfdHZ94vMljmWqSsD1XZd70LovHyQrw6/R81AZZIsRiFM6Q==
- **Shasum:** 4b9fca3805fc90a350e388d7556f8b32466bbdaa
- **Unpacked Size:** 5,004,019
- **File Count:** 0
- **Created At:** 2012-10-14T19:15:29.193Z
- **Latest Published At:** 2026-07-28T16:08:02.450Z
- **Modified At:** 2026-07-28T16:08:02.817Z


## 相关链接

- [MCP tool packages](https://pkg.so/zh-hans/mcp-tools/) - Matched curated package taxonomy and local package facts.
- [node-llama-cpp](https://pkg.so/zh-hans/npm/node-llama-cpp/) - Both packages work with overlapping file formats or content types. Shared terms: ai, cli, json, llm, nanoid.
- [agent-browser](https://pkg.so/zh-hans/npm/agent-browser/) - Local package facts share a topical domain. Shared terms: agents, ai, ai-agents, cli.
- [claude-flow](https://pkg.so/zh-hans/npm/claude-flow/) - Both packages work with overlapping file formats or content types. Shared terms: agents, ai, ai-agents, cli, llm.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
