JetBlue, seeking to get ahead of looming restrictions on airliners’ greenhouse gas pollution, has agreed to buy more than 330 million gallons of renewable fuel over 10 years, the company said on Monday.

It is one of the largest such purchase agreements yet.

Under the agreement with the bioenergy company SG Preston, JetBlue would cover about 20 percent of its annual fuel use at Kennedy International Airport, its home base, with a biofuel blend. That is equivalent to 4 percent of the fuel used throughout its network, the airline said.

“It’s thinking long term about our biggest cost, but its primary motivation is to reduce our greenhouse gases,” said Sophia Mendelsohn, JetBlue’s head of sustainability. “What we really want to do is jump-start the industry and quite frankly enable all airlines, very much ourselves included, to diversify our fuel supply.”

Biofuels, made from various sorts of organic matter — whether from agriculture, wood scraps or even municipal waste — have long been considered important to reducing greenhouse gas emissions in transportation. United States rules for gasoline, for example, require at least 10 percent ethanol, which typically comes from corn.