How to add components to schematic programmatically

Hello! New to the forum and KiCAD.

Looking for a way to programmatically add components to an empty schematic. I have a bunch of components libraries and am looking for a faster way to import them into a KiCAD project. Any tips or existing libraries that I can use to achieve this?

Schematics are text files. They can be easily manipulated with a programming language. That way you can add symbols, connections, etc.

This site gathers over 200 repositories for various KiCad utilities: KiCADNexus ยท GitHub Maybe you can find something for manipulating schematics.

Kicad-skip may be what you want.