Energy Internet, the integrator of generation, network, load and storage, is a key technology for realizing energy revolution in China. In order to promote the coordinated development of multiple energy sources for Energy Internet, and boost the efficient use of energy, a swarm intelligent collaborative control and optimization technology for Energy Internet is conceived, integrated and designed. Focusing on the efficient operation of Energy Internet, the swarm intelligence collaborative control and optimization technology has taking three aspects into consideration, group intelligence model construction technology for optimizing the operation of Energy Internet, Energy Internet operation optimization technology based on swarm intelligence and Energy Internet distributed cooperative control technology based on multi-agent. This technology will be applied in the Energy Internet platform of Lankao County, Henan Province, which can make the data from the whole county area, in all categories and from all links in the chain visible and measurable. It provides theoretical basis and engineering reference for optimizing the operation of Energy Internet.