A code-level walkthrough of rebuilding the 'status' bot from Part 2 as an agent — and why the real shift is from authored branching logic to tool-driven planning.