LM Studio has open-sourced a utility called 'venvstacks' for creating layered Python virtual environments, enabling easy deployment and sharing of dependencies for Python applications in environments like MLX engine within LM Studio.
venvstacks is a Python 'venv' project.
Chains Runtime, Framework, and Application layers.