docs: public AgentComponent addAgent() { //3
        AgentComponent t = new AgentComponent();
        if (this.agent == null)
          this.agent = new ArrayList<AgentComponent>();
        this.agent.add(t);
        return t;
      }