Store output of foregrounded agent run