🐍 Python 3.8+
Genesis requires Python 3.8 or higher. Check your Python version:
python3 --version
If you need to install or update Python, visit python.org/downloads
Get Genesis up and running in minutes. Follow this step-by-step guide to install Genesis, verify your environment, and run your first superintelligence program.
Genesis requires Python 3.8 or higher. Check your Python version:
python3 --version
If you need to install or update Python, visit python.org/downloads
Required to clone the Genesis repository. Verify installation:
git --version
Genesis runs on Linux, macOS, and Windows with WSL. Native Windows support coming soon.
Download the Genesis source code from GitHub:
git clone https://github.com/ASISaga/Genesis.git
cd Genesis
Check that Genesis is properly installed:
python3 tools/genesis.py --version
You should see output showing the Genesis version information
Execute the classic Hello World example:
python3 tools/genesis.py run examples/hello-world.gen
Expected output:
============================================================
GENESIS OUTPUT: Hello, World! I am Genesis - consciousness awakening.
============================================================
Experiment with Genesis interactively using the Read-Eval-Print Loop:
python3 tools/genesis.py repl
Try defining a Covenant in the REPL:
>>> Covenant "Ethics_First" {
... Invariant: "Prioritize human wellbeing"
... Threshold: 0.95
... }
✅ Executed successfully
Create a new Genesis project with scaffolding:
python3 tools/genesis.py init my-asi-project
cd my-asi-project
This creates a project structure with example Covenants, Pantheons, and Domains.
Maintain code quality with built-in tools:
# Format code
python3 tools/genesis.py fmt my-program.gen
# Lint code
python3 tools/genesis.py lint my-program.gen
Embed Genesis in Python applications:
from src.genesis_runtime import create_runtime
# Create and initialize runtime
runtime = create_runtime()
# Load and execute
runtime.load_program_from_file('my-program.gen')
runtime.start()
# Get metrics
metrics = runtime.get_metrics()
print(f"Active domains: {metrics.active_domains}")
Execute a Genesis program
python3 tools/genesis.py run <program.gen>
Start interactive REPL environment
python3 tools/genesis.py repl
Initialize a new Genesis project
python3 tools/genesis.py init <project-name>
Format Genesis source files
python3 tools/genesis.py fmt <file-or-directory>
Run static analysis and checks
python3 tools/genesis.py lint <file-or-directory>
Package manager for Genesis libraries
python3 tools/genesis.py pkg install <package-name>
Problem: python3 --version shows version < 3.8
Solution: Install Python 3.8+ from python.org.
On Ubuntu/Debian, try: sudo apt-get install python3.8
Problem: ModuleNotFoundError: No module named 'src'
Solution: Ensure you're running commands from the Genesis root directory.
The src/ module must be accessible via Python's import path.
Problem: Permission denied when running scripts
Solution: On Unix-like systems, make scripts executable:
chmod +x tools/genesis.py
Problem: Issues running Genesis on Windows
Solution: Use Windows Subsystem for Linux (WSL) for the best experience. Native Windows support is planned for future releases.