Isn't plan mode just a "make a plan first, don't change anything yet" addendum to your prompt? Haven't tried Pi, but given it's famous extensibility, that should not be too hard to build.