Researchers aim to develop a swallowable smart pill that temporarily operates in the gut to gently adjust nerve activity linked to stress.