2D perovskite ligands featuring a primary ammonium anchoring group, a flexible spacer, and a rigid π-conjugated backbone were algorithmically generated from distinct combinations of modular components, including linkers, bodies, and side chains (Figure ). Combinations of both novel and established chemistries were explored for each component. Linker candidates included aliphatic chains of one to three carbons in length (1C, 2C, and 3C), propylene (3C-conj), and alkoxy chains of two and three carbons (2C-O, 3C-O) based on previously synthesized 2D perovskite ligands (Figure ). Bodies were formed as monomers, dimers, and 4-mers (OE-mono, OE-dimer, and OE-4mer series, respectively) of conjugated repeat units culled from organic electronics (OE) literature. Semiconducting π-conjugated bodies have been focused on due to their relevance to optoelectronic applications of 2Dperovskites, chemical diversity, and nascent experimental exploration. For the OE-dimer series, all repeat unit combinations were explored. For the OE-4mer series, both AAAA and ABAB repeating motifs were explored, where A and B run over all combinations of repeat units (Figure ). For asymmetric monomers, only the head-to-tail repeat sequence was considered. The 4-mer series was also used to explore the effect of the peripheral substitutions on the body. This strategy has been used to tune ligand solubility, film morphology, and electronic properties. The body substitutions that were explored (Figure ) were drawn from side-chain chemistries typical of conjugated polymers, including alkyl side chains (-CH3 (-Me), -C2H5 (-Et)), electrondonating side chains (-OMe), and electron-withdrawing groups (-CN, -F). The combination of distinct body substitutions, repeat patterns, and linkers yielded a total of 10848 ligands in the OE series. The ligand generation workflow for the OE series is detailed in Figure , and the code is available with the distributed software and available at Ref 27. Finally, a set of 50 experimental 2D perovskite ligands (the EXP-2D series) and 6 experimental 1D perovskite ligands (the EXP-1D series) were added as a validation dataset based on a recent review. Five ligands from the EXP-2D series overlapped with OE series. All the ligands in the EXP series are listed in Table .