A source told TooFab "nothing is final and permanent but at least [it's] going in right direction."
Jolie's attorney Samantha Bley DeJean released a statement to the press on Friday: "A custody arrangement was agreed to weeks ago, and has been signed by both parties and the judge. The agreement, which is based on the recommendations of the child custody evaluator, eliminates the need for a trial. The filing and details of the agreement are confidential to protect the best interests of the children."
However, a source close to the situation told TooFab "nothing is final and permanent but at least [it's] going in right direction."
The development comes just days before a trial was scheduled to begin regarding the custody battle.
The couple, who tied the knot in 2014 after years of dating, share six children -- 17-year-old Maddox, 15-year-old Pax, 13-year-old Zahara, 12-year-old Shiloh, and twins Knox and Vivienne, 10.
The actress filed for divorce from the matinee idol back in September 2016, following a widely reported blowout aboard a plane.
Since their split, neither party has publicly dated anyone, despite Pitt being linked to MIT professor Neri Oxman, but that rumor turned out to be false.
The "Fight Club" star was previously married to Jennifer Aniston, from 2000 to 2005. Many fans blame Jolie for splitting up his first marriage during the filming of 2005 film "Mr. & Mrs. Smith."