Coding the Earth with agents: Part One