Growing concerns about the potential dangers of artificial intelligence took on new urgency this week as current and former employees of leading AI companies warned that rapidly advancing technology could pose serious risks to humans.

The warnings came as Anthropic, one of the top AI companies in the world, prepares to expand its presence in Cambridge’s Kendall Square.

Jacob Coxon, a former researcher at Anthropic and OpenAI, issued a stark warning this week about how quickly increasingly powerful AI models could become dangerous.

“Within six months, the models pose risk of taking over the world,” Coxon said.

In a post online on Tuesday, Coxon wrote: “The people building AI earnestly believe that it could kill us all by the end of the decade.” He also accused Anthropic and OpenAI of failing to act responsibly, a concern that has been echoed by others in the industry.

A 27-year-old AI researcher says he resigned from Anthropic over concerns about how powerful AI is being developed, warning that advanced systems could pose catastrophic risks to humanity.

The warnings reflected broader unease among Americans about the rapid development of artificial intelligence.

A recent NBC News poll found 70% of adults said they were more worried than excited about AI. The poll also found 81% believed the government was not doing enough to regulate its use.

People in Cambridge expressed a mixture of concern and optimism about the technology.

“Agree with him 100%. It’s possible. And that scares me,” said Deborah Rebocho of Rhode Island about Coxon.

“We as, just, normal people don’t really know how negative it is. Like, I don’t think there’s a lot of transparency from our companies,” Daniela Rincon said.

Rodica Neamtu, a computer science professor at Worcester Polytechnic Institute, pointed to the increasing autonomy of AI systems as a more pressing concern.

“I don’t think the robots are here yet to get us, but certainly there are agents that have a high degree of autonomy, which is very different than past technologies,” Neamtu said.

Neamtu said governments and the technology industry should take proactive steps as AI systems become increasingly capable.

“Preventing is a lot easier than fixing,” she said. “We should understand how it works so we can apply our human values with what it can and might do.”

The debate over AI safety comes as Anthropic prepares to establish a larger footprint in Cambridge.

The Boston Globe reported that the company planned to move into One Kendall Square, putting it in the heart of one of the country’s largest technology and research hubs.

“Cambridge is a natural place for Anthropic to put down roots,” Daniela Amodei, Anthropic’s president and co-founder, said in a statement to NBC10 Boston. “We’re excited to grow our team alongside the scientists, universities, and institutions tackling some of the world’s most important problems.”

Anthropic also told NBC News that it would “continue to build models with some of the strongest safeguards in history” and said the company “aggressively tests their models for dangerous capabilities.”

Some students in Cambridge said the potential risks should not overshadow ways AI could address problems people face today.

“I think it’s still very important. Just, like, still stay in the now and be like, what’s the best way you can apply AI? To apply our talents and our thinking and our brains towards what’s hurting people in the near term,” Harvard student Ezekiel Bajomo said.

MIT student Emma Pautz also expressed confidence in researchers working on the technology.

“I trust the people that are working at Anthropic and in OpenAI. So I think, like, hopefully it’ll be fine,” Pautz said.

Asked whether she was worried about being killed by AI robots, Pautz responded, “Not today… But maybe tomorrow.”

Anthropic is expected to move into its new Kendall Square space by early next year.