When the next step has more than one option
In Module 3 the agent alternated between reasoning and acting. Often, at a given moment, several actions are possible. This module is about how an agent looks at those options, compares them and chooses one, without turning into an algorithms course.
When an agent has several possible actions, how does it search and compare different paths?
| Term | Plain meaning |
|---|---|
| Search space | Everything the agent could do from here, and what could follow |
| Candidate actions | The specific actions the agent is considering right now |
| State space | The different situations the agent could end up in |
| Branching | One state leading to several possible next actions |
A simulated helpdesk agent must handle an employee question about a leave policy. Candidate actions: search the policy document, ask a clarifying question, draft an answer from memory, or route the case to HR. Each is a branch.
Info