A new arXiv preprint, "Stdlib or Third-Party? Empirical Performance and Correctness of LLM-Assisted Zero-Dependency Python Libraries," tackles a familiar problem: third-party dependencies make Python code more powerful but also heavier. They introduce management overhead, supply-chain risk, and deployment friction. The authors ask whether those costs can be avoided by rewriting code to use only the standard library, with help from large language models.
The study appears to use LLMs to convert existing libraries into zero-dependency versions, then empirically compares the results against the originals. The core question is not simply whether the rewrites work, but under what conditions they preserve enough correctness and performance to justify the gains from dropping a dependency. The abstract does not disclose specific results, so the paper's contribution at this stage is in framing that trade-off.
For teams weighing dependency hygiene against feature richness, this work points to a middle path: LLM-assisted rewrites might make stdlib-only code viable in some contexts, but the decision likely depends on how much performance or correctness loss is acceptable. The preprint is available on arXiv under identifier 2605.21405.