I'd say "information" is the most abstract way to describe that fundamental force of which you speak, and "code" is one instance of it.
DNA contains patterns used to replicate cells, and other complex systems (swarms, ant colonies...) use encoded patterns to create emergent behavior following its instructions, and reacting with its environment according to the defined program.
"Code" is one such information system that acts following predefined patterns, and can act independently of any further control and guidance. It differs from other systems in that those patterns are created directly by our minds, as a reflection of our will.
The traditional system that behaves this way in stories is Magic. So your comparison to Jinns seems appropriate. 🙂