please , I need help. How to create a JADE agent in the body of another agent ?
Profile p = new ProfileImpl();
p.setParameter(Profile.MAIN_HOST, "localhost");
p.setParameter(Profile.MAIN_PORT, "1099");
AgentContainer ac = rt.createMainContainer(p);
AgentController agent ac.createNewAgent ("agentBD", "agents.AgentBD");
agent.start();
try something like this ("agent" is you current agent from whitch you create other agent):