Topics / #memory-management

Memory-management projects on GitHub

Persistent memory layers that let AI agents recall context over time.

As of , the most-starred Memory-management projects on GitHub are linux (257.2K stars), rust (122.6K stars) and mem0 (69.8K stars). GitHub.Locker tracks 37 Memory-management repositories with 821.3K stars combined. The fastest-growing on November 30 was mem0, with +182 stars in a day.

37Projects
821.3KStars in total
+702Stars in a day

Hot right now

Most stars gained in a day · Nov 30

The all-time top

37 projects · by stars

  1. #1 · torvalds/linux

    linux

    This is the Linux kernel itself - the core of any Linux operating system. It manages hardware and system resources and provides the fundamental services all other software runs on.

    257.2K
  2. #2 · rust-lang/rust

    rust

    This is the main source repository for the Rust programming language — it contains the compiler (rustc), the standard library, and documentation.

    122.6K
  3. #3 · mem0ai/mem0

    mem0

    Mem0 is a memory layer for AI agents and apps: it stores user preferences and conversation history so your AI assistant remembers people across sessions instead of starting from zero every time.

    69.8K
  1. 4

    CppCoreGuidelines

    45.5Kisocpp/CppCoreGuidelines · CSS

    The C++ Core Guidelines are a collaborative set of best-practice rules for writing modern C++ (C++11 and later), covering interfaces, resource management, memory management, and concurrency, with the goal of making code type-safe, leak-free, and fast.

  2. 5

    OpenViking

    43Kvolcengine/OpenViking · Python

    An open-source context database for AI agents: memories, resources, and skills live in one virtual filesystem under the viking:// protocol, so the agent browses its own context with ls, tree, and find instead of querying a black-box vector store.

  3. 6

    cognee

    33.4Ktopoteretes/cognee · Python

    Cognee is an open-source AI memory platform that gives AI agents persistent long-term memory across sessions, turning text, code, and conversations into a queryable knowledge graph.

  4. 7

    fmt

    25.9Kfmtlib/fmt · C++

    {fmt} is an open-source C++ formatting library — a fast, safe alternative to C stdio and C++ iostreams, with a format string syntax similar to Python's.

  5. 8

    fasthttp

    23.5Kvalyala/fasthttp · Go

    FastHTTP is a fast HTTP server and client library for Go, tuned for high performance: zero memory allocations in hot paths and up to 10x the speed of net/http.

  6. 9

    clay

    18.4Knicbarker/clay · C

    Clay (short for C Layout) is a high performance 2D UI layout library in C. You describe your UI with React-like declarative macros, it computes element positions and sizes in microseconds, and hands you back render commands.

  7. 10

    Memori

    17.6KMemoriLabs/Memori · Python

    Memori is an LLM-agnostic memory infrastructure layer that turns what agents do and say into structured, persistent state you can query across sessions, instead of starting every run from amnesia.

  8. 11

    Modern-CPP-Programming

    16.3Kfederico-busato/Modern-CPP-Programming · HTML

    A free, open-access Modern C++ Programming course by Federico Busato covering standards from C++03 to C++26 — from language basics to advanced features, tools and optimization.

  9. 12

    ants

    14.5Kpanjf2000/ants · Go

    ants is a goroutine pool library for Go: it manages and recycles a massive number of goroutines with a fixed capacity, letting you limit how many run concurrently in your program.

  10. 13

    EverOS

    13.9KEverMind-AI/EverOS · Python

    EverOS is a local-first, Markdown-native memory layer for AI agents: it stores conversations, files, and agent trajectories as readable Markdown, then syncs local SQLite and LanceDB indexes so any coding assistant, app, or workflow can retrieve and keep building on the same persistent memory.

  11. 14

    scalene

    13.6Kplasma-umass/scalene · Python

    Scalene is a high-performance CPU, GPU, and memory profiler for Python. It is also the first profiler to add AI-powered optimization proposals, via providers like OpenAI, Azure, Bedrock, or local Ollama models.

  12. 15

    mimalloc

    13.6Kmicrosoft/mimalloc · C

    mimalloc (pronounced 'me-malloc') is a compact general purpose memory allocator with excellent performance, first built by Daan Leijen for the runtime systems of the Koka and Lean languages.

  13. 16

    cJSON

    13.1KDaveGamble/cJSON · C

    An ultralightweight JSON parser written in plain ANSI C. The whole thing is one C file and one header, with the stated goal of being the dumbest parser that still gets your job done.

  14. 17

    MemOS

    12.5KMemTensor/MemOS · TypeScript

    MemOS is a Memory Operating System for LLMs and AI agents that unifies storing, retrieving, and managing long-term memory, so agents can have context-aware, personalized interactions instead of starting from scratch each session.

  15. 18

    memreduct

    11.4Khenrypp/memreduct · C

    Mem Reduct is a lightweight Windows application that monitors your system memory in real time and lets you clean it to free up RAM.

  16. 19

    jemalloc

    11.3Kjemalloc/jemalloc · C

    jemalloc is a general purpose malloc(3) implementation — a memory allocator for C programs — emphasizing fragmentation avoidance and scalable concurrency support.

  17. 20

    fast-jev-compaction

    8Ktamaratran/fast-jev-compaction · TypeScript

    A Claude Code plugin, also usable as an npm library, that replaces context compaction's summary with Jev decisions: every tool call and result is scored in fast requests, stale ones are dropped or truncated, and everything kept stays verbatim.

  18. 21

    mquickjs

    6.2Kbellard/mquickjs · C

    MicroQuickJS (MQuickJS) is a JavaScript engine built for embedded systems, able to run JS programs using as little as 10 kB of RAM and about 100 kB of ROM, with speed comparable to full QuickJS.

  19. 22

    zenc-lang

    4.3KZuhaitz-dev/zenc-lang · C

    Zen C is a modern systems programming language with high-level ergonomics (type inference, pattern matching, generics, traits, async/await) that compiles to human-readable GNU C/C11 while maintaining 100% C ABI compatibility.

  20. 23

    simslim

    4.3KMobAI-App/simslim · Go

    simslim turns off the background daemons an iOS-family simulator does not need, so one Mac can run far more simulators at once. It cuts each simulator's memory roughly 4x.

  21. 24

    coost

    4.2Kidealvin/coost · C++

    coost (aka co) is a lightweight, high-performance, easy-to-use C++ base library whose stated goal is to make C++ programming simple and enjoyable.

  22. 25

    fil-c

    3.9Kpizlonator/fil-c

    Fil-C is a fanatically compatible, memory-safe implementation of C and C++: most existing C/C++ software compiles and runs on it with zero or minimal changes, while every memory safety violation is caught as a Fil-C panic instead of silently corrupting memory.

  23. 26

    goose

    3.7Kaardappel/goose · C++

    Goose is a memory-safe systems programming language with no heap allocator, garbage collector, or lifetime annotations. In its own benchmarks it runs faster than C++ and safe Rust while using less memory.

  24. 27

    VoiceMem

    2.9Kxzf-thu/VoiceMem · Python

    VoiceMem is an open-source memory infrastructure for real-time voice agents, giving them long-term memory through a dual-brain architecture: a 'left brain' that stores factual information and a 'right brain' that tracks emotions and personality, built on a fully streaming pipeline to keep latency low.

  25. 28

    spinel

    2.3Kmatz/spinel · C

    Spinel is a Ruby ahead-of-time compiler that turns Ruby source code into standalone native executables by inferring types across the whole program and generating optimized C code.

  26. 29

    php2shell-bypass-aslr-exp

    1.6K9bie/php2shell-bypass-aslr-exp · Python

    php2shell is a remote-code-execution exploit chain targeting stock PHP 8.4.26 + Apache (mod_php, prefork MPM): it abuses a session-handling bug over pure HTTP, requires no session_start() call and no modified target-side PHP file, and ships as a single automated exploit.py script.

  27. 30

    android-internals-wiki

    592Gracker/android-internals-wiki · Python

    This is a free online book and knowledge wiki about Android system internals, covering App, Framework, Native, and Kernel layers, benchmarked against Android 17 / API 37 with AOSP android-17.0.0r1 source references.

  28. 31

    litedram

    590enjoy-digital/litedram · Python

    LiteDRAM is a small, configurable DRAM controller core for FPGA designs. It is written in Python with Migen and is part of the LiteX libraries.

  29. 32

    phantom-blade-zero-trainer

    382Mymedspharmacy/phantom-blade-zero-trainer · TypeScript

    A free Windows trainer for Phantom Blade Zero: an in-game overlay with toggles like God Mode, One-Hit Kill and Unlock All Weapons.

  30. 33

    ComfyUI-MiniMax-H3-LongMedia

    326vizart-vj/ComfyUI-MiniMax-H3-LongMedia · Python

    A set of production-oriented custom nodes for ComfyUI that run MiniMax H3 for long-form video and audio generation: reference editing, MultiClip planning, camera direction, fixed segmentation, lip-sync and redubbing, latent hi-res refinement, and low-VRAM-safe execution.

  31. 34

    Comfyui-MMH3-UltimateUpscale

    265bbaudio-2025/Comfyui-MMH3-UltimateUpscale · Python

    A ComfyUI custom node that upscales long, high-resolution MiniMax H3 AV video latents on VRAM-limited GPUs, using temporal chunking and spatial tiling inside a single node while keeping the audio track intact.

  32. 35

    memoket-kite

    235memoket/memoket-kite · Python

    KITE is an open-source, vector-free long-term memory engine for AI agents: it turns conversations into structured, topic-indexed facts and answers questions with inspectable retrieval plans instead of embedding similarity search, topping the LoCoMo and LongMemEval benchmarks.

  33. 36

    learned_index_lab

    166gilnett/learned_index_lab · Rust

    It is a pure Rust, zero-dependency implementation of the PGM-index (Piecewise Geometric Model learned index) along with a benchmark suite that compares it against a standard BTreeMap, flat slice binary search, and a cache-conscious Eytzinger layout.

  34. 37

    lytlnyblOS

    122red-mutt/lytlnyblOS · C

    lytlnyblOS ('little nibble OS') is a small 32-bit operating system built from scratch to teach beginners OS development practically. You write every line of it yourself while following the companion book.

Often tagged together