They're trying to come to an agreement!

Apparently Brad Pitt and Angelina Jolie’s lawyers are attempting to figure out a custody agreement for the feuding exes and their six children, reports Us Weekly.

A source says, “Lawyers are trying to work out details of the custody agreement ... Brad is waiting to file a divorce response until the agreement is in place."

We hope they agree to something that works for both of them -- for the sake of the kids!

As we've reported from the get go, the 41-year-old actress filed for divorce from her A-list husband on Monday, September 19, citing irreconcilable differences. The Oscar winner has requested sole physical custody of their six kids, Maddox, 15, Pax, 12, Zahara, 11, Shiloh, 10, and twins Knox and Vivienne, 8.

Amid all the drama, Angelina and her children have gone into hiding. The 8-year-old twins have retreated to a Malibu rental home, hanging out with their uncle and a nanny on Wednesday. Check out our pics of Knox and Vivienne ...