code: public void createAgent(String agent_name, String path) {
          IComponentIdentifier agent = cmsService.createComponent(agent_name,
                  path, null, null).get(new ThreadSuspendable());
          createdAgents.put(agent_name, agent);
      }
docs: Creates a real agent in the platform
  
  @param agent_name
  The name that the agent is gonna have in the platform
  @param path
  The path of the description (xml) of the agent