docs: public IPlan[] getAgentPlans(final String agent_name, Connector connector) {
          ((IExternalAccess) connector.getAgentsExternalAccess(agent_name))
                  .scheduleStep(new IComponentStep<Plan>() {
  
                      public IFuture<Plan> execute(IInternalAccess ia) {
  
                          IBDIInternalAccess bia = (IBDIInternalAccess) ia;
                          plans = bia.getPlanbase().getPlans();
                          return null;
                      }
                  }).get(new ThreadSuspendable());
  
          return plans;
      }