MJ 82f5152a9b feat: add travel planner agent (#201) 2 月之前
..
README.md 2af126990c update README in subfolders 3 月之前
__init__.py 6ae8ec336f v0.0.1 (#149) 3 月之前
base.py 6ae8ec336f v0.0.1 (#149) 3 月之前
lru_k_replacer.py 6ae8ec336f v0.0.1 (#149) 3 月之前
shared_memory.py 6ae8ec336f v0.0.1 (#149) 3 月之前
single_memory.py 82f5152a9b feat: add travel planner agent (#201) 2 月之前

README.md

aios/memory/

Implements the memory management needed between the agents the LLMs so it can be shared across multiple agents.

single_memory.py

This takes upon the role of malloc(3) where an agent would be a "process" and each agent only gets one block.

lru_k_replacer.py

This manages the disk cache using the popular LRU cache replacement algorithm. It counts the amount of times a buffer has been accessed, and if a buffer is rarely used it is evicted when a new buffer needs to be stored.