In Ant-Man, there are many situations in which multiple large armies of ants each have separate complex tasks that they are doing simultaneously. And we also imagine that some armies of ants are sometimes left without tasks to perform at any given moment.
Hank explains controlling the ants with an ear piece. Hope describes controlling the ants with mental focus.
But how are multiple complex jobs controlled without a chain of command? And what is keeping the unassigned ants from eating everything in the house? Has Hank programmed algorithms into his ear piece? And are there hardware devices around the house running routine control programs?
I am wondering if the comics or some Marvel web site might address these questions.