This is the third post of series Building TinyAgent where we are building a small agent from scratch in Node.js with no frameworks just the API calls.

Post 1 made one API call. Post 2 streamed the response. This post turns those calls into a conversation.

It sounds pretty simple but the moment your agent has memory, your bill starts growing fast and almost no tutorial warns you about it.

Let's see why? 🧐

1. The array grows