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.
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.
3. Run your first program
Save this as hello.axon. No model is needed.
CLI
| Command | Behavior |
|---|---|
axon run file.axon | Parse and execute the entry program. |
axon check file.axon | Check entry-file syntax; does not execute or recursively check imports. |
axon version | Print the runtime version. |
axon test | Run 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.
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.
Linux: native build
Linux via Docker
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.