New to AIKA? Follow this guide to set up your development environment. AIKA is a C++ neural network framework with Python bindings.
⏱️ Estimated time: 10-15 minutes | 📊 Skill level: Beginner-friendly
brew install pybind11apt-get install pybind11-dev or pip install pybind11pip install pybind11# Step 1: Clone the AIKA repository
git clone https://github.com/aika-algorithm/aika.git
cd aika-cpp
# Step 2: Create and activate a virtual environment
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Step 3: Install Python package in development mode
pip install -e .
# Step 4: Build the C++ core (out-of-source build)
mkdir -p build && cd build
cmake ..
cmake --build . --target install
# Step 5: Verify installation
cd ..
python tests/python/fields/subtraction-test.py
If the test runs successfully and prints computation results, AIKA is installed correctly.
After installation, your project will have the following structure:
src/ - C++ source codeinclude/ - C++ header filespython/ - Python helper modules (networks, types, utils, examples)tests/ - Test suite (cpp/ and python/ subdirectories)build/ - Build artifacts (created during compilation)specs/ - Formal specifications and documentationTo verify your installation, run the test suite:
# Python tests (Fields Module)
python -m unittest discover tests/python/fields
# Python tests (Network Module)
python -m unittest discover tests/python
# C++ tests
cd build && ctest
If you encounter any issues during installation, check the following:
which python).pip install pybind11xcode-select --install✅ Installation Complete! You're ready to start building with AIKA.
Learn how to build your first AIKA neural network with our step-by-step Tutorial, or explore Why AIKA? to understand what makes it different.