add feature of add agent to list