Evolving cooperative, energy-conserving, agent-based systems