Yesterday's talks came during an announced "working visit" by Assad to the Black Sea resort of Sochi, ahead of a summit between Putin and the leaders of Turkey and Iran on tomorrow aimed at re-booting the Syrian peace process.
"As for our joint work in the fight against terrorism in Syria, this military operation is coming to an end," Putin said, according to a transcript published on the Kremlin's website.
"Thanks to the Russian army, Syria has been saved as a state. Much has been done to stabilise the situation in Syria," the transcript said.
"It is in our interest to advance the political process... we don't want to look back and we are ready for dialogue with all those who want to come up with a political settlement," Assad said in translated comments.
More From This Section
Putin said he would consult world leaders on his talks with Assad, including with US president Donald Trump in a telephone call expected today.
Putin will tomorrow host Turkey's Recep Tayyip Erdogan and Iran's Hassan Rouhani for the first in a series of summits on the peace process, ahead of parallel UN-led talks in Geneva set for November 28.
The meeting -- the first such three-way summit between the trio -- comes as Ankara, Moscow and Tehran cooperate with increasing intensity on ending the over six-year civil war in Syria that has left 330,000 dead and millions homeless.
"Assad's visit...shows that there was a need to relay the Syrian leadership's position on a future settlement to the Kremlin, and that (Assad) was interested in the forthcoming summit with the presidents of Iran and Turkey," said Russian political analyst Azhdar Kurtov.
"It is unlikely this was just another demonstration of the Kremlin's political loyalty to Assad," he told AFP.
"The open-war phase in the Syria conflict will soon be over and the question of a political solution will become more pressing than before."
The talks led to the creation of four so-called "de- escalation zones" that produced a drop in violence, but sporadic fighting and bombardment has continued.
Moscow is now seeking to steer the process in a political direction.
The Sochi summit will help to "relaunch direct negotiations between the Syrian government and the range of the opposition", said Russian Foreign Minister Sergei Lavrov.
Moscow's military intervention in Syria from 2015 is widely seen as tipping the balance in the conflict.
This week regime forces also ousted the IS from its last urban stronghold in the country, Albu Kamal.
Previous attempts to end the war have stalled over the question of the fate of Assad.
But Turkey is showing greater flexibility, even if it remains unlikely that it will officially accept the prospect of the Syrian president remaining in power, said Timur Akhmetov, a Turkey expert at the Russian International Affairs Council.
"For now, to keep a say in the future political negotiations is more important for Turkey than to have Assad departed from power," he told AFP.
The aim of the Saudi-backed High Negotiations Committee is to reach consensus on a strategy for talks in Geneva, which will focus on a new constitution for Syria and fresh elections.