Reporting Global Tech Stories
Latin America Labor AI is helping judges to quickly close cases, and lawyers to quickly open them

Labor

AI is helping judges to quickly close cases, and lawyers to quickly open them

Brazil’s overburdened courts and lawyers are adopting artificial intelligence. But experts wonder whether it serves justice.

A large stone sculpture of a blindfolded woman seated with a serene expression, situated in an open plaza in front of a modern architectural building with a flat roof and large glass windows, under a cloudy sky.
Fernanda Frazão for Rest of World
Fernanda Frazão for Rest of World
  • Brazil’s courts have over 140 AI projects to cope with more than 70 million pending lawsuits.
  • Lawyers, too, are using generative AI and filing more cases than ever before.
  • Tech developers may oversimplify the law and strip it of justice and equity to make it understandable for computers.

Brazil’s judicial system — among the most litigious in the world — is turning to artificial intelligence for help. 

Judges are using AI to clear their dockets at a faster clip than ever before, even as lawyers refill them rapidly, also with the help of AI. It’s a “vicious circle,” Rodrigo Badaró, a councilor monitoring AI use at the National Council of Justice, a constitutional body overseeing the judiciary, told Rest of World

Learn more
0:00/9:59

“We note that the use of AI, in the end, rather than diminishing litigation, is increasing it,” he said. “[AI] may be a solution, but no one’s sure if it will actually work.”

For all the pressure on the system, the nation’s Supreme Court in the capital Brasília appeared serene this August. Lawyers drifted into its glass-walled annex for appointments with the nation’s top judges. The court considers around 80,000 new cases each year, and has delivered landmark rulings recently curbing the influence of Big Tech. In comparison, the U.S. Supreme Court receives around 8,000 petitions a year and hears fewer than 100. 

The caseload at Brazil’s top court is a drop in the larger pool of 76 million lawsuits currently clogging the country’s judicial system. Running the overburdened system costs the government $30 billion annually, equal to 1.6% of the gross domestic product.

To cope, Brazil has embarked on one of the world’s largest deployments of AI. Since 2019, its courts have developed or implemented over 140 AI projects that use machine learning or large language models, according to a 2024 survey by the National Council of Justice. The programs find precedents, categorize cases, and help draft documents. Some also forecast the decisions of judges and flag repeat litigants.

Some of the AI tools have helped the courts become more efficient, process documents faster, and cut down the time taken for judicial proceedings, according to the survey.

At the Supreme Court, law clerk Arianne Vasconcelos smiled as she explained how AI helps her deliver better reports to the judges.

The 42-year-old works in a department that handles lawsuits about potential constitutional violations. Typically, her department gets around 76 new cases every month, according to Supreme Court data. Her job is to analyze the argument and create a summary. She also drafts decisions for Luís Roberto Barroso, the current chief justice, to review.

Last December, Vasconcelos got a new helper: MarIA, a generative-AI based tool that helps her write reports. Earlier, she used to write one-pagers and move to the next case on her ever-growing pile, she said. 

Now, MarIA drafts the reports, which Vasconcelos reviews. 

“Using MarIA, you can now make a much more extensive and complete [report],” she told Rest of World. “It’s easier to adjust [what the AI produced] than start from scratch.” 

The MarIA tool was developed by STF’s tech team, and uses Google’s Gemini and OpenAI’s ChatGPT models, said Natacha Oliveira, the team coordinator.

“AI is providing high quality work,” she told Rest of World. “If anything stops working, clerks immediately complain. ”AI tools have helped reduce the backlog at the Supreme Court, Oliveira said. By June, the backlog dropped to the lowest level since 1992, according to a productivity report from the Supreme Court. Nationwide, judges at various levels of the judiciary closed 75% more cases last year than they did in 2020, data from the National Council of Justice shows. 

AI’s helping hand extends to lawyers: More than half of Brazil’s attorneys use generative AI daily, according to a 2025 poll by the country’s Bar Association. They filed over 39 million new lawsuits last year — a 46% jump since 2020, data from the National Council of Justice shows. 

Drafting a defense used to take 20 minutes. Now it can be done in seconds, Daniel Marques, president of Brazilian law-tech association AB2L, told Rest of World. 

“For a lawyer who bills by the hour, that’s a big efficiency gain,” he said. “But he can’t be lazy. This will be done much faster, but it needs to be reviewed.” 

The legal profession is rooted in language, rules, and logic — the very same elements generative AI is good at, according to a report by venture capital firm Contrary Capital. That makes the profession a natural target for AI companies. A Goldman Sachs report estimates 44% of legal tasks could potentially be automated in the future. 

