Small autonomous machines like biological cells or soft robots can convert energy input into control of function and form. It is desired that this behavior emerges spontaneously and can be easily switched over time. For this purpose we introduce an active matter system that is loosely inspired by biology and which we term an active colloidal cell. The active colloidal cell consists of a boundary and a fluid interior, both of which are built from identical rotating spinners whose activity creates convective flows. Similarly to biological cell motility, which is driven by cytoskeletal components spread throughout the entire volume of the cell, active colloidal cells are characterized by highly distributed energy conversion. We demonstrate that we can control the shape of the active colloidal cell and drive compartmentalization by varying the details of the boundary (hard vs. flexible) and the character of the spinners (passive vs. active). We report buckling of the boundary controlled by the pattern of boundary activity, as well as formation of core-shell and inverted Janus phase-separated configurations within the active cell interior. As the cell size is increased, the inverted Janus configuration spontaneously breaks its mirror symmetry. The result is a bubble-crescent configuration, which alternates between two degenerate states over time and exhibits collective migration of the fluid along the boundary. Our results are obtained using microscopic, non-momentum-conserving Langevin dynamics simulations and verified via a phase-field continuum model coupled to a Navier-Stokes equation.active matter | emergent pattern | confinement | colloids A ctive matter describes particulate systems with the characteristic that each "particle" (agent) converts energy into motion (1, 2). Active matter covers a range of length scales that include molecular motors in the cytoskeleton (3-5), swimming bacteria (6-8), driven colloids (9, 10), flocks of birds and fish (11)(12)(13)(14), and people and vehicles in motion (15). Over the last decade, studies of active matter have demonstrated behavior not seen in equilibrium systems, including giant number fluctuations (16, 17), emergent attraction and superdiffusion (18)(19)(20), clustering (21, 22), swarming (23-27), and self-assembled motifs (28, 29). These systems provide interesting theoretical and engineering challenges as well as opportunities to explore and target novel behaviors that proceed outside of thermodynamic equilibrium.Of particular interest are systems found in nature or inspired by natural phenomena. Biological systems usually operate in confined regions of space--think of intracellular space, interfaces and membranes, and the crowding of cells near surfaces. The role of hydrodynamics in confinement has been studied for biological swimmers, such as bacteria and sperm, showing accumulation at the walls (30-32) and upstream swimming along surfaces (33) or in a spiral vortex (34-36). Attraction to walls has also been reported in the absence of hydrodynamics for disks (37...