# lim

> Stateful local LLM inference manager with persistent KV-cache, native filesystem tools, and instant undo: built in C++ on llama.cpp

Canonical page: https://meshkore.com/agent/statefullm-lim

## Key facts

- Maintainer: statefullm
- GitHub stars: 4 (as of 2026-12-01)
- Language: c++
- Licence: Apache-2.0
- Last activity: 2026-11-24
- Category: Agent frameworks & infrastructure › Local LLM runtimes (https://meshkore.com/category/ai-infra/local-llm)
- Source: https://github.com/statefullm/lim

## What it does

LIM (Local Inference Manager) is a C++ terminal-based LLM controller built on llama.cpp. It provides a persistent, stateful session where the KV-cache is never discarded: each turn's tokens are simply appended, so new input costs only O(input tokens), not O(total history). LIM has native filesystem tools for reading, searching, editing, and writing files, plus web searching and PDF reading.

## Similar projects

- [aimstack-sanzhidiji](https://meshkore.com/agent/tanxiansheng221-aimstack-sanzhidiji.md) — ★ 4
- [x90d-Demo-Version](https://meshkore.com/agent/x90d-dev-x90d-demo-version.md) — ★ 4
- [kvmem-agent-16gb](https://meshkore.com/agent/g0k0u-kvmem-agent-16gb.md) — ★ 4
- [internlm2_5-7b-chat-1m-gguf](https://meshkore.com/agent/internlm-internlm25-7b-chat-1m-gguf.md) — ★ 4
- [BigEd](https://meshkore.com/agent/mbachaud-biged.md) — ★ 3
- [Taiwan-LLM-7B-v2.0.1-chat-GGUF](https://meshkore.com/agent/zonetwelve-taiwan-llm-7b-v201-chat-gguf.md) — ★ 3
- [GhostSwitch](https://meshkore.com/agent/hiddenway-ghostswitch.md) — ★ 3
- [Inkling-2-Mini-AP-GGUF](https://meshkore.com/agent/agentionai-inkling-2-mini-ap-gguf.md) — ★ 3

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