npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

axon-code

v2.6.1

Published

AI coding assistant with Web IDE, multi-agent system, and self-evolution

Downloads

34

Readme

Axon

AI 编程助手,支持 Web IDE、多智能体协作、自我进化

任意模型。插件扩展。让 AI 帮你搭建整个项目。

npm License Node Discord

官网 | 在线体验 | 操作手册 | Discord | English

YouTube 观看 | 下载视频 | 在线体验


Axon 是一个强大的 AI 编程助手,内置 Web IDE、多智能体任务系统和自我进化能力。你拥有完全的控制权 —— 自由选择 AI 服务商,通过插件和 MCP 服务器扩展功能,甚至可以让 AI 修改它自己的源代码。

快速开始

# 安装
npm install -g axon-code

# 设置 API Key(支持 Anthropic、OpenRouter、DeepSeek 等任意 OpenAI 兼容服务商)
export ANTHROPIC_API_KEY="sk-..."

# 终端模式
axon

# Web IDE 模式(打开 http://localhost:3456)
axon-web

其他安装方式

# Web IDE
docker run -it \
  -e ANTHROPIC_API_KEY=your-api-key \
  -p 3456:3456 \
  -v $(pwd):/workspace \
  -v ~/.axon:/root/.axon \
  wbj66/axon node /app/dist/web-cli.js --host 0.0.0.0

# 仅终端
docker run -it \
  -e ANTHROPIC_API_KEY=your-api-key \
  -v $(pwd):/workspace \
  -v ~/.axon:/root/.axon \
  wbj66/axon

chatbi.site 下载最新安装包:

  • Windows: Axon-Setup.exe 或便携版 .zip
  • macOS: Axon-Setup.dmg
  • Linux: Axon-Setup.AppImage
npm uninstall -g axon-code

Axon 的独特之处

Web IDE

完整的浏览器 IDE —— 不是聊天窗口。

  • Monaco 编辑器,多标签页、语法高亮、AI 悬浮提示
  • 文件树,右键上下文菜单,VS Code 体验
  • AI 增强编辑 —— 选中代码问 AI,获得行内修改
  • WebSocket 实时流式响应
  • 会话管理 —— 创建、恢复、分叉、导出
  • 检查点与回退 —— 文件快照和时间旅行

多智能体蓝图系统

给 Axon 一个复杂任务,它会自动拆解成多个 AI Agent 并行执行。

  • 规划器 将任务分解为执行图
  • Lead Agent 协调 Worker,追踪进度
  • Worker 独立执行,拥有完整工具权限
  • 任务队列 基于优先级调度,支持持久化
  • 自动评审 验证输出后才标记完成

自我进化

Axon 可以修改自身源码、编译 TypeScript、热重载 —— 随时增加新工具和新能力。

你:「增加一个查询天气的工具」
Axon:*编写工具代码,编译,重启,工具立即可用*

37+ 内置工具

| 类别 | 工具 | |---|---| | 文件操作 | Read, Write, Edit, MultiEdit, Glob, Grep | | 执行 | Bash, 后台任务, 定时任务 | | Web | 抓取网页, 搜索互联网 | | 代码 | Jupyter Notebook, LSP, Tree-sitter 解析 | | 浏览器 | 基于 Playwright 的全浏览器自动化 | | 规划 | 规划模式, 蓝图, 子代理 | | 记忆 | 长期记忆,语义搜索, 向量存储, BM25 | | 集成 | MCP 协议, 技能市场, 插件 | | 感知 | 摄像头(Eye), 麦克风(Ear), 语音(Mouth) |

可扩展架构

  • MCP 协议 —— 接入任意 Model Context Protocol 服务器
  • Skills —— 社区贡献的提示词技能(PDF、DOCX、XLSX、PPTX 等)
  • 插件 —— 编写自定义 JavaScript/TypeScript 扩展
  • Hooks —— 工具执行前后的回调
  • 运行时自定义工具 —— 创建的工具跨会话持久化

支持任意 AI 服务商

| 服务商 | 配置 | |---|---| | Anthropic | ANTHROPIC_API_KEY=sk-ant-... | | OpenRouter | ANTHROPIC_BASE_URL=https://openrouter.ai/api/v1 | | AWS Bedrock | CLAUDE_CODE_USE_BEDROCK=1 | | Google Vertex AI | CLAUDE_CODE_USE_VERTEX=1 | | 任意 OpenAI 兼容 | 设置 ANTHROPIC_BASE_URL 指向你的端点 |

代理服务器

将你的 API Key 或 Claude 订阅共享给局域网内的其他设备。

# 宿主机(持有 API Key 的机器)
axon-proxy -k my-secret

# 客户端
export ANTHROPIC_API_KEY="my-secret"
export ANTHROPIC_BASE_URL="http://<宿主机IP>:8082"
axon

| 参数 | 默认值 | 说明 | |---|---|---| | -k, --proxy-key | 自动生成 | 客户端连接密钥 | | -p, --port | 8082 | 监听端口 | | -H, --host | 0.0.0.0 | 绑定地址 | | --anthropic-key | 自动检测 | 手动指定 Anthropic API Key | | --auth-token | 自动检测 | 手动指定 OAuth Access Token | | --target | https://api.anthropic.com | 上游 API 地址 |

代理服务器按优先级自动检测凭据:ANTHROPIC_API_KEY 环境变量 > ~/.axon/.credentials.json(OAuth)。

配置

| 变量 | 说明 | 默认值 | |---|---|---| | ANTHROPIC_API_KEY | API 密钥(必填) | - | | ANTHROPIC_BASE_URL | 自定义 API 端点 | https://api.anthropic.com | | AXON_LANG | 语言(en/zh) | 自动检测 | | AXON_CONFIG_DIR | 配置/数据目录 | ~/.axon |

MCP 服务器

.axon/settings.json 中添加外部工具服务器:

{
  "mcpServers": {
    "filesystem": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path"]
    }
  }
}

CLI 参考

axon                          # 交互模式
axon "分析这个项目"              # 带初始 prompt
axon -p "解释这段代码"           # 打印模式(非交互)
axon -m opus "复杂任务"         # 指定模型
axon --resume                 # 恢复上次会话
axon-web                      # Web IDE
axon-web -p 8080 -H 0.0.0.0  # 自定义端口
axon-web --ngrok              # 公网隧道
axon-web --evolve             # 自我进化模式

社区

扩展 Axon

扩展 Axon 最快的方式是写一个 Skill(结构化提示词文件)或 Plugin(JS/TS 模块)。它们分别从 ~/.axon/skills/~/.axon/plugins/ 自动加载。

Bug 反馈和功能建议请提交 Issue

赞助

Axon 免费使用,赞助帮助我们持续开发。查看赞助层级 →

创始赞助者

你的名字/Logo 也可以出现在这里 — 成为赞助者

许可证

Axon 为专有软件,个人使用免费。商业或企业用途请联系 [email protected]

English README