This repo is a cargo workspace made up of multiple crates & binaries:
synthesis: The main library crate with all the main training & MCTS logic in itstudy-connect4: A binary crate that uses the synthesis library to train a network to play Connect4base65536: A small crate to encode/decode u8's into valid utf-8 stringsslimnn: A small neural network crate in pure rustexport: A binary crate that saves pytorch weights into a format slimnn can understandcargo run --release --bin study-connect4
slimnn for simple NN layer implementationsexport & base65536 for converting torch weights to utf-8 strings
https://github.com/LaurentMazare/tch-rs
Dual-licensed to be compatible with the Rust project.
Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.
$ claude mcp add synthesis \
-- python -m otcore.mcp_server <graph>