Does my pet steal experience?

As long as you (or your party) do at least some damage your pet won't take any of the experience. If you (or your party) don't do any damage then the pet will take 75% of the experience.