Brad PittandAngelina Joliehave reached a temporary child custody agreement two years after they announced their separation.

A source tells PEOPLE, “It is not permanent but rather a temporary agreement in place, for now, to keep things moving along in the right direction.”

Jolie’s attorney toldEntertainment Tonightin a statement their agreement was reached weeks ago.

“The agreement, which is based on the recommendations of the child custody evaluator, eliminates the need for a trial,” she continued. “The filing and the details of the agreement are confidential to protect the best interests of the children.”

Judge John Ouderkirk has been extended to their divorce case until Dec. 31, 2019.

Dimitrios Kambouris/Getty

588947491BG00035_WSJ_Magazi

Katz filed the documents on Oct. 12 to let the court know he was qualified in proceeding with his evaluations of the pair’ssix children: Zahara, 13, Shiloh, 12, 10-year-olds Vivienne and Knox, Maddox, 17, and Pax, 15.

In August, Pitt and Jolie agreed to continue their interim child custody agreement, a source told PEOPLE at the time.

The month before, a judge established adetailed schedulefor Pitt to spend time with the children (except Maddox, who according to the court is old enough to decide for himself how much time he wants to spend with his father).

RELATED VIDEO:Angelina JolieAdmits There Was ‘Heaviness’ on Set of Her Last Movie withBrad Pitt

Jolie has “tried to bridge the gap between the kids and their dad,” a source previously told PEOPLE. “She’s worked to achieve reinstatement for them. But it’s now between Brad, his kids, and the court. The court will determine things.”

Jolie and Pitt firstmeton the 2003 set of their 2005 thrillerMr. & Mrs. Smithand began publicly dating a few years later.They married in 2014, but split in September 2016,citing irreconcilable differences.

source: people.com