AI-orchestrated Arch Linux distribution built with archiso. Targets low-RAM systems (1.9GB) with Intel Atom processors, featuring OpenCode AI assistant, Sway/Hyprland desktop environments, and a GTK graphical installer.
- Low RAM optimized: Runs on systems with as little as 1.9GB RAM
- Dual Compositors: Sway (software rendering) and Hyprland (modern GPU)
- AI Assistant: OpenCode integrated out-of-the-box
- Persistence: Dynamic USB persistence with ext4 partition
- Multi-GPU Support: Intel, AMD, and NVIDIA drivers included
- GTK Installer: External installer (
/usr/local/bin/mados-installer) for disk installation
# Build the ISO (requires Arch Linux with archiso)
sudo pacman -S archiso
sudo mkarchiso -v -w work/ -o out/ .Build requirements:
- ~10GB free disk space
- Build artifacts:
work/(safe to delete after) - Final ISO:
out/ - Build time: ~10-20 minutes
- Minimum: Intel Atom, 1.9GB RAM
- Recommended: Intel/AMD integrated graphics, 4GB+ RAM
.
├── airootfs/ # Root filesystem for the ISO
│ ├── etc/ # System configuration
│ │ ├── skel/ # User skeleton files (.config for Sway/Hyprland)
│ │ └── systemd/ # Systemd units
│ └── usr/local/bin/ # Custom scripts
│ └── mados-* # madOS utilities
├── tests/ # Unit and integration tests
├── .github/ # CI/CD workflows and agents
├── profiledef.sh # ISO metadata and file permissions
├── packages.x86_64 # Package list
└── pacman.conf # Pacman configuration
# Run all unit tests
python3 -m pytest tests/ -v
# Run a single test file
python3 -m pytest tests/test_boot_scripts.py -v# Install tools
pip install ruff
pacman -S shellcheck
# Run linters
ruff check .
ruff format .
shellcheck airootfs/usr/local/bin/*.shpip install pre-commit
pre-commit install- Stage 1: Unit tests + integration tests (parallel)
- Stage 2: Installer validation in Arch container
- Stage 3: ISO build with mkarchiso
- Stage 4: Upload to Internet Archive
- Stage 5: GitHub Release + website update
- CONTRIBUTING.md - Contribution guidelines
- AGENTS.md - Agentic coding guidelines
airootfs/usr/share/doc/madOS/- In-system documentation
See LICENSE for details.