AI Agents That Research Before They Code