This study presents the first chronic recording and decoding of activity in the vagus nerve of freely moving animals. The majority of vagal afferent fibers come from the gut and abnormal vagal activity has been linked to eating and metabolic disorders. The study uses carbon nanotube yarn electrodes, which have small size, high flexibility, and low impedance, to provide a stable, high-signal-to-noise ratio interface for chronic recording in small autonomic nerves in rats, with high-quality signals continuing up to four months after implantation. The technology was successfully applied to make the first direct measurements of vagal tone in freely moving animals, and the neural-recording data was synchronized with continuous video recording of the subjects. The results show several spike clusters that show tuning to animal eating, and the firing dynamics of multiple decoded spike clusters can be used to classify eating compared to drinking, grooming, and resting behaviors.