microscope-memory 1.2.0

Pure binary cognitive memory engine with REST API bridge for LLM integration. Zero-JSON core, mmap-based, hierarchical, sub-microsecond search.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Microscope Memory - AutoGPT Plugin
import requests
API = "http://localhost:6060/v1"

def recall(query, k=5):
    r = requests.get(f"{API}/recall", params={"q": query, "k": k})
    return r.json() if r.ok else []

def store(text, imp=5):
    r = requests.post(f"{API}/remember", json={"text": text, "importance": imp})
    return r.ok

# For AutoGPT: add to plugins/ folder
print("Microscope Memory AutoGPT plugin loaded.")