Types of Agents — AI Technical Interview Questions & Answers

Types of Agents

Types of Agents

  • Types in order of power: simple reflex (if dirt then suck). Model-based reflex (keeps an internal map). Goal-based (plans toward a goal). Utility-based (picks the better of two good goals). Learning agent (improves from feedback).
  • Thermostat is simple reflex. A robot vacuum that remembers cleaned tiles is model-based. A GPS that compares routes is utility-ish. Say the ladder; don’t memorise only names.
  • Output: idea / do / check for Types of Agents. Fill those three in the viva.
  sensors  →  agent  →  actuators
                │
                ▼
            environment

Technical Interview Tip: Name four types + one example each.

Code Examples for Types of Agents

Example

# Types of Agents
print("idea :", "Types of Agents")
print("do   : one tiny example on paper")
print("check: one failure case")

Output: idea / do / check for Types of Agents. Fill those three in the viva.

How to Explain Types of Agents to an Interviewer

What types of Agents should you not mix up?

Reflex → model → goal → utility → learning Thermostat = simple reflex

Which type ships in products today?

Narrow / limited memory

What mistake do freshers make when naming types?

Calling ChatGPT AGI