lesson 2: tool calling - free AI Agent training from buttercup.sh
Lesson 2 of the free buttercup.sh agent course: the twenty-line loop that turns a chat model into an agent, working JavaScript and Python, what each turn costs in tokens, and an exercise you run in the browser.