A self-opening magnetic compression anastomosis device comprising: an assembly of at least four magnetic segments coupled end-to-end to form a polygon having an out-of-plane axis that runs through the center of the polygon and normal to the face of the polygon, wherein each magnetic segment has a north magnetic pole and a south magnetic pole, wherein the assembly comprises: a first pair of adjacent magnetic segments movably coupled together with a first hinge connection member so as to allow the adjacent magnetic segments of the first pair to move relative to one another; and a second pair of adjacent magnetic segments movably coupled together with a second hinge connection member so as to allow the adjacent magnetic segments of the second pair to move relative to one another; wherein the assembly comprises: a delivery configuration in which the magnetic segments are aligned in two rows, the two rows movably coupled at a first end by the first hinge connection member and movably coupled at a second end by the second hinge connection member, the magnetic segments between the first and second hinge connection members being linked together with polygon-opening connection members, and a deployed configuration in which the magnetic segments form the polygon characterized in that the polygon is formed into the deployed configuration based, at least in part, on a force provided by the polygon-opening connection members, and wherein the polygon-opening connection members are active opening members configured to provide the force to cause the assembly to transition from the delivery configuration to the deployed configuration. an assembly of at least four magnetic segments coupled end-to-end to form a polygon having an out-of-plane axis that runs through the center of the polygon and normal to the face of the polygon, wherein each magnetic segment has a north magnetic pole and a south magnetic pole, wherein the assembly comprises: a first pair of adjacent magnetic segments movably coupled together with a first hinge connection member so as to allow the adjacent magnetic segments of the first pair to move relative to one another; and a second pair of adjacent magnetic segments movably coupled together with a second hinge connection member so as to allow the adjacent magnetic segments of the second pair to move relative to one another; a first pair of adjacent magnetic segments movably coupled together with a first hinge connection member so as to allow the adjacent magnetic segments of the first pair to move relative to one another; and a second pair of adjacent magnetic segments movably coupled together with a second hinge connection member so as to allow the adjacent magnetic segments of the second pair to move relative to one another; wherein the assembly comprises: a delivery configuration in which the magnetic segments are aligned in two rows, the two rows movably coupled at a first end by the first hinge connection member and movably coupled at a second end by the second hinge connection member, the magnetic segments between the first and second hinge connection members being linked together with polygon-opening connection members, and a deployed configuration in which the magnetic segments form the polygon characterized in that the polygon is formed into the deployed configuration based, at least in part, on a force provided by the polygon-opening connection members, and wherein the polygon-opening connection members are active opening members configured to provide the force to cause the assembly to transition from the delivery configuration to the deployed configuration. a delivery configuration in which the magnetic segments are aligned in two rows, the two rows movably coupled at a first end by the first hinge connection member and movably coupled at a second end by the second hinge connection member, the magnetic segments between the first and second hinge connection members being linked together with polygon-opening connection members, and a deployed configuration in which the magnetic segments form the polygon characterized in that the polygon is formed into the deployed configuration based, at least in part, on a force provided by the polygon-opening connection members, and wherein the polygon-opening connection members are active opening members configured to provide the force to cause the assembly to transition from the delivery configuration to the deployed configuration.