Skip to content

Ladybug-Memory/ladybug-memory

Repository files navigation

Memory

Agent memory interface implemented using LadybugDB. Other more optimized interfaces are possible.

Installation

uv sync

Usage

uv pip install ladybug-memory
from memory import LadybugMemory

mem = LadybugMemory("memory.lbdb")

mem.store("User prefers Python", memory_type="preference", importance=8)

results = mem.search("python")
for r in results:
    print(r.entry.content)

About

Ladybug Memory Python Implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages