agent-loop / README.md
burtenshaw's picture
burtenshaw HF Staff
Initial: agent loop animation
1f3a178 verified
---
title: Agent Loop
emoji: πŸ”
colorFrom: yellow
colorTo: gray
sdk: static
pinned: false
---
# The Agent Loop
Animated explainer for [Unit 6 of the Context Course](https://huggingface.co/learn/context-course): the agent loop. Renders the four-step cycle β€” `call llm β†’ parse β†’ execute β†’ append` β€” with a live terminal log that fills as the loop iterates and a `STOP Β· end_turn` branch that fires on the final pass.
Source composition (HyperFrames) lives at [github.com/huggingface/context-course/tree/main/course-hyperframes/agent-loop](https://github.com/huggingface/context-course/tree/main/course-hyperframes/agent-loop).
Embedded in the course via `<iframe>`.