code: public Object getBeliefValue(String agent_name, final String belief_name,
              Connector connector) {
  
          ((IExternalAccess) connector.getAgentsExternalAccess(agent_name))
                  .scheduleStep(new IComponentStep<Integer>() {
  
                      public IFuture<Integer> execute(IInternalAccess ia) {
                          IBDIInternalAccess bia = (IBDIInternalAccess) ia;
                          belief_value = bia.getBeliefbase()
                                  .getBelief(belief_name).getFact();
                          return null;
                      }
                  }).get(new ThreadSuspendable());
          return belief_value;
      }
docs: This method takes the value of an agent's belief through its external
  access
  
  @param agent_name
  The name of the agent
  @param belief_name
  The name of the belief inside agent's adf
  @param connector
  The connector to get the external access
  @return belief_value The value of the requested belief