The aim of the Kernel Management is to be integrated in larger applications such as the Jupyter Server.
python -m jupyter_kernel_mgmt.discovery
Similarly to jupyter_client, the Kernel Management can be used in different flavors and use cases. We are looking to your contributions to enrich the example use cases. You can get inspiration from the test_client.py source code.
PS: The existing separated jupyter_client can not be used in combination with the Kernel Management. The KernelClient code to use should be the one shipped by Kernel Management, not by jupyter_client.