Rhode Island Commerce Secretary Stefan Pryor said his office has begun conversations about the app with Amtrak and the MBTA.

"Boston and Providence have the potential to be more closely paired cities," he said.

Tightening that connection could encourage employers headquartered in one city to set up a branch office in the other, Pryor said.

The idea for the ticketing app came from a state-commissioned economic strategy report by the Brookings Institution, based in Washington, D.C.

Because Rhode Island is so small, "there's no state that has more of its economic activity going on outside it," said Mark Muro, director of policy at Brookings' Metropolitan Policy Program. "There's an opportunity to experiment with ways to try to tap that economic activity."

The study also recommended more expensive initiatives to improve rail service and frequency, but Muro said the app is one way of building the demand that makes those long-term investments possible.

"There's a lot of evidence that convenience, behavioral effects make a difference," he said. "And the smartphone and Uber have changed the expectations for convenience."

MBTA runs 16 round trips on weekdays between downtown Providence and Boston's South Station. Some commuters also use Amtrak's Northeast Regional line or its higher-speed Acela Express to travel between the two cities.