In the agentic loop, what happens immediately after an agent takes an action (e.g., calls a tool)?