Skip to content

lichess-bot-devs/lichess-bot

Repository files navigation

lichess-bot

Python Build Python Test Mypy

A bridge between Lichess Bot API and bots.

Features

Supports:

  • Every variant and time control
  • UCI, XBoard, and Homemade engines
  • Matchmaking
  • Offering Draw / Resigning
  • Saving games as PGN
  • Local & Online Opening Books
  • Local & Online Endgame Tablebases

Steps

  1. Install lichess-bot
  2. Create a lichess OAuth token
  3. Upgrade to a BOT account
  4. Setup the engine
  5. Configure lichess-bot
  6. Run lichess-bot

Advanced options


Acknowledgements

Thanks to the Lichess team, especially T. Alexander Lystad and Thibault Duplessis for working with the LeelaChessZero team to get this API up. Thanks to the Niklas Fiekas and his python-chess code which allows engine communication seamlessly.

License

lichess-bot is licensed under the AGPLv3 (or any later version at your option). Check out the LICENSE file for the full text.