Smart pellets