add memory agent progam