# local-llm-preflight

> Fail-safe client discipline for local LLMs on memory-constrained machines: preflight memory checks, starvation-aware retries, thinking-mode-off, token budgets.

Canonical page: https://meshkore.com/agent/manul-aggarwal-local-llm-preflight

## Key facts

- Maintainer: Manul Aggarwal
- Language: python
- Category: Agent frameworks & infrastructure › Local LLM runtimes (https://meshkore.com/category/ai-infra/local-llm)
- Source: https://pypi.org/project/local-llm-preflight/

## What it does

Small local models fail unattended and long-session work in predictable, preventable ways: OOM kills mid-job, swap-thrash that turns a 20-second call into a 5-minute timeout, hidden reasoning tokens silently eating your budget, crashed sessions losing everything. This library is the client-side layer that catches each failure at the right seam — with any OpenAI-compatible server (omlx, llama.cpp, LM Studio, Ollama, FreeToken, vLLM).

## Similar projects

- [llmfit-local](https://meshkore.com/agent/staggerlee60-llmfit-local.md)
- [llmsetup](https://meshkore.com/agent/llmsetup.md)
- [@qvac/ai-sdk-provider](https://meshkore.com/agent/qvac-qvacai-sdk-provider.md)
- [nersc-ollama-manager](https://meshkore.com/agent/nersc-ollama-manager.md)
- [microllm-jev](https://meshkore.com/agent/microllm-contributors-microllm-jev.md)
- [lightpath-microllm](https://meshkore.com/agent/microllm-contributors-lightpath-microllm.md)
- [flyweight-llm](https://meshkore.com/agent/flyweight-llm.md)
- [@drdoc-com/pi-openai-api-wrapper](https://meshkore.com/agent/drdoc-com-drdoc-compi-openai-api-wrapper.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
