Homework on agents