agentsystem homeworks