Let me try to understand this. :-)
ExecutionEnvironment = EE
Agents = A
AgentApplications deployer = AAD
So, you (first) deploy EE, and then number of As?
Or the order doesn't matter since As are only picked up by AAD?
And then you try to re-deploy EE, but As still see the old one?
If my assumptions are correct, then what you're looking for is what OSGi does.
And we already have that. ;-)
You need to add proper dependency metadata.
It can be either jboss-classloading.xml (CL dependencies) or
jboss-dependency.xml (generic dependency).
The CL dep is more correct, but it's more complex.
Apart from defining dependency on the EE's package(s)
you would also need to define others possibly used by As.