Solving the many-body electronic structure of real solids is a grand challenge in condensed matter physics and materials science. Here authors present a machine learning ab initio architecture for real solids, which combines molecular neural network wavefunction ansatz and periodic features, providing accurate solutions for a range of solids.