Bean seeds that are still green are dried and sold as flageolets - there are various uses for them - mainly because when rehydrated they are still more tender than beans dried after maturity.
If they are in the way or at risk from frost they're worth picking for cooking or drying.
Cheers