Current Regulation

My team’s robot has a lot of motors and a decent chance of popping the main breaker. Are there any good ways to regulate current such that the driver can have occasional bursts of power but can’t pop the main breaker? I already have code which will limit the current of the robot by altering the maximum voltage of motors in the drive train and I need to know how to effectively set a limit on current for the whole robot.