The word in Hebrew is aROOM, and it means "sensible," to have "smarts," which is why the RJPS 2023 renders Genesis 3:1:
The serpent was the shrewdest of all the wild beasts that the Eternal God had made.
It means "shrewd" in the sense of "prudence" in clever knowledge and sight, usually in navigation.
The idea, when absent of all Christian influence, is to be compared to the only other time, later in the Torah when an animal speaks, Numbers 22, when a jenny, or female donkey, talks to the prophet Balaam.
The situations are identical. Both people act as if animals always speak. Both talk back to the animals like normal. An angel with a sword is present in both accounts. A sin against the Mosaic Law is what is being considered by each player.
But the stories end differently. In Genesis, Eve breaks the Mosaic Law, the Law against stealing. Balaam does not, the Law against testifying falsely against one's neighbor (and using God's Name is vain in a curse--since he is a prophet). Both narratives seem to be lessons in dealing with breaking Decalogue terms of the covenant and their outcomes.
Due to the influence of Christology, most readers cannot see beyond the idea that the serpent must be "Satan the Devil," and thus the "shrewd" abilities of the "serpent" must be of "evil" intent. But there was no such being in Judaism at the time this was composed (and there continues to be none).
Yet when compared to the donkey in Numbers 22, the idea is that serpent is a narrative device of warning, having foresight into Eve's inner conflict over whether or not the idea of taking the steps she is contemplating is really a good idea. The same is to be said about the jenny in Balaam's story. The donkey can be likened to an inner dialogue, a form of narrative device that had yet to be invented for Balaam's "crisis of conscience." (Such "inner dialogue" would later be found in Hellenistic writings and even suggested in the Song of Songs.)
The angel with the sword at the end of both tales shows that deadly error for the negative path could be the outcome, but only one takes it. The other hears the warning, Balaam. Neither talking animal is a demon.
The idea of "Satan the Devil" as an evil entity would not be fully created until Christianity fleshed itself out as a facet within Judaism. For a brief time Judaism itself considered the idea that some angels were separate entities, some of which could be demonic as the Hellenists taught, but this idea fell to the wayside as the idea of God as an anthropomorphic deity was abandoned in favor of being the Ineffable concept it is today. It was during this period that Christianity developed the idea that Jesus was likely divine, and thus an "archenemy" in the Devil made more and more sense.