The tricky slave is a stock character. He is a clever, lower-class person who brings about the happy ending of a comedy for the lovers. He is more clever than the upper-class people about him, both the lovers and the characters who block their love, and typically also looking out for his own interests. In the New Comedy, the tricky slave (dolosus servus or servus callidus) aimed to get his freedom by assisting his young master in love.[1]
Northrop Frye identified him as a central portion of the Myth of Spring comedy and a type of eiron character.
Besides Serpina, another female version of the tricky slave would be Morgiana, a clever slave girl from "Ali Baba and the Forty Thieves" in the One Thousand and One Nights (Arabian Nights). She is initially in Cassim's household but on his death she joins his brother Ali Baba and through her quick-wittedness she saves Ali's life many times and eventually kills his worst enemy, the leader of the Forty Thieves. As reward, Ali frees her and Morgiana marries Cassim's son.