AI Memory for Complex Tasks