Skip to content
Lab preview · agent infrastructure

Fuli

A local-first memory platform for AI agents: durable enough to inspect, retrieve, reinforce, and export.

BuildingSQLite · MCP · HTTP API · offline retrieval
What we’re trying to solve

Give agents memory they can be held accountable for.

Agent memory is often treated as an opaque vector store. Fuli explores a more inspectable foundation: canonical records, append-only events, retrieval filters, lifecycle controls, and exportable data.

System

Durable records, flexible retrieval.

SQLite is the canonical store. An append-only event log feeds a mutable episode projection, while hybrid vector and FTS5 retrieval can fall back to lexical or substring search. Namespaces, metadata filters, scoring, reinforcement, and consolidation queues sit above that base.

High-level workflow

agent event → canonical store → episode projection
                         ↘ retrieve → filter → reinforce
                         ↘ export / diagnostics / metrics
Evidence

What the repository makes visible.

EvidenceWhat the repository shows
StorageSQLite WAL is the canonical local store with migrations and append-only events.
RetrievalHybrid vector and FTS5 retrieval includes deterministic fallback paths.
InterfacesMCP and HTTP API surfaces are documented alongside standardized errors.
VerificationOffline retrieval benchmarking, diagnostics, Prometheus metrics, and JSONL export/import are included.
What we’re learning

Memory is a systems problem.

01 · Canonical data first

Agents need memory that can be inspected and migrated without depending on a hosted provider.

02 · Retrieval needs a floor

A useful system still answers when embeddings or a model endpoint are unavailable.

03 · Lifecycle is not cleanup

Scoring, reinforcement, soft deletion, and consolidation shape what the agent is allowed to remember.

04 · Interoperability matters

Export, diagnostics, MCP, and HTTP make memory a component rather than a hidden dependency.

Next

What comes next.

The next useful proof is a reproducible benchmark fixture that compares retrieval quality and operational cost across realistic memory lifecycles.