Most agates occur as nodules in volcanic rocks or ancient lavas where they represent cavities originally produced by the disengagement of volatiles in the molten mass which were then filled, wholly or partially, by siliceous matter deposited in regular layers upon the walls. Such agates, when cut transversely, exhibit a succession of parallel lines, often of extreme tenuity, giving a banded appearance to the section. Such stones are known as banded agate, riband agate and striped agate.
In the formation of an ordinary agate, it is probable that waters containing silica in solution -- derived, perhaps, from the decomposition of some of the silicates in the lava itself -- percolated through the rock and deposited a siliceous coating on the interior of the vapor-vesicles. Variations in the character of the solution or in the conditions of deposition may cause a corresponding variation in the successive layers, so that bands of chalcedony often alternate with layers of crystalline quartz.
Several vapor-vesicles may unite while the rock is still viscous, and thus form a large cavity which may become the home of an agate of exceptional size; thus a Brazilian geode lined with amethyst and weighing 67 tons was exhibited at the Dusseldorf Exhibition of 1902.
Many agates are hollow, since deposition has not proceeded far enough to fill the cavity, and in such cases the last deposit commonly consists of quartz, often amethyst, having the apices of the crystals directed towards the free space so as to form a crystal-lined cavity, or geode.
On the disintegration of the matrix in which the agates are embedded, they are set free. The agates are extremely resistant to weathering and remain as nodules in the soil or are deposited as gravel in streams and shorelines.