Glossary term
Glossary term
Architecture
The iterative cycle of observe-plan-act-reflect that an agent repeats until a task is complete.
The ReAct agent loop in LangChain executes: Thought (plan next action) → Action (call tool) → Observation (read result) → Thought → … until the agent returns a final answer or exceeds step limits.
Devin's software-engineering agent loop: read issue → plan implementation → write code → run tests → read error → revise code → re-run tests - cycling until all tests pass or human intervention is needed.
AutoGPT's agent loop persists across sessions: the agent records completed and pending tasks in memory, resumes the loop on restart, and continues working toward the original goal across multiple days.