Learning Agent for AI class