A single-celled organism with no brain solves mazes, designs transport networks and remembers where it has been — using nothing but chemical trails. Below, a million digital agents do the same.