Skip to main content

agentic loop

·88 words·1 min
Dave the human
Author
Dave the human
Homo sapiens in the loop

The agentic loop consists of the core components of an AI agent:

  1. Brain (or reasoning engine)
  2. Planning: the agent uses techniques like chain-of-thought (COT) or ReAct to decide what to do next based on previous outcomes
  3. Memory:
    • Short-term: the immediate context window (current conversation)
    • Long-term: vector databases or logs that allow the agent to “remember” past experiences across different sessions
  4. Tools (capabilities): APIs, web search, code execution environments, or database access. Tools allow the agents to affect the real world (e.g. booking a flight, sending an email, etc.)

Comments