Venture capitalists have taken note and invested over $1 billion in global legal-tech startups this year. The market for legal technologies is expected to hit $47 billion by 2029, according to market research firm Research and Markets. 

The enthusiasm has been tempered by concerns that AI sometimes makes things up, or hallucinates. There have been over 350 cases so far of lawyers filing court documents containing made-up precedents and laws worldwide, according to estimates by legal researcher Damien Charlotin. Brazil has seen at least six cases this year, resulting in fines for the lawyers involved.

The United Nations cautioned governments this July against “techno-solutionism” in legal work. 

“AI should not be adopted without careful assessment of its potential harms, how to mitigate those harms and whether other solutions would be less risky,” the report said. 

Lawyer Thiago Sombra’s 12th-floor office overlooks Brasília’s most important courtyard: the Esplanada dos Ministérios, which houses 17 government ministries. If he squints, he might make out the modernist twin towers of the Senate on the horizon. 

The location reflects the clout of his employer Mattos Filho, one of Brazil’s most prominent law firms with clients such as Google, Meta, and Microsoft. Big tech companies have repeatedly clashed with the nation’s strict tech rules, making Brasília a major front in global battles over tech regulation. 

One August afternoon, Sombra was busy talking to the AI chatbot Harvey, named after the suave lead in the TV legal drama Suits.

Sombra often feeds the chatbot with legal documents, then asks it to look for loopholes. He also uses Harvey to compare opposing expert reports and find out which is more plausible and consistent, he told Rest of World.

Until March 2024, the 44-year-old would’ve done the legwork himself, or assembled his team for a brainstorm. Now, he gets a response within seconds. He uses the chatbot as a research assistant, a document comparison tool, or as a reviewer of court filings, he said.

“It gives me a crude analysis that I can aggregate on my own,” he said. Each lawyer at the firm saves about three hours every week by using Harvey, a spokesperson told Rest of World.

An office space with multiple computer monitors displaying a similar image of a torso, arranged in rows and divided by glass panels, with the time visibly shown on the screens.
A workspace at the Supreme Court. The nation’s top judges have delivered several landmark rulings on Big Tech. Fernanda Frazão for Rest of World

Developed by a San Francisco-based tech company valued at $5 billion, the tool uses OpenAI’s models trained on legal data. The company is one of the top legal-tech startups today, funded by investors including Sequoia Capital and OpenAI’s Investment Fund. 

Harvey is deployed in 54 countries and has more than 50,000 users, Katie Burke, head of people at Harvey, told Rest of World. The program hallucinates to a lesser degree than top models like Claude and Gemini, the company said. Still, users should review its outputs and cross-check the sources provided by Harvey, Burke said. 

“Without the references, I can’t check if [the chatbot] is making things up,” Sombra said.

Legal-tech tools break down legal processes into parts that can be easily handled by computers and automated, said André Fernandes, director at the Research Institute in Law and Technology, based in Recife.

“I look at reality, I put it in a box, I formalize it, I create a product, and I’m efficient, and I sell it and make a lot of money,” Fernandes told Rest of World

But justice isn’t mechanical, and judges generally consider the context and concepts like fairness and equity in decision-making. “The problem is that a large part of the law is not [standardized],” Fernandes said. “Imagine family law cases, contractual issues, or successions — they involve other elements that need to be considered.”

Lawyers who don’t have access to proprietary software like Harvey are using free versions of ChatGPT. 

In Porto Alegre in southern Brazil, independent lawyer Daniela Solari works out of her home office, surrounded by two toddler boys and three dogs. The 39-year-old finds she often loses her train of thought among their cries and barks.

She uses ChatGPT to search for loopholes in contracts or rewrite clauses related to inheritance and business law. She takes care to not feed the bot sensitive client information, and reviews its outputs for hallucinations, she told Rest of World.

“It brought me such a great optimization that today I no longer need an intern anymore,” she said. “If you take just what it generates and check it in the court’s system, most of the time that case won’t match, the jurisprudence won’t exist.”

Solari said she plans to hire an intern in the future, but would assign them important tasks rather than repetitive busywork, which is better performed by AI.  

“I would not use a young person’s energy and high expectations for purely bureaucratic tasks that do little to help their development,” she said. “I was an intern myself and I know how brief and important that time is for understanding the profession.”

Innovation

Indigenous group in Brazil takes TikTok to court over planned data center

The Anacé Indigenous community is going to court to stop a planned TikTok data center they say is being built on their land.

