Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

Agent Loops & ReAct

Implement the agent loop from scratch (decide, act, observe, repeat) with stop conditions, budgets and recovery from failed actions.

Intermediate1 roadmap

4 objectives 6 steps about 110 min

Learn it step by step

Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.

Start learning

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Implement a framework-free agent loop that alternates model calls and tool executions until a final answer or a stop condition.
  • Enforce step, time and token limits and detect loops or repeated failing calls.
  • Recover from tool errors and malformed calls without losing the task, and report a clear failure when recovery is impossible.
  • Explain how ReAct-style prompting relates to native tool calling and to reasoning models that interleave thinking with tool calls, and how a framework's agent abstraction maps onto the same loop.

Lesson plan

6 steps, about 110 min · 5 of 5 lessons available so far

Practise it

Build a framework-free agent with a calculator, a search stub and a file-reader tool; enforce a 10-step and token budget, inject three failure types (bad arguments, a tool exception, a timeout) and show that it recovers or stops with a clear message in each case. Then rebuild it with one agent framework and note what the framework hides.

Build it from scratch

Practice builds that exercise this skill by re-creating a real technology.

Browse 3 tutorials that practise it

References