Axon Language

Cognitive Flow Oriented Programming Language for local data processing and explicit AI orchestration. Use functions, native modules and interop to prepare focused context before invoking models.

axon
These pages describe the implemented interpreter contracts in 0.4.0-beta.1. Complete examples identify external prerequisites; planned capabilities are tracked separately in the roadmap.

Quick Start

Start with the portable runtime. Native language, HTTP and SQLite operations do not require Ollama or Python.

1. Download Axon

Use the download page for the Windows x64 or Linux x86_64 archive, matching checksum and extraction commands. Keep the complete extracted directory. macOS currently requires an experimental source build.

2. Optional: prepare Ollama

Install Ollama separately only for model or embedding calls. Start its server if another instance is not already running.

bash

3. Run your first program

Save this as hello.axon. No model is needed.

axon
text

CLI

bash
CommandBehavior
axon run file.axonParse and execute the entry program.
axon check file.axonCheck entry-file syntax; does not execute or recursively check imports.
axon versionPrint the runtime version.
axon testRun the bundled runtime and interpreter self-test executables.

Use the executable path instead of axon if it is not on PATH. CLI test covers two self-test binaries; the complete source suite is run through CTest. A failure produces a nonzero exit status.

Build from Source

Use CMake 3.20+, a C/C++17 toolchain and Python 3.9+ for the complete test suite. Unix builds need libcurl development files; TLS fixtures need OpenSSL development files. Initial configuration downloads pinned dependencies and needs network access.

Clone axon-core and run commands from its root. Use the v0.4.0-beta.1 tag to reproduce the documented release; main may contain later work.

bash

Windows: MSYS2 UCRT64 + Ninja

Run the block below in Git Bash after installing the UCRT64 toolchain. In an MSYS2 UCRT64 terminal, required packages include mingw-w64-ucrt-x86_64-gcc, mingw-w64-ucrt-x86_64-ninja and mingw-w64-ucrt-x86_64-openssl. Keep compiler, headers and libraries from the same toolchain.

bash

Linux: native build

bash

Linux via Docker

bash

The Dockerfile builds a Linux runtime image locally. It does not produce Windows/macOS binaries or publish a registry image. See the release guide for portable packaging.