Kyrgyzstan and Tajikistan on Saturday claimed another breakthrough in their bid to end the worst clashes at their shared border in memory as several thousand Kyrgyz demonstrators rallied against what they called an invasion attempt by their Central Asian neighbour.

Clashes between communities over land and water along the long-contested border are regular occurrences, with border guards often getting involved. However, this week's violence was by far the most serious during the Central Asian pair's 30 years of independence.

Kyrgyzstan's health ministry said that its death toll from the shooting that began between the two militaries on Thursday had reached 34, with a hundred injured.

Tajikistan, a closed authoritarian state, did not keep a casualty count or acknowledge deaths during the three-day conflict.

The two presidents spoke by telephone Monday in a bid to preserve the ceasefire that was agreed on Thursday but which broke down on both Friday and Saturday.

The border clashes is the heaviest fighting in years between the countries and has raised fears that it might escalate into a wider conflict
The border clashes is the heaviest fighting in years between the countries and has raised fears that it might escalate into a wider conflict AFP / STRINGER

That prefaced a meeting of delegations headed by the countries' respective national security committee chiefs in which the pair agreed to create working groups to help enforce the ceasefire, Kyrgyzstan's national security committee said.

The committee said the groups would begin work at 0200 GMT on Sunday.

Tajikistan's foreign ministry later published a statement confirming the agreement on withdrawal of forces from the border and noted the "brotherly nations" had "declared their readiness...to resolve all existing border issues".

Any long-term deal at the border may face resistance in Kyrgyzstan, where an angry crowd of several thousand citizens rallied in central Bishkek demanding weapons from the government to fight Tajiks at the border.

Kyrgyzstan and Tajikistan
Kyrgyzstan and Tajikistan AFP / Paz PIZARRO

A statement released by the national security council via Kyrgyz President Sadyr Japarov's office said the demonstrators' demands were impossible to fulfil "because they are fraught with consequences".

By evening the crowd had mostly dispersed, an AFP correspondent reported.

Kyrgyzstan on Saturday announced two days of mourning for those who died in the conflict, which also saw at least 30 properties destroyed in its southwestern Batken region.

Despite Thursday's ceasefire, Kyrgyzstan's national security committee said Tajikistan's military had "opened fire on dwellings" in Batken's Leilik district on Saturday and was building up forces again.

Tajikistan's military also blocked off a strategic section of road, the security committee said.

This week's violence was by far the most serious during the Central Asian pair's 30 years of independence
This week's violence was by far the most serious during the Central Asian pair's 30 years of independence AFP / STRINGER

It later noted traffic had resumed along the road in line with the new agreement.

Thousands of Kyrgyz were displaced from border villages on Thursday, many of whom were relocated to temporary shelters in the city of Batken.

An AFP correspondent who visited one such shelter -- a school named after Soviet founder Vladimir Lenin -- saw doctors distribute medicines to displaced persons as children bedded down on the floor of the school's gym.

Seyitbek Erkebayev, a physical education teacher at the school, said citizens "from all corners of Kyrgyzstan" had sent "everything from food to bedding" and socks.

"Now there are no hungry people here," Erkebayev told AFP.

Bibi Eshnazarova, 58, who took up in the shelter after fleeing her border village in slippers and underclothes, leaving her husband behind to look after their livestock, said she planned to get back to the border as soon as possible.

"I don't want to move anywhere. My land is good enough for me," Eshnazarova said.

Despite signs of tensions Saturday, high-level contacts between the countries are being maintained.

Japarov and Tajikistan counterpart Emomali Rakhmon spoke Saturday for a second time in two days, with the pair also agreeing to meet face-to-face in the near future.

The violence also sparked a flurry of diplomatic activity.

Neighbouring Uzbekistan's leader Shavkat Mirziyoyev and Kazakhstan's Kassym-Jomart Tokayev spoke with both presidents during the crisis, while Russian foreign minister Sergei Lavrov spoke with both foreign ministers Saturday.

Russia said it hoped the countries where Moscow maintains military bases would "strictly follow the commitments made" during bilateral talks, according to a Russian foreign ministry readout.

Border disagreements between the three countries that share the fertile Fergana Valley -- Kyrgyzstan, Tajikistan and Uzbekistan -- stem from demarcations made during the Soviet era.

The knotting, twisting frontiers left several communities with restricted access to their home countries.