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:Verify Installation
Check that AXON is installed correctly:API Keys Configuration
AXON supports multiple LLM backends and tool providers. Configure the ones you need:Model Provider Keys
- Anthropic (Claude)
- OpenAI (GPT)
- Google (Gemini)
- Ollama (Local)
Get your API key from console.anthropic.com
Tool Backend Keys
If you installedaxon-lang[tools], configure tool backends:
Serper (Web Search)
Using .env Files
For convenience, create a.env file in your project root:
Available Installation Extras
AXON supports several optional dependency groups:| Extra | What it includes | Install with |
|---|---|---|
tools | httpx for WebSearch backend | pip install axon-lang[tools] |
anthropic | Claude SDK | pip install axon-lang[anthropic] |
openai | GPT SDK | pip install axon-lang[openai] |
gemini | Gemini SDK | pip install axon-lang[gemini] |
ollama | Ollama SDK (local models) | pip install axon-lang[ollama] |
all | All of the above | pip install axon-lang[all] |
dev | pytest, ruff, build tools | pip install axon-lang[dev] |
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
