I have magpies outside my window and they are very intelligent and nice creatures. They sit in trees two together, close to each other, enjoying each other's company. I've seen them group together in bigger numbers to fend off cats and I've seen them tease cats in situations where they know the cat can't reach them.
They are known to recognize faces of people and have stunning memory, remembering hundreds of places where they stash their food reserves etc. I think they are awesome.