An open-source code for the Complex-valued approach to the Kuramoto model is available:
Python version at colab
MATLAB version - GitHub