I love watching magpies. I have seen them tease cats by "foraging" just out of sprint and leap distance. They quickly fly up to a tree when the cat moves, always keeping an eye on it, and resume when the cat resets, as other magpies in the group watch from above. I've seen them harass a hawk try to eat a fresh hunt, six magpies surrounding it, taking turns pecking at the hawk's tail until it leaves.
They have interesting interactions with the hooded crows, tolerant of each other but still competitive over food. If a white tailed eagle enters they area they will together team up and attempt to chase it away.
They have complex social interactions with each. I've seen a younger magpie in a group get pinned down by a dominant one while several in the group pecked at its belly, because it ate out of order. They acknowledge even me, their neighbor, who occasionally leaves some winter food out for them.
Anyone who is fortunate to spend real time in or at the edge of nature, and takes the time to observe, should be humbled by the complexity and intelligence of the world around us. Some species stand out, of course, like the magpies.
Most of what we have created as the human race is best characterized as complication rather than complexity, when compared to the utter complexity of the natural world. In the era of AI I find it amusing that we believe we're approaching being able to construct a kind of real intelligence when so many can barely recognize, let alone understand, the "lesser" forms of intelligence around us.
BTW magpies have passed the mirror test