move get_agent to dao
move user set features to dao