Despite the complexity and the specificity of the amino acid code, a variety of peptides and proteins unrelated in sequence and function exhibit a common behavior and assemble into highly organized amyloid fibrils. The formation of such aggregates is often described by a nucleation and growth mechanism, in which the proteins involved also form intermediate oligomeric aggregates before they reorganize and grow into ordered fibrils with a characteristic cross-beta structure. It is extremely difficult to experimentally obtain an accurate description of the early stages of this phenomenon due to the transient nature and structural heterogeneity of the oligomeric precursors. We investigate here the phenomenon of ordered aggregation by using the recently introduced tube model of polypeptide chains in conjunction with the generic hypothesis of amyloid formation. Under conditions where oligomer formation is a rare event-the most common conditions for forming amyloid fibrils by experiment-we calculate directly the nucleation barriers associated with oligomer formation and conversion into cross-beta structure in order to reveal the nature of these species, determine the critical nuclei, and characterize their dependence on the hydrophobicity of the peptides and the thermodynamic parameters associated with aggregation and amyloid formation.