The answer is clear: yes, it is confidential. Several laws fully protect the confidentiality of the mediation process.
Everything that happens in the mediation process is kept private. The mediator is under the duty of professional secrecy. You cannot be asked to testify about what happened in the mediation.
Most of the agreements can be expressed in writing in a way that protects the confidentiality of the parties.