Voltar ao ranking

lichess-bot-devs/lichess-bot

Python

A bridge between Lichess bots and chess engines

chessbotlichess-apilichess-botlichesspythonbot-accountapi
Crescimento de estrelas
Estrelas
1k
Forks
559
Crescimento semanal
Issues
5
5001k
jan. de 2023mar. de 2024mai. de 2025jul. de 2026
ArtefatosPyPIpip install lichess-bot
README

lichess-bot

lichess-bot

A bridge between lichess.org and bots.
Explore lichess-bot docs »

Python Build Python Test Mypy

Overview

lichess-bot is a free bridge between the Lichess Bot API and chess engines.

With lichess-bot, you can create and operate a bot on lichess. Your bot will be able to play against humans and bots alike, and you will be able to view these games live on lichess.

See also the lichess-bot documentation for further usage help.

Features

Supports:

  • Every variant and time control
  • UCI, XBoard, and Homemade engines
  • Matchmaking (challenging other bots)
  • Offering Draws and Resigning
  • Participating in tournaments
  • Accepting move takeback requests from opponents
  • Saving games as PGN
  • Local & Online Opening Books
  • Local & Online Endgame Tablebases

Can run on:

  • Python 3.10 and later
  • Windows, Linux and MacOS
  • Docker

Steps

  1. Install lichess-bot
  2. Create a lichess OAuth token
  3. Setup the engine
  4. Configure lichess-bot
  5. Upgrade to a BOT account
  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 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.

Citation

If this software has been used for research purposes, please cite it using the "Cite this repository" menu on the right sidebar. For more information, check the CITATION file.

Repositórios relacionados
lichess-org/lila

♞ lichess.org: the forever free, adless and open source chess server ♞

ScalaGNU Affero General Public License v3.0scalachess
lichess.org
18.5k2.7k
official-stockfish/Stockfish

A free and strong UCI chess engine

C++GNU General Public License v3.0chesschess-engine
stockfishchess.org
16.1k3k
jhlywa/chess.js

A TypeScript chess library for chess move generation/validation, piece placement/movement, and check/checkmate/draw detection

TypeScriptnpmBSD 2-Clause "Simplified" Licensechess
jhlywa.github.io/chess.js/
4.4k985
thomasahle/sunfish

Sunfish: a Python Chess Engine in 111 lines of code

PythonPyPIOthersunfishpython
chessprogramming.org/Sunfish
3.3k582
LeelaChessZero/lc0

Open source neural network chess engine with GPU acceleration and broad hardware support.

C++GNU General Public License v3.0alphazero-inspiredchess
lczero.org
3.2k600
niklasf/python-chess

A chess library for Python, with move generation and validation, PGN parsing and writing, Polyglot opening book reading, Gaviota tablebase probing, Syzygy tablebase probing, and UCI/XBoard engine communication

PythonPyPIGNU General Public License v3.0chessfen
python-chess.readthedocs.io/en/latest/
2.8k574
lichess-org/mobile

Lichess mobile app

DartGNU General Public License v3.0androidchess
2.4k453
Zeta36/chess-alpha-zero

Chess reinforcement learning by AlphaGo Zero methods.

Jupyter NotebookMIT Licensereinforcement-learningkeras
2.2k472
lichess-org/lichobile

lichess.org former mobile application / new one -> github.com/lichess-org/mobile

TypeScriptnpmGNU General Public License v3.0lichessstockfish
lichess.org/mobile
2.2k329
FreezingMoon/AncientBeast

The Turn Based Strategy Game/eSport. Master your beasts! 🐺

TypeScriptnpmGNU Affero General Public License v3.0gamejavascript
ancientbeast.com
1.9k698
franciscoBSalgueiro/en-croissant

The Ultimate Chess Toolkit

TypeScriptnpmGNU General Public License v3.0chesschess-database
encroissant.org
1.7k281
RonSijm/ButtFish

Effortlessly transmitting Morse Code of chess moves to your butthole 💝

C#buttplugchess
1.5k28