France says it plans to set up "hotspots" in Libya to process asylum seekers, in a bid to stem the flow of migrants to Europe.
President Emmanuel Macron said the move would stop people not eligible for asylum from "taking crazy risks". The centres would be ready "this summer".
He said that between 800,000 and a million people were currently in camps in Libya hoping to get into Europe.
But many of them did not have a right to asylum, Mr Macron said.
The French leader said that migrants were destabilising Libya and Europe by fuelling people-smuggling, which in turn funded terrorism.
"The idea is to create hotspots to avoid people taking crazy risks when they are not all eligible for asylum. We'll go to them," he said on Thursday at a naturalisation ceremony in the central city of Orléans.
On Tuesday, Mr Macron mediated talks in Paris between Libya's opposing governments.
UN-backed Prime Minister Fayez al-Sarraj and Khalifa Haftar, the rival military commander who controls the east, committed to a conditional ceasefire after the meeting.
They are aiming to end the conflict which has engulfed the country since Col Muammar Gaddafi was ousted in 2011.
Mr Macron and other EU leaders had been hoping for some sort of agreement, as Libya has become a key route for migrants making their way to Europe.
The French leader said he hoped the deal would be a blow to the human traffickers who work in the region.
More than 110,000 migrants from northern Africa and the Middle East have made a perilous journey across the Mediterranean to Europe this year, the UN says.
It estimates that more than 2,300 people have drowned or are missing.
Last year, 362,753 migrants arrived into the EU by sea, the vast majority of them to Italy and Greece.
In a separate development, the European Court of Justice on Wednesday ruled that a law requiring refugees to seek asylum in the first country they reach applied even in exceptional circumstances.
The case could affect the future of several hundred people who arrived during the migrant crisis of 2015-16.
In 2015, France offered asylum to 20,630 refugees, according to the EU's statistics agency, Eurostat.
- ECG releases ‘dumsor’ timetable; outages to begin May 10
- NDC suspects doctoring of Techiman South election summary sheets
- Stolen ring causes teenager’s finger to rot at Pantang
- We’re running into a credibility problem – Kunbour on unanswered calls for NDC’s election 2020 collated figures
- Murder suspect claims he mistook aeronautical engineer for a pig at Akyem Asuboa
- ECG to announce ‘dumsor’ timetable for works on Pokuase BSP
- Akuapem Poloo granted ¢80k bail
- Kasoa Opeikuma businessman killers arrested at Buduburam
- Contracts awarded to Zoomlion, Frontiers Healthcare Solution, others were in breach of procurement practices – Report
- Kunbour mustn’t behave like a serial caller – Ade Coker
Expedite action on completing cannabis regulatory frameworks – Rastafari Council
Tiwa Savage gets full sleeve tattoo on her arm
NBA YoungBoy reportedly expecting 8th child
GES dispels claims that SHS 3 students reopening date has been postponed again
Adu-Boahen elevated to Minister of State at Finance Ministry, Okraku-Mantey gets Deputy Tourism Minister position
Akufo-Addo’s announces nominees for deputy ministerial positions, elevates Charles Adu-Boahen
Travis Barker celebrates Kourtney Kardashian on her birthday
Social media users angry DKB is soliciting funds on behalf of Akuapem Poloo
We set out to protect lives and property – Ghana Police Service on arresting hooligans at match centres
Akuapem Poloo granted ¢80k bail
Super League won’t go ahead after English clubs withdraw
Super League: Liverpool owner John W Henry apologises to fans
GNAT asks government to release textbooks based on new curriculum for teachers and pupils
World reacts to death of Chad President Idriss Deby
Senyo Hosi: When shall we breathe?