LLMs only "depend" on libraries because library usage is in their training set. Clearly they don't actually need to use libraries.
Otherwise, why bother to run your vibe-coded website on nginx? Just have the LLM spit out its own novel web server, its own novel TCP stack, its own novel OS for that matter.