I used to breed lovebirds (just two pairs) and they were so smart! They knew that "get in!" meant it was time to fly to their cages. I've had several parrots, cockatiels, parakeets, finches - - lovebirds were definitely the most fun!
I keep my parrot's wing's clipped. He will follow me all over the house if I dont, and he would fly away if outside. My previous parrot I had from an egg and I never cut her wings. She went outside and came back to me always.