a cage is a structure made of mesh, bars or wires, used to confine, contain or protect something.cage is a fairy generic and complete cellular automaton simulation engine in python.it supports both 1d and 2d automata, a variety of prepackaged rules and the concept of "agents" which can move about independently on the map for implementing agent behavior.