Computational Agents
Lesson 1 of 12
8%
Free Section Starter (Lesson 1)
PYTHON Free Section Starter Challenge 25 min

1. Intelligent Agent Architectures & Perception Loops

Overview: Design an autonomous agent that perceives stimuli through sensors and triggers actions via actuators.

Concept & Syntax Guide

An intelligent agent interacts with its environment in a continuous cycle: Sensors receive percepts, internal belief states are updated, and controllers select rational actions executed by actuators. In this lesson, we implement a stateful vacuum cleaning robot agent in Python.

Hands-On Practice Exercise

Implement Stimulus-Response Agent Cycle

Define an agent that perceives dirty tiles, executes "Move_Forward" and updates belief memory.

Target Output: Agent action executed: Move_Forward, Belief updated
Need a hint? Click here to reveal
Hint: Check syntax carefully and make sure your code contains: Agent action executed: Move_Forward, Belief updated
PYTHON Code Editor
1
2
3
4
5
6
7
8
9
10