New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

axon-code

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axon-code

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

latest
Source
npmnpm
Version
2.6.1
Version published
Maintainers
1
Created
Source

Axon

The AI coding assistant that runs everywhere

Use any model. Extend with plugins. Let AI agents build your project.

npm License Node Discord

Website | Live Demo | User Guide | Discord | 中文

Axon Demo

Watch on YouTube | Download video | Try Live Demo

Axon is a powerful AI coding assistant with a built-in Web IDE, multi-agent task system, and self-evolution capabilities. It gives you full control — choose your AI provider, extend functionality through plugins and MCP servers, and even let the AI modify its own source code.

Quick Start

# Install
npm install -g axon-code

# Set your API key (Anthropic, OpenRouter, DeepSeek, or any OpenAI-compatible provider)
# No API key? Get one at https://api.chatbi.site (Claude Sonnet & Opus, OpenAI-compatible)
export ANTHROPIC_API_KEY="sk-..."

# Terminal mode
axon

# Web IDE mode (opens at http://localhost:3456)
axon-web

Other install methods

Docker
# 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

# Terminal only
docker run -it \
  -e ANTHROPIC_API_KEY=your-api-key \
  -v $(pwd):/workspace \
  -v ~/.axon:/root/.axon \
  wbj66/axon
Desktop App (Windows / macOS / Linux)

Download the latest installer from chatbi.site:

  • Windows: Axon-Setup.exe or Portable .zip
  • macOS: Axon-Setup.dmg
  • Linux: Axon-Setup.AppImage
Uninstall
npm uninstall -g axon-code

What makes Axon different

Web IDE

A full browser-based IDE — not just a chat window.

  • Monaco Editor with multi-tab, syntax highlighting, and AI-powered hover tips
  • File tree with right-click context menus, just like VS Code
  • AI-enhanced editing — select code, ask AI, get inline changes
  • Real-time streaming via WebSocket
  • Session management — create, resume, fork, and export conversations
  • Checkpoint & Rewind — snapshot files and time-travel through your session
Web IDEReal-time Streaming

Multi-Agent Blueprint System

Give Axon a complex task and it breaks it down across multiple AI agents working in parallel.

  • Planner decomposes the task into an execution graph
  • Lead Agent coordinates workers and tracks progress
  • Workers execute independently with full tool access
  • Task Queue with priority scheduling and persistence
  • Auto-review validates output before marking complete
Blueprint System

Self-Evolution

Axon can modify its own source code, compile, and hot-reload — adding new tools and capabilities on the fly.

You: "Add a tool that queries weather data"
Axon: *writes the tool code, compiles TypeScript, restarts, tool is ready*

37+ Built-in Tools

CategoryTools
File opsRead, Write, Edit, MultiEdit, Glob, Grep
ExecutionBash, background tasks, scheduled jobs
WebFetch pages, search the web
CodeJupyter notebooks, LSP, Tree-sitter parsing
BrowserPlaywright-based full browser automation
PlanningPlan mode, Blueprint, sub-agents
MemoryLong-term memory with semantic search, vector store, BM25
IntegrationMCP protocol, Skills marketplace, plugins
PerceptionCamera (Eye), Microphone (Ear), Speech (Mouth)

Extensible by Design

  • MCP Protocol — connect any Model Context Protocol server
  • Skills — community-contributed prompt-based capabilities (PDF, DOCX, XLSX, PPTX, and more)
  • Plugins — write custom JavaScript/TypeScript extensions
  • Hooks — pre/post tool execution callbacks
  • Custom tools — create tools at runtime that persist across sessions

Works with Any Provider

ProviderSetup
AnthropicANTHROPIC_API_KEY=sk-ant-...
OpenRouterANTHROPIC_BASE_URL=https://openrouter.ai/api/v1
AWS BedrockCLAUDE_CODE_USE_BEDROCK=1
Google Vertex AICLAUDE_CODE_USE_VERTEX=1
Any OpenAI-compatibleSet ANTHROPIC_BASE_URL to your endpoint

Proxy Server

Share your API key or Claude subscription with other devices on your network.

# On the host (has the API key)
axon-proxy -k my-secret

# On client machines
export ANTHROPIC_API_KEY="my-secret"
export ANTHROPIC_BASE_URL="http://<host-ip>:8082"
axon
Proxy options
FlagDefaultDescription
-k, --proxy-keyauto-generatedKey clients use to authenticate
-p, --port8082Port to listen on
-H, --host0.0.0.0Bind address
--anthropic-keyauto-detectOverride Anthropic API key
--auth-tokenauto-detectOverride OAuth access token
--targethttps://api.anthropic.comUpstream API URL

The proxy auto-detects credentials: ANTHROPIC_API_KEY env var > ~/.axon/.credentials.json (OAuth).

Configuration

VariableDescriptionDefault
ANTHROPIC_API_KEYAPI key (required)-
ANTHROPIC_BASE_URLCustom API endpointhttps://api.anthropic.com
AXON_LANGLanguage (en/zh)auto-detect
AXON_CONFIG_DIRConfig/data directory~/.axon

MCP Servers

Add external tool servers in .axon/settings.json:

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

CLI Reference

axon                          # Interactive mode
axon "Analyze this project"   # With initial prompt
axon -p "Explain this code"   # Print mode (non-interactive)
axon -m opus "Complex task"   # Specify model
axon --resume                 # Resume last session
axon-web                      # Web IDE
axon-web -p 8080 -H 0.0.0.0  # Custom port and host
axon-web --ngrok              # Public tunnel
axon-web --evolve             # Self-evolution mode

Community

Extending Axon

The fastest way to extend Axon is to write a Skill (a prompt file with structured instructions) or a Plugin (a JS/TS module with lifecycle hooks). Both are auto-loaded from ~/.axon/skills/ and ~/.axon/plugins/.

For bug reports and feature requests, please open an issue.

Sponsors

Axon is free to use. Sponsorships keep development going. See sponsor tiers →

Founding Sponsors

Your name/logo here — become a sponsor

PayPal

WeChat Pay    Alipay

License

Axon is proprietary software. Free for personal use. For commercial or enterprise use, please contact kill.136@163.com.

中文版 README

Keywords

claude

FAQs

Package last updated on 22 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts