We actually have a section about this in the AxonIQ Library, right here.
We decided that, as a form of automation, it ideally has a UI for operators to act on. Axon Framework cannot be that UI, as I believe is a relatively clear choice. Instead, Axon Framework only provides the API to trigger a split, merge, release, or claim a segment.
But, AxonIQ does have an operator’s UI for Axon products, called AxonIQ Console. On AxonIQ Console, when connecting your application, you can define how segments should be load balanced over the amount of instances you have. You can even set it up such that it automatically splits or merges segments when your application node count changes.
If you prefer not to use AxonIQ Console, you will simply have to build it from scratch. However, I do recommend you give it a try. It provides a ton of other benefits for your operation-needs.