Skip to main content

AI-powered coding agent — Claude Code-style CLI for AI-assisted coding

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

axons-0.1.2.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

axons-0.1.2-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file axons-0.1.2.tar.gz.

File metadata

  • Download URL: axons-0.1.2.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for axons-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3902ca098846318066339abc4b4532bab35bf8d0d85993d0849b0c78cb433d30
MD5 d21ecddc13c1da2ead9a7251a74436cb
BLAKE2b-256 82fb7efb375b27588ee8d628a8819db3eaf5dc2f1c95ae14ec56b6992640a8bc

See more details on using hashes here.

File details

Details for the file axons-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: axons-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for axons-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b90cb239e230c216adfd4d55b3988671845ceff0a6ac4afd3b54be91e5dbf4a3
MD5 d2654e341aefb96f9f420998571f0e6b
BLAKE2b-256 7f7a32262d8432f0f07ac0d02e17b982ea5e07e9e8823a8cafbdec8bbff1e49b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page