Agent Engineering
ReAct Loop: Think → Act → Observe
Reasoning + Acting: an Agent completes tasks through repeated loops — a single question-and-answer is just one round. Scroll down to watch a complex task unfold across 14 loops automatically.
User instruction
Remove all console.log calls from the project, then run the tests to make sure nothing is broken
Thought
↓
Action
↓
Observation
↩ Back to Thought (loop continues)
Takeaway
Takeaway An Agent works as a loop: "Think → Act → Observe → Think again." A complex task may loop a dozen or more times. This is the fundamental difference between an Agent and a simple chatbot: it adjusts its strategy based on execution results.