UCI chess engine · Rust · NNUE
A from-scratch chess engine,
playing live on Lichess.
clrsrc is my own chess engine: an alpha-beta search written from scratch in Rust,
paired with a self-trained neural evaluation network (NNUE).
Not a Stockfish clone - own code, own training data. Here I document
the engine, the Lichess bot @clrsrc_lc0 and what I learn building it
with AI-assisted "vibe coding".
v1.1.1
Rust
own NNUE
x86-64 (Win/Linux)
GPL-3.0
From a Python engine hacked together in an afternoon to a standalone chess AI - in about three months, as a human-AI partnership. The whole story →
Site sections
What makes clrsrc different
Built from scratch, not forked
Many hobby engines are Stockfish derivatives. clrsrc isn't.
- ▸Own search. Alpha-beta/PVS written entirely from scratch in Rust - no third-party search underneath.
- ▸Self-trained NNUE. The evaluation network was trained on own self-play data and refined with a Stockfish 17.1 teacher.
- ▸One file, full strength. The NNUE is embedded in the binary - a single .exe runs right away, with no extra files.
- ▸Runs everywhere. Runtime SIMD dispatch picks AVX-512, AVX2 or scalar automatically - one binary for every x86-64 CPU.
- ▸Open. GPL-3.0, full source on GitHub. A CCRL rating-list entry is planned.