Brad Pitt and Angelina Jolie are believed to have hashed out a temporary custody deal that will last three weeks.
TMZ reported on Friday the terms of the agreement state Jolie will have physical custody of the kids, while Pitt has agreed to monitored visits with a therapist.
According to the website the terms were agreed with the help of the Los Angeles County Department Of Children And Family Services.
It is believed the pair have been meeting all week to hash out the deal, in private at a secret location in Los Angeles.
Jolie, 41, is reportedly happy with the arrangement.
The 52-year-old actor will get an initial monitored visit followed by other visits that may or may not be monitored.
He has also volunteered to get random drug testing and the entire family will undergo counseling.
A source told the DailyMail.com: ‘This temporary agreement will last until October 20.
‘This is a completely voluntary agreement that has a structured decision-making plan.
“Neither Brad nor Angelina were forced to get counseling, they both volunteered to do so for the sake of the family.’
The source added that there was no longstanding agreement about custody in place.
‘There has been no ruling, this was just a completely voluntary agreement,’ the insider told DailyMail.com.
It is believed the couple were encouraged to agree to the terms in order to avoid a court hearing.
Jolie will now have physical custody of their six children Maddox, 15, Pax, 12, Zahara, 11, Shiloh, 10, and 8-year-old twins Knox and Vivienne.
The site, which claims to have talked to law enforcement sources, reported Pitt already went in for a urine test and it came out negative for alcohol and drugs.
It was earlier claimed by TMZ the two Hollywood stars have still not come to an agreement on permanent financial support and property.
They own several homes together, including a compound in the Hollywood Hills and the luxury $60m Chateau Miraval estate in France.
Their combined fortune is estimated at $400m.
Jolie filed for divorce from Pitt on September 19. They have been together for 12 years but wed in 2014 in France.
The Maleficent star has been staying with the children at a rental in Malibu and it is believed Pitt is at his compound in the Hollywood Hills.
Days after their divorce was announced, it was claimed Jolie had pulled the plug on their marriage after Pitt was accused of child abuse after allegedly launching a drunken attack on teenage son Maddox.