added agents.txt, get_agent_list and set_agent_list