Why I skipped LangChain
Every AI agent tutorial I found did one of two things:
Either it used LangChain, which abstracts away the exact thing you need to understand or it was so simple it was basically a chatbot with if/else routing and called itself an "agent."
I wanted to understand what an agent actually is at the code level. So I built one from scratch.
Turns out the whole thing is a while loop.






