AIKA Installation Guide START HERE

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

Prerequisites

Installation Steps

# 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.

Project Structure

After installation, your project will have the following structure:

Running Tests

To 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

Troubleshooting

If you encounter any issues during installation, check the following:

Next Steps

✅ Installation Complete! You're ready to start building with AIKA.

Continue to Tutorial →

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.