Integrating Learning In A Multi-Scale Agent