Millennials now make up the largest generation in the U.S. work force, outnumbering Gen-Xers and Baby Boomers. And with the artificial intelligence (A.I.) revolution coming into full swing, the future of work is looking gloomy for Millennials.

In Carl Frey and Michael Osborne's "The Future of Employment: How Susceptible Are Jobs to Computerisation?" study, they analyzed the number of jobs at risk to technology. According to their estimates, about 47 percent of U.S. employment is in the high-risk category of being replaced by automation such as robots.

A McKinsey & Company report states that "half of today's work activities could be automated by 2055, but this could happen up to 20 years earlier or later depending on various factors, in addition to other economic conditions."

The report says that automation would be most prevalent in manufacturing, accommodations and food service, and retail trade, and include some middle-skill jobs.

So what generation is most at risk?

Millennials and the Future of Work

Gallup conducted its own research using Frey and Osborne's calculations, determining each generation's susceptibility to losing jobs to A.I. According to Gallup's analysis, "Millennials are the generation most vulnerable to the threat of A.I. and automation, as they are disproportionately more likely to hold positions that Frey and Osborne estimate as having a strong likelihood to one day be replaced by this new technology."

Should Millennials start panicking now? Well, that depends on your current occupation. Nearly four in 10 Millennials (37 percent) are at high risk of having their job replaced by automation, compared with 32 percent of those in the two older generations, stated the Gallup report.

What gives?

Career analysts say that the work Millennials do early in their careers is easier to automate. Older, more experienced workers do more complex work requiring problem solving. In other words, at the risk of offending Millennials, the work many of them do is simple enough for A.I. or automation to take over.

But really, no Millennials -- whatever their jobs -- are safe from A.I.

Jason Dorsey, chief strategy officer at the Center for Generational Kinetics and a Millennials expert, told Forbes, "[T]he jobs at risk of being replaced by A.I. are not just the entry-level jobs that people typically assume, but rather the repetitive white-collar jobs such as in accounting and financial services. The result is that Millennials more than any other generation in today's work force are at direct risk of having their careers forever altered by A.I."

Actually, upon further inspection, non-repetitive white-collar jobs are at risk as well. Are you in a management role? An attorney? A journalist? Or even a therapist? Earlier this year, The Guardian reported that these occupations at risk to A.I.:

Managers: Bridgewater Associates, the world's largest hedge fund, announced it is developing algorithms to automate management decisions, including the hiring and firing of employees.

Lawyers: An artificial-intelligence lawyer chatbot has successfully contested 160,000 parking tickets across London and New York for free. Dubbed as "the world's first robot lawyer" by its creator, Stanford University student Joshua Browder, DoNotPay helps users contest parking tickets in an easy to use chat-like interface.

Journalists: A.I. bots are already cranking out business and sports stories for clients like Forbes and the Associated Press. In a June 2015 interview with The Guardian, the co-founder of A.I. bot-maker Narrative Science predicted "90 percent of journalism will be computerized by 2030."

Therapists: Human-like "social robots" are already being used to help teach children on the autism spectrum appropriate social behavior. Therapeutic robot pets provide companionship for seniors with dementia. The U.S. military is using a computer-generated virtual therapist to screen soldiers in Afghanistan for PTSD.

The Guardian article also lists drivers and delivery people, recruiters, actors, cookbook authors, music composers, and even poets and novelists at risk to losing jobs to A.I. and robots.

Preparing for the A.I. Invasion

Adapting to A.I. disruption may be your best strategy for survival: "Be the Millennial who thinks about how A.I. can impact their industry, and find the jobs within the industry that would be hardest to replace through technology," Dorsey told Forbes.

Or, if you can't beat the bots, join them. The Guardian article suggests "most people in high-skill positions will likely find themselves working alongside their inanimate colleagues, not unlike the way we use computers instead of typewriters and calculators."

Case in point: "IBM Watson, for example, helps doctors diagnose medical conditions and analyze MRIs," states The Guardian. "Electronic discovery platforms such as Symantec's eDiscovery and Kroll Ontrack help attorneys sift through thousands of documents in a few hours. And A.I.-driven services such as FutureAdvisor or Wealthfront help consumers make investment decisions, freeing up human financial advisers to work on more high-net-worth accounts."

Companies employing Millennials also need to play a role in calming their fears by sharing plans for their A.I. implementation. The Gallup report drives home the point: "The best-performing companies -- particularly their human resource departments -- proactively communicate about and plan for the A.I. revolution as it relates to employees. These leaders look beyond productivity and efficiency; they measure and address employees' emotional states. By understanding employees' needs and demonstrating how A.I. can assist employees, companies can improve employee engagement and amplify workers' performance."