AGILE: An Agent-Assisted Infrastructure to Support Learning Environments