How can an intelligent magic item cast the spells it knows without investing feats?

If an intelligent magic item (like a magic staff) somehow gains the ability to cast spells (like by taking levels of sorcerer), is there a way for it to cast its spells despite its lack of hands and a mouth if the intelligent magic item can’t also take feats like Silent Spell, Still Spell, and Eschew Materials?

For instance, is there some kind of feature that can be added to an intelligent magic item that could enable a magic staff to cast spells like a normal creature?