How AI tool calling works (40 lines of vanilla JavaScript)
- JavaScript: 5 events in the last 90 days
- Previous: 6 days earlier · Security boffin claims airport group left API keys in client-side JavaScript for four years
What happened
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.
Summary assembled by rule from the sources below