A real estate agent who was getting ready to show a foreclosed home to a potential buyer apparently interrupted a burglary in progress, police say.