AI Agents
An agent is anything that sees and acts: sensors in, actuators out. A thermostat, a vacuum robot, a chatbot, a trading bot. Intelligence is how well it chooses actions for its goal. PEAS describes the job: Performance, Environment, Actuators, Sensors.
Vacuum: dirt sensor, bump sensor; motors to move and suck; goal = clean tiles. Chatbot: text in, text out. Don’t call every Python script an agent unless it has that sense–act loop.
AI Agents — output — suck / turn. Percept in, action out.
sensors → agent → actuators
│
▼
environmentExam tip
Sense–act + one PEAS sketch.