Learning and Self-Regulation through Integrated Agent-Based System