Home › Glossary › Generative AI › Agentic loop

Beginner · Generative AI

Agentic loop

Visual diagram · (in preparation) · Math · (in preparation) · Worked example · 3 difficulty levels.

TL;DR. An agentic loop is a cycle where an agent observes, reasons, acts, and receives feedback until a set goal is met.

Technical Definition

An agentic loop is a cycle where an agent observes, reasons, acts, and receives feedback until a set goal is met.

How it works

An agentic loop describes the iterative process an AI agent follows to accomplish a task. It involves observing the current state, reasoning about the best course of action, acting upon that decision, and then incorporating feedback to refine subsequent steps until a termination condition, like task completion, is met.

Related Concepts

  • AI Agent — An AI system that autonomously plans, uses tools, and takes actions to accomplish goals through iterative reasoning.
  • Generative AI — An AI field focused on creating models that can generate novel and complex content, such as text, images, audio, and video, that is coherent and original.

Further Reading

  • Google ML Glossary