“We were not an eleemosynary organization,” he said.

Mr. Livingstone, a television commentator and prolific author who moved home to Montana this year to try a run for governor, said he had long been a vocal critic of Colonel Qaddafi and was briefly jailed by his government on a visit to Libya in the 1970s. The goal of the consulting deal, he insisted, was not to save Colonel Qaddafi but to prevent a bloodbath in Libya by creating a quick way out for the ruler and his family.

“The idea was to find them an Arabic-speaking sanctuary and let them keep some money, in return for getting out,” he said. The consultants promised to help free billions of dollars in blocked Libyan assets by steering the government into compliance with United Nations resolutions.

But the Americans did not get the Treasury Department license they needed to accept payment from Libya, which was then subject to sanctions. Colonel Qaddafi was ousted from Tripoli in August by rebel forces backed by NATO airstrikes, and was captured and killed Oct. 20.

Now the confidential documents describing the proposed deal have surfaced on the Internet, offering a glimpse of how some saw lucrative possibilities in the power struggle that would end Colonel Qaddafi’s erratic reign. A Facebook page called WikiLeaks Libya has made public scores of documents apparently found in Libyan government offices after the Qaddafi government fell.

The papers contained a shock for the Americans: a three-page letter addressed to Colonel Qaddafi on April 17 by another partner in the proposed deal, a Belgian named Dirk Borgers. Rather than suggesting a way out of power, Mr. Borgers offered the Libyan dictator the lobbying services of what he called the “American Action Group” to outmaneuver the rebels and win United States government support.