Skip to main content

Axon — AI-powered coding agent

Claude Code-style CLI for AI-assisted code generation, editing, and debugging.

Installation

pip install axons

Note: The package name is axons, but the command you run is axon.

Quick Start

# Set your API key
axon key sk-your-api-key

# (Optional) Set a custom model
axon model gpt-4o

# Or use a local model via Ollama
axon url http://localhost:11434/v1

# Start working
axon

Usage

axon                          Start interactive session
axon key <api_key>            Set your API key
axon model <model_name>       Set the LLM model
axon url <base_url>           Set custom API base URL
axon version                  Show version

Interactive Session Commands

Command Description
Just type a task The agent works on it with full tool access
/btw <question> Quick side question (no agent context)
/model <name> Switch model mid-session
/key <key> Update API key
/url <url> Update base URL
/workspace <dir> Change workspace
/clear Reset conversation
/exit Quit

Environment Variables

  • OPENAI_API_KEY — OpenAI API key
  • ANTHROPIC_API_KEY — Anthropic API key
  • AXON_API_KEY — Custom provider API key
  • OPENAI_BASE_URL — Custom API base URL
  • AXON_MODEL — Default model name
  • AXON_PROVIDER — Provider (openai, anthropic, ollama, custom)

Features

  • Multi-provider support — OpenAI, Anthropic, Ollama, and OpenAI-compatible APIs
  • Built-in coding tools — File editing, patching, code search, command execution, Git integration, and workspace navigation
  • Persistent conversation context
  • Workspace safety controls — Path confinement, dangerous command blocking, secret-file awareness, and output limits
  • MCP server support — Expose Axon's capabilities as MCP tools
  • Git-aware workflows — Status, diff, commit, and history tools

How It Works

  1. Install the package with pip install axons
  2. Run axon to start an interactive session
  3. Give Axon a coding task
  4. Axon plans and executes work using its tool system
  5. Review the results and continue iterating in the same session

Example

$ axon

> Add type hints to my project and fix any mypy errors.

Axon analyzes the codebase, updates files, runs checks, and reports the changes made.

Metadata

Release files for axons 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for axons 0.1.6
File Size Uploaded
axons-0.1.6.tar.gz 25.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for axons 0.1.6
File Interpreter ABI Platform
axons-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 50.9 kB

Release files / axons-0.1.6.tar.gz

Download URL axons-0.1.6.tar.gz
Size 25.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f06e0feb3a6771eda20287b18bf1285de9eb89a82d93e5ac79f48394e18ca7ef
BLAKE2b-256 checksum
How to use checksums
0949e69751b973ecee0f94823c45ae7e5eaf2521e8c5e9771972484af4328fcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.9

Release files / axons-0.1.6-py3-none-any.whl

Download URL axons-0.1.6-py3-none-any.whl
Size 25.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6a1cff2f1942610c606aaf80175aa6a746849bfc21e16c26b054ee146c45b14
BLAKE2b-256 checksum
How to use checksums
3fc60c7a9466eeafc525d9505dc3ded60cc7f031d2ccb6c7143e903584ae5ed1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page