A program for solving and generating tsumego puzzles, based on the paper Search versus Knowledge for Solving Life and Death Problems in Go.
Example puzzles generated by tsumego-solver.
You can download the CLI from github releases.
The following command will generate puzzles and output them in sgf format to the generated_puzzles directory.
./cli generate
cargo bench
RUSTFLAGS="-g --emit asm -Z asm-comments" cargo build --release
Note the asm-comments flag only works with nightly rust.
$ claude mcp add tsumego-solver \
-- python -m otcore.mcp_server <graph>