A non-compete agreement is a contract where one party agrees not to compete with the other party for a certain period of time. It's often used with employees as a way to prevent them from leaving the company and immediately joining a competitor. Employee non-compete agreements are controlled by state law and their enforceability can vary state to state.