Axon

March 28, 2026 · View on GitHub

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 IDE Real-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*

45+ Built-in Tools

CategoryTools
File opsRead, Write, Edit, MultiEdit, Glob, Grep
ExecutionBash, Cron (scheduled jobs), background tasks
WebWebFetch, WebSearch
CodeJupyter notebooks (edit + write), LSP integration
BrowserPlaywright-based full browser automation
AgentsSub-agents (Explore, Plan, Guide, Monitor, Parallel)
BlueprintTask decomposition, Lead Agent, Dispatch Workers
PlanningPlan mode, Goal tracking, Task management, TodoWrite
MemoryLong-term memory with embedding vectors, BM25, hybrid search
IntegrationMCP protocol, Skills, custom tool creation, self-evolution
PerceptionCamera (Eye), Microphone (Ear)
StructuredStructured output, code review submission

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