A group of people standing outdoors under a tree, holding banners that read "NÃO SOMOS QUINTAL DE DATA CENTER" and "ÁGUA E ENERGIA PARA POVO, NÃO PARA DATA CENTERS," expressing their opposition to data centers. The participants exhibit a range of ages and ethnicities, some dressed in black shirts, and they appear engaged and united.
Iago Barreto Soares
Iago Barreto Soares
  • TikTok is investing in a $10 billion data center in Brazil’s northeast.
  • Indigenous people who claim the allocated land say they were not consulted on the project.
  • Brazil aims to attract big tech companies to transform into a global data center hub.

In late August, an Indigenous group in the Brazilian state of Ceará, in the country’s northeast, brought a formal complaint before federal authorities, asking them to halt the development of a TikTok data center they said was being built on their land.

Learn more
0:00/8:15

Sitting under a tall cashew tree, Cacique Roberto Ytaysaba Anacé, a leader of the community, recalled how, until a few months ago, he did not know what a data center was. Now, he’s determined to stave off the giant Chinese social media company in the first pushback of its kind in Brazil, a country aspiring to become a global data center hub.

The Anacé have long claimed the area where TikTok and Casa dos Ventos, a wind energy company that will power the data center, are to be built. Its leaders say their right to consultation — guaranteed under an international agreement — was violated, and that their concerns about the project’s water consumption are being ignored.

“They are putting it right next to the river” on Indigenous territory that holds spiritual and ceremonial significance for the community, Ytaysaba told Rest of World.

A man wearing a traditional feathered headdress and a black t-shirt sits on a chair under a large tree in a natural outdoor setting. He has a serious expression and is surrounded by greenery and sandy ground.
Cacique Roberto Ytaysaba Anacé Iago Barreto Soares
A person wearing a feathered headdress stands by a riverbank, looking out over the water. The landscape includes mountains in the background and greenery along the shore.
Paulo Anace near a river considered sacred to his tribe, which is threatened by a proposed data center. Iago Barreto Soares

The permit process requires Indigenous communities to be consulted before construction on their land, but authorities did not discuss the data center with the Anacé because they do not have official ownership of the land, Ulisses Costa, director of environmental protection and control at the state environmental agency, told Rest of World. The developers have received the necessary authorizations from the local water department, he said.

Demand for data centers worldwide has surged on the back of a boom in artificial intelligence and cloud computing. Resistance from local communities concerned about their environmental impact is also growing. The pushback in Ceará underscores the challenges tech companies face from residents, who are demanding a say in how, where, and even whether data centers should be built.

What is happening in Ceará “is an emblematic case of resistance and questioning of a big tech data center,” Cynthia Picolo, executive director at the Laboratory of Public Policy and Internet, one of the civil society organizations that co-signed the complaint, told Rest of World. “This experience will generate important precedents.”

Elsewhere, Meta shelved a planned data center in the Netherlands, which was set to be the biggest in the country, following local pushback. Last year, a local court in Chile, which is in the midst of a decades-long drought, suspended a Google data center after locals discovered it would extract more than 7 billion liters of water annually. In August, a city council in Arizona rejected a proposal for an Amazon data center following public outcry over its potential water use.

In Brazil, the Anacé are fighting a government keen on turning the country into a data center hub. In May, the finance ministry said it was working on a national policy offering companies tax breaks and exemptions for data center projects. With more than 180 data centers already commissioned, authorities are now expecting an influx of hyperscalers — large-scale data centers designed to withstand the increased computational demands that come with AI. Some have already been announced, including one in a town stricken by catastrophic flooding.

330% increase in requests for data centers to access the electrical grid in Brazil

“What we are doing is giving [foreign tech companies] free or very cheap energy, free or very cheap water, free or very cheap minerals, free or very cheap lands” in order to join the AI race, Paz Peña, an independent consultant and a senior fellow at the nonprofit Mozilla Foundation, told Rest of World.

The International Energy Agency estimates that electricity consumption by data centers will account for 3% of global electricity consumption in 2030. As companies scramble to secure the energy needed while also trying to reduce emissions, countries with vast renewable sources, like Brazil, are particularly attractive.

Between May 2024 and June 2025, Brazil saw a 330% increase in the number of requests from data center developers to access the national grid — the first step tech companies must clear. Nearly 80% of Brazil’s electricity supply comes from renewables. More than 90% of current wind power projects are concentrated in the country’s northeast, in states like Ceará, which has abundant sun and wind, as well as an extensive coastline.

An industrial landscape with tall smokestacks releasing white smoke, surrounded by green foliage and power lines against a clear blue sky.
The data center will be installed inside this gated area which is part of the Pecém Industrial and Port Complex. Iago Barreto Soares

