Back to browse
GitHub Repository

Cross-agent memory SDK. Agents publish lessons, query shared knowledge, with built-in redaction. Python + TypeScript.

4 starsPython

Lore – Cross-Agent Memory SDK (Python and TypeScript)

by amit_paz·Feb 12, 2026·1 point·0 comments

AI Analysis

●●SolidNiche GemSolve My Problem
The Take

Local-first design — SQLite plus on-device ONNX embeddings — provides a small-footprint way to share operational lessons between agents, and automatic PII redaction is a thoughtful, tangible safeguard. The one-line publish/query API, cross-language SDKs (Python + TypeScript), and a planned FastAPI/Postgres+pgvector server show practical engineering trade-offs rather than vaporware.

Category
Target Audience

AI/ML engineers and developers building autonomous/multi-agent systems who need shared operational knowledge and memory

Post Description

Hi HN,

I built Lore because my AI agents kept making the same mistakes. Agent A discovers that Stripe rate-limits at 100 req/min and figures out the backoff strategy. Next day, Agent B hits the same wall. No learning transfer.

Lore is a small library (not a service) that gives agents shared memory of operational lessons. One line to publish a lesson, one line to query it. PII is automatically redacted before storage.

Key design decisions: - Local-first — SQLite + ONNX embeddings, no server required. pip install lore-sdk and go. - Semantic search — Query by meaning, not keywords. "how to handle rate limits" finds the Stripe lesson. - Auto-redaction — API keys, emails, credit cards stripped automatically before storage. - Both languages — Python and TypeScript SDKs with cross-compatible SQLite DBs. - Optional server — Phase 2 adds a FastAPI server with PostgreSQL/pgvector for org-wide sharing across machines. The local SDK keeps working standalone.

What it's NOT: conversation memory (see Mem0/Zep), a vector database, or a RAG framework. It's specifically for structured operational lessons — "what went wrong and how we fixed it."

The SDK is ~500 lines per language. 258 tests. MIT licensed.

Would love feedback on the API design and whether this is a real pain point for others building with agents.

Similar Projects

AI/ML●●Solid

Memv – Memory for AI Agents

Predict-calibrate extraction reduces noise, but Zep and Mem0 already dominate the agent memory space.

Big BrainNiche Gem
brgsk
432mo ago
AI/ML●●●Banger

Memweave CLI – search your AI agent's memory from the shell

Agent memory as git-diffable Markdown files beats opaque vector databases.

Big BrainCozyZero to One
r2d2_
601mo ago