Skip to main content

Requirements

AXON requires Python 3.12 or higher.

Install from PyPI

The simplest way to install AXON is via pip:
The basic installation includes the compiler and runtime with zero dependencies. Install [tools] for real tool backends like WebSearch, or [all] for everything including model provider SDKs.

Install from Source

For development or to get the latest changes:
1

Clone the repository

2

Create a virtual environment

Activate it:
3

Install in editable mode

This installs AXON with:
  • Real tool backends (tools)
  • Development dependencies (dev) - pytest, ruff, etc.

Verify Installation

Check that AXON is installed correctly:
You should see output like:

API Keys Configuration

AXON supports multiple LLM backends and tool providers. Configure the ones you need:

Model Provider Keys

Get your API key from console.anthropic.com

Tool Backend Keys

If you installed axon-lang[tools], configure tool backends:

Serper (Web Search)

Get your key at serper.dev
Free tier: 2,500 queries one-time

Using .env Files

For convenience, create a .env file in your project root:
1

Copy the example file

2

Edit .env with your keys

The example file looks like this:
.env
Never commit .env to version control. It’s already in .gitignore.

Available Installation Extras

AXON supports several optional dependency groups:
For development, none of the API keys are required — stub tools work without keys and allow you to test the compiler and runtime.

Tool System Modes

AXON’s tool system supports three modes:

Next Steps

Quickstart Guide

Build your first AXON program

CLI Reference

Learn all CLI commands