Building a Tiny ReAct Agent from Scratch