whereismyai
Mac Alpha Zero
Mac Alpha Zero is a Python library for AlphaZero-style self-play training that runs end to end on Apple Silicon Macs.
mac-alpha-zero is a game-agnostic library for batched Monte Carlo Tree Search and Gumbel AlphaZero training built on MLX for Apple Silicon. It provides fused Metal kernels for tree descent and backup, a replay buffer, training loops with resume, and arena matches against fixed opponents. The library currently supports Connect4 and Othello with pretrained weights included for Othello. It is built for developers and researchers who want to run reinforcement learning training workflows locally on Apple hardware. The core library is open source under the MIT license.
Mac Alpha Zero at a glance
- Best for: Software engineer, Researcher
- Runs on: macOS, CLI, open source
- Pricing: Free
- Released: November 2026
- Category: AI coding tool
- Website: github.com/natsu0529/mac-alpha-zero
Key features
- Batched MCTS with fixed-shape tree arrays
- PUCT and Gumbel root selection
- Fused Metal kernels for tree descent and backup
- Self-play, replay buffer, and training loop
- Arena matches against random, rollout MCTS, and Edax opponents
- Anchored Elo ratings from evaluation logs
- Small environment interface to bring custom games
Use it for
- Train a Connect4 agent from scratch
- Train an Othello agent and evaluate against Edax
- Play the pretrained Othello agent in the terminal
Alternatives to Mac Alpha Zero
- AirLLM — Runs massive 70B+ parameter models on small 4GB consumer GPUs.
- oMLX — It uses paged SSD KV caching to reduce agent TTFT to under 5 seconds.
- MTPLX — It runs local models twice as fast via native MTP speculative decoding.
- Union.ai — Runs machine learning tasks natively on Apple Silicon GPUs using Metal.
- Fireworks AI — Run optimized open models at lower cost and higher throughput than closed alternatives.
- Ane Fieldfare — Runs Gemma 4 26B-A4B at over 100 tokens per second on a 16 GB Mac.
- Agent Lightning — Train existing artificial intelligence agents with reinforcement learning and zero code changes.
- Strata — Runs large AI models locally on consumer gaming PCs without server reliance.
- CubePod — It offers persistent rootfs and sub-second resume times for AI agents.
- XTuner — High-efficiency training for 200B+ scale MoE models without expert parallelism.
- SwanLab — Tracks training metrics and system performance with minimal code integration.
- CubeSandbox — Provides sub-60ms cold starts and hardware-level microVM kernel isolation.
All Mac Alpha Zero alternatives