Running Rhino headless and where to get started with automation

Hey all,
I have an application where I want to use Rhino to generate complex solid models. I don’t want to expose rhino to the user, I just want to use it as a 3d engine.

Is this even possible? If yes, where should I start?
I prefer coding in Python or C#

Here’s a topic that may help you get started.