courses:hcai:lab_agents2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
courses:hcai:lab_agents2 [2026/09/29 21:28] – [Challenge] kktcourses:hcai:lab_agents2 [2026/09/29 21:34] (current) – removed kkt
Line 1: Line 1:
-===== Lab: Agents ===== 
- 
-==== Before the lab ==== 
- 
-  * **Reading:** 
-    * AIMA: **Chapter 2 - Intelligent Agents**. Focus on agents and environments, rationality and performance measures, PEAS descriptions, properties of task environments, and the differences between simple reflex, model-based, goal-based, and utility-based agents. 
-  * **Technical preparation:** 
-    * Open today's notebook and run all setup cells and the first code cell in **Segment 1** to verify that the notebook works in your environment. __You should see a two-location Vacuum World.__ 
- 
-==== Q&A ==== 
- 
-  - Consider a robotic vacuum cleaner. What belongs to the agent, what belongs to the environment, and what are its percepts and actions? 
-  - A vacuum agent moves left even though the right location is dirty. Does this prove that the agent is irrational? What information would you need before deciding? 
-  - What changes when the vacuum can perceive only whether its current location is clean or dirty, but cannot perceive its location or the condition of other locations? 
-  - Suppose the vacuum receives one point whenever it removes dirt. How might it exploit this performance measure, and how should the measure be redesigned? 
- 
-==== Notebook ==== 
- 
-**Notebook:** [[https://colab.research.google.com/drive/17naExyctS-SRUIJFCKeel16GDaDNNUfa?usp=sharing|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. 
- 
-==== Challenge ==== 
- 
-Work in groups of **2-4** to build an agent for the [[https://www.codingame.com/multiplayer/bot-programming/code4life|Code4Life]] laboratory. 
- 
-Your robot needs to collect samples, diagnose them, gather the required molecules, and produce medicines. Begin with a working state machine: 
-<code>collect samples -> diagnose -> collect molecules -> produce medicine</code> 
-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. 
- 
-==== Learn more! ==== 
- 
-  * FIXME 
  
  • courses/hcai/lab_agents2.1790717329.txt.gz
  • Last modified: 5 days ago
  • by kkt