Curate, connect, and discover
Imagine if you knew of a population of semi-wild hamsters that live communally near to where you live. They don't run for their lives and bolt into their nests for safety when they see you, they'll just kind of go "aw fuck there's that guy again" and just kind of lazily trot off - they know you're not really a predator, just an inconvenience. But some of them don't flee from you, they're a bit weird you guess, but those are your favourites. So every once in a while when you've got a task you really don't want to do alone, you can just walk up there, grab a hamster, pop it into your breast pocket and now you've got a little emotional support buddy for the day.
That's Gandalf's relationship with the hobbits.