Day 04: Stop parsing prose. Make the model return a structThe working version of cartographer answered in paragraphs, so to get anything countable out of it I wrote a parser. Twelve lines of regex against the bullet list the model kept producing: a backticke98MKP2d ago · 9 min readharshakatkam.dev
Day 03: Your repo does not fit in the context window. Now what?Handing cartographer files one at a time had been working, so I did the obvious next thing and wrote the four lines that walk a repository and concatenate every source file into one string. Large cont38KNBOct 14 · 9 min readharshakatkam.dev
Day 02: An LLM is a stateless function. Everything else is youI pointed the forty-line version of cartographer at a second file and asked the obvious follow-up: how does this one relate to the last one? It asked me which file I meant. My first instinct was that 64BVNOct 11 · 8 min readharshakatkam.dev
Day 01: Why your first agent should be 40 lines, not a frameworkThe first agent I ever got working, I did not understand. I had installed a framework, pasted eleven lines out of its quickstart, and watched a correct answer appear. Then I changed the prompt slightl52KNOct 9 · 9 min readharshakatkam.dev
Day 00a: Six ideas that explain every AI agent, before any codeSomewhere in the first hour of reading about AI agents, you meet a diagram. A box labelled Thought, an arrow to Action, an arrow to Observation, and an arrow curling back to the start. The captions sa42KOct 6 · 24 min readharshakatkam.dev