The loop in forty lines, the tools it calls, and what it carries between turns.
What you will be able to do
Build an agent you can explain line by line, then decide whether a framework earns its place.