A person who has committed or is believed to have committed an offense and who is at liberty within the state may, under circumstances prescribed in this article, be arrested for such offense although no warrant of arrest therefor has been issued and although no criminal action therefor has yet been commenced in any criminal court.