Gentleman’s agreement

An agreement that is not written down but is made by two people or two groups who trust each other.

I made a gentlemen’s agreement with the carpenter to build some new furniture.