Notebook: HCAI_Lab_Agents.ipynb (Work in Google Colab or download the .ipynb file to local environment)
Work in groups of 2-4. Every group member must be able to explain the results.
Work in groups of 2-4 to build an agent for the Code4Life laboratory.
Your robot needs to collect samples, diagnose them, gather the required molecules, and produce medicines. Begin with a working state machine:
collect samples -> diagnose -> collect molecules -> produce medicine
Next, make your agent smarter. Which samples are worth taking? Can they be completed with the available molecules? When should the robot change its plan? Should it react to the competing robot?
Use these decisions to identify whether your solution behaves like a reflex, model-based, goal-based, or utility-based agent.
Start the challenge during the lab and continue it as part of the self-study regarding classes. Selected groups may share their strategies at the next lab, and effective solutions may receive bonus points.