XDG is an open-source ray tracing toolkit providing robust ray tracing for particle transport operations in scientific simulations.