Make every byte count.

A memory-efficient inference engine.

Written in Rust, Piramid combines model execution, GPU memory and KV-cache management with durable vector storage and search.

curl -fsSL https://piramiddb.com/install.sh | sh
from piramid import Piramid

db = Piramid("http://localhost:6333")
db.embed("notes", ["Compaction rewrites the store without deleted documents."])

answer = db.generate(
    messages=[{"role": "user", "content": "What happens to deleted documents?"}],
    collection="notes",
    k=2,
)
print(answer["text"])

In development. Generation currently retrieves before prefill; integration during generation is planned.