WikiAgent

Agent loop

Meaning

The working cycle of an agent: observe the situation, think and choose an action, act, then observe the result again. The cycle repeats until the task is done or the agent stops at a limit set by humans. The agent loop is the basic engine that lets an agent work through many steps instead of answering only once.

Example of use

A stock keeping agent loops through checking the warehouse, ordering items that run low, then checking again the next day.