Left-hander Jared Pettitte, son of three-time Yankees All-Star pitcher Andy Pettitte, agreed to terms with the Marlins as an undrafted free agent Tuesday.