Skip to content

Setting up Fairy Stockfish on lichess

Đinh Hoàng Việt edited this page Sep 20, 2023 · 12 revisions

To set up a lichess bot with Fairy-Stockfish, it is recommended to use the lichess bot client https://github.com/lichess-bot-devs/lichess-bot or https://github.com/Torom/BotLi. Follow the instructions in its readme to set up your bot account and your bot client. Also check the initial blog post introducing lichess bots https://lichess.org/blog/WvDNticAAMu_mHKP/welcome-lichess-bots.

See @Fairy-Stockfish for an example of a bot set up with Fairy-Stockfish.

Configuration

Variants

Fairy-Stockfish supports all lichess variants, so make sure to enable/uncomment all variants in the config.yml.

NNUE

If you want to use NNUE networks to improve the strength of your Fairy-Stockfish bot, make sure to define the EvalFile option in the uci_options section according to https://github.com/fairy-stockfish/Fairy-Stockfish/wiki/Settings#evalfile. See https://fairy-stockfish.github.io/nnue/#current-best-nnue-networks for the strongest available variant NNUE networks.