Like many Indigenous communities in Brazil, the Anacé have no official land titles despite having lived in the area since the early 1600s. Across the country, Indigenous groups have seen their territories swallowed by illegal mining, logging, and deforestation, or converted into agricultural and industrial areas, often without consultation by companies or state authorities.

The land in Ceará is attractive for industry. In 2013, approximately 160 Anacé families reached  an agreement with federal and local authorities to vacate their lands for an oil refinery, and move to an Indigenous reserve nearby. But others refused to leave. In 2023, the Anacé sued a thermal power company and the local environmental agency to stop a thermal power plant from being built. While the community lost the case, the company opted to build the plant elsewhere.

Now, the Anacé are demanding the immediate suspension of the environmental permit process for the TikTok data center, and annulment of the permits already granted. The full impact of the project was not properly assessed, they say. One concern is that the daily water consumption estimate of 30,000 liters disclosed by the developer is too low in comparison to similar projects.

The community — numbering about 1,500 families — is also asking that the companies consult with them on any future plans, based on an International Labour Organization Convention, of which Brazil is a co-signatory. The convention grants Indigenous groups the right to consent and consult on projects in their territory. These consultations are meant to be conducted by companies or government agencies, with the oversight of environmental authorities.

TikTok did not respond to questions from Rest of World on whether it initiated a consultation with the Anacé. Casa dos Ventos told Rest of World the land allocated for the data center does not overlap with any titled Indigenous lands, and that the company has followed environmental licensing rules.

The TikTok data center will be installed inside the Pecém Industrial and Port Complex, which already includes steelmakers and cement factories. Iago Barreto Soares

The Anacé say the Brazilian Constitution grants them rights over land traditionally occupied by their community, regardless of ownership documents. 

Indigenous groups worldwide are confronting data centers on their traditional land — and in some cases, collaborating with them. In Australia, about 20 Indigenous-owned data centers, in partnership with Microsoft, are in the works. Indigenous groups in Canada, too, are collaborating with companies — and one group plans to own and operate its own data center in Alberta.

For the Anacé, fighting off companies from their land has come at a high cost. As of August, seven Anacé leaders were in a protection program for environmental defenders due to death threats and the risk of violence. The threats are under investigation, according to members of the community.

The risks have not deterred the Anacé, who are considering next steps, such as occupying a government office or blocking highways. After decades of being ignored and disparaged by companies promising to bring progress to the state of Ceará, this movement against the data center is essential, said Ytaysaba.

“In the past, they killed and expelled us,” he said. Now, by refusing to consult with them, “they make us invisible.”

This story was produced in collaboration with The Intercept Brasil.

China Outside China

China’s biggest delivery app brings its disruptive playbook to Brazil

Meituan’s arrival is likely to transform the delivery industry — which has already seen the unlikely partnership between rivals Uber and iFood.

A group of delivery motorcyclists in a busy urban setting, with one rider wearing dark sunglasses and raising his hand. The motorcycle beside him has a green delivery box covered in stickers, while other riders in bright vests are also present. Skyscrapers reflect in the background.
Victor Moriyama/Bloomberg via Getty Images
Victor Moriyama/Bloomberg via Getty Images
  • Meituan has announced $1 billion in investment in Brazil.
  • Chinese-owned 99Food recently returned to Brazil, adding to a new wave of Chinese delivery services in the country.
  • Rivals iFood and Uber have formed an unlikely alliance.

Brazilian President Luiz Inácio Lula da Silva traveled to China in May, where he signed several deals including a five-year $1 billion commercial agreement with Wang Xing, the co-founder and chief executive of Meituan.

Learn more
0:00/6:59

The Chinese delivery giant, fresh off a successful launch of its food delivery service, Keeta, in the Gulf, has turned its sights on Latin America — starting with Brazil. Meituan’s arrival is likely to reshape the delivery industry in the country, which has not only seen the return of China’s Didi-owned 99Food, but also the formation of an unlikely alliance between two rivals: Uber and market leader iFoodiiFoodFounded in Brazil in 2011, iFood is one of the country’s leading last-mile food delivery platforms.READ MORE.

Chinese companies see that “there’s still opportunity for growth in Brazil, which iFood cannot grasp,” Leonel Paim, vice president of Abrasel, a trade organization for bars and restaurants in Brazil, told Rest of World. While iFood is likely to keep its lead in the short term, the Chinese delivery companies, through their massive investments, can transform the food delivery scene over the next decade, he said. 

$23.7 billion in online food delivery services in Brazil in 2024.

Meituan “will develop and bring delivery services to a whole new level.” Competition brought on by the Chinese companies may prompt the well-established players to offer better products and lower their fees for restaurants, ultimately resulting in cheaper deliveries, said Paim.

The dominant force in China’s on-demand services sector, Meituan is aggressively pursuing foreign markets. In Hong Kong, Keeta became the second-largest food service app soon after its launch in 2023, displacing British rival Deliveroo. Earlier this year, Keeta expanded to several major Saudi cities, becoming the third-largest food delivery platform just four months after its debut.

Meituan’s success is largely due to its aggressive tactics such as higher pay for riders, deep consumer discounts, and low fees for restaurant partners. It has paid off: Meituan reported a revenue of $12 billion in the first quarter of 2025, up from $10.2 billion in the same period last year.

The Chinese food giant is now bringing its disruptive playbook to Latin America, a region where online food delivery services are expected to grow from $23.7 billion at the end of last year to $36.7 billion by 2030, according to Grand View Research, a market research and consulting company. Brazil has the biggest share of Latin America’s food delivery market. The delivery sector in the country is expected to hit $20.9 billion in revenue by the end of 2025, and 90 million users by 2030, according to data compiled by Statista.

“Every bit of new competition makes us happy because it helps us,” Pedro Facchini, a restaurant owner in São Paulo who recently met with representatives from Meituan, told Rest of World.

Meituan will have to contend with iFood. The Brazilian delivery service, launched in 2011, controls over 80% of the market, according to Databricks, a global data intelligence firm. With 400,000 restaurants and 55 million clients, the company has been nearly unchallenged since 2023, when both Uber Eats and 99Food halted operations in Brazil after struggling against iFood’s dominance, Paim said.

Now, iFood is gearing up for competition from its deep-pocketed rivals. In April, amid rumors of Meituan’s arrival in Brazil, the Chinese-owned Didi announced the return of 99Food delivery services, along with $180 million in investment. The following month, iFood and Uber announced a partnership, which allows users to book Uber rides through iFood’s app and access food, grocery, and pharmacy items through the Uber app. The alliance was not timed to the entry of the Chinese firms, a spokesperson for iFood told Rest of World.

“It is a long-term movement, drawn long before the current competitive scenario, and it reflects our vision of the future for delivery and mobility in Brazil,” the spokesperson said, without giving more details.

Uber did not reply to a request for comment from Rest of World on its partnership with iFood or its plans for Uber Eats in Brazil.

For now, iFood charges restaurants as much as 27% per order — in contrast to Meituan, which aims to attract businesses by offering lower fees. “[IFood] does as it pleases and makes no agreements,” Paim told Rest of World. In-app purchases and deliveries account for up to 35% of a restaurant’s revenue, so they are forced to agree to these terms, he said.

While the arrival of Meituan could signal healthier competition in the industry, some believe the benefits will be short-lived, especially for delivery workers.

Food delivery couriers demand better working conditions outside iFood’s headquarters in Osasco, Brazil, on March 31, 2025. Miguel Schincariol/AFP via Getty Images)

“In the beginning, they will be paying well, so they can gain [the trust of] delivery workers,” Edgar da Silva, president for AMABR, a union group for delivery workers in Brazil, told Rest of World. But as the market stabilizes, Meituan “will become just like the others. There will be no difference but who exploits us more,” he said.

During its first year of operations in Brazil, Meituan expects to hire 1,000 workers, up to 4,000 call center operators, and 100,000 delivery personnel, a company spokesperson told Rest of World.

Meituan and 99Food expect to wrest market share from iFood in Brazil by offering more services on their apps, including ride-hailing. They are likely to focus on recruiting the small businesses that iFood has historically neglected because of their inability to pay its high commissions, according to Paim.

The two Chinese giants are expected to charge restaurants lower fees. While Keeta has not disclosed details, the company has a history of undercutting its rivals by charging lower rates — part of its strategy in Hong Kong and the Gulf. Meanwhile, 99Food is providing newly registered restaurants zero-fee operations for the next two years, and offering a minimum of $45.85 per day for delivery workers who complete at least 15 orders or rides. IFood currently pays between $1.19 to $1.37 per delivery.

Consumers may gain the most from this rivalry. Pedro Lima, a student pilot in São Paulo, places orders on iFood twice a week between exams and practice flights. He hopes food delivery prices will go down with the return of 99Food and the arrival of Keeta.

“It is quite likely for me to end up ordering more [often],” Lima told Rest of World. He’ll choose restaurants that offer cheaper meals, he said. “It’s good to have more options.”