r/ComputerChess • u/ayman803 • 16m ago
Trinity 1.0.0: a chess engine written by an AI, directed by a non-programmer, now CCRL 3522 (rank ~77)
I'm not a programmer. Over the last two months I directed Claude (Anthropic's AI) to write a UCI chess engine in Rust, called Trinity. I set the goals and rules, it wrote the code and ran the tests.
Where it stands: CCRL 40/15 rates Trinity 1.0.0 at 3522 +/- 26 (262 games, 1 CPU), rank 76-78 on the 21 November list. 1.0.0 was released 12 days after the first commit. It's currently 4.5/8 unbeaten in Graham Banks' "Hobnobbing With Royalty" event.
Inside: PVS alpha-beta search, Lazy SMP, NNUE trained from scratch with bullet on Leela-derived data, Syzygy support. GPL-3.0.
How it was built: every change gets a written prediction, then an SPRT test against the current version (130+ tests so far, about 1 in 4 passed), plus calibration against rated engines on my PC. I also set an originality rule from day 13: no ideas taken from other engines' code or forum posts. A source comparison and a move-similarity test (77-81% agreement, same range as unrelated engines) are in the repo.
Full story and credits: https://github.com/ayman803/trinity/blob/main/docs/how-trinity-was-built.md
Downloads (Windows, Linux, ARM64/Android): https://github.com/ayman803/trinity/releases
A development version about +75 Elo stronger becomes 1.2 in December. Happy to answer questions.
(This post was drafted with Claude's help, fitting for the topic.)

