The entry point for PM configuration APIs is vcProcessController, which you can get from vcSimulation.
https://help.visualcomponents.com/4.8/Premium/en/Python_API/vcProcessController.htm
You will need to use vcProcessFlowGroupManager to create the flow group, then vcProductTypeManager to create the Product Type(s), vcProcessFlowTable2 to create the flow sequence (create flow steps and add process groups into them), and finally
vcTransportSystem to create the transport links, which you can configure to use the AGV transport controller.
Some of these pages have examples.