An improved device which is introduced into the intestinal tract of a living organism and which operates autonomously therein, adapted to deliver one or more therapeutic agents. In one embodiment, the probe communicates wirelessly with a portable electronic device outside the organism in order to receive commands to deliver the therapeutic agent, or perform other functions while the probe is within the intestinal tract.