private void list() {
		if (agents.isEmpty()) {
			UI.setError("No hay agents activos");
		} else {
			UI.clearError();
			Agent agent;
			int i;

			UI.printHeader();
			System.out.println(agents.size() + " agentes activos:");
			System.out.println("");

			for (i = 0; i < agents.size(); i++) {
				agent = agents.get(i);
				System.out.println((i + 1) + ") Agente: "
						+ agent.getType() + "  Alias: "
						+ agent.getAlias());
			}

			System.out.println("");
			System.out.println("Pulsa intro para volver... ");
			BufferedReader buffer = new BufferedReader(new InputStreamReader(
					System.in));
			try {
				buffer.readLine();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}