If you want to limit your liability, you can register a LLC (limited liability company). Some law firms provide standardized services, costing around $100 based on selected options.
You can of course specify your terms in the agreement. LLC provides an additional layer of protection.