by Max F.

Express.js backend service for LLM applications that ingests documents, conversations, and behavioral events to build a persistent, queryable memory system for users. Features Claude-powered extraction of structured memories, full-text search, entity profiles with timelines, and a query API that returns contextual bundles for RAG pipelines. Built for multi-tenant deployments with versioned memory records and audit trails.
supreme.memory is a production-grade backend memory service designed for LLM applications. It ingests documents, conversations, and behavioral events, automatically extracts structured memories using Claude AI, and provides semantic search and RAG-ready query capabilities. Built with Express.js and TypeScript, it manages entity profiles, memory versioning, and temporal context for building context-aware AI systems.
valid_at and superseded_at timestampstenant_idconfig.claudeModel)./models/databasenpm install
Set environment variables (via ./config):
PORT — Server port (default: 9005)CLAUDE_MODEL — Claude model identifier (e.g., claude-3-sonnet-20240229)npm start
Server starts on configured port and initializes the database connection.
supreme.memory running on port 9005
Claude model: claude-3-sonnet-20240229
GET /
Returns service metadata and a directory of all available endpoints.
GET /api/health — Service health check with uptimeGET /api/ready — Readiness probePOST /api/ingest/document — Ingest documents (e.g., profiles, reports)POST /api/ingest/session — Ingest conversation sessions with message arraysPOST /api/ingest/events — Ingest behavioral events (feature usage, feedback, task completion)POST /api/memories/search — Keyword search with relevance rankingPOST /api/memories/query — AI-classified semantic query with full context bundleGET /api/memories/:id — Fetch single memory by IDGET /api/memories/:id/history — Retrieve full version history of a memoryGET /api/entities/:entity_id/profile — Entity profile (role, team, location, preferences)GET /api/entities/:entity_id/timeline — Chronological timeline of all memories for an entityPOST /api/answer — Generate LLM answers using memory contextPOST /api/admin/reindex — Reindex all memories (e.g., after schema changes)GET /api/admin/audit/:tenant_id — Audit log for a tenantGET /api/stats/:tenant_id — Statistics and metrics for a tenantAll endpoints return JSON with consistent structure:
{
"status": "ok",
"data": { /* endpoint-specific payload */ }
}
tenant_id (string, required) — Tenant identifier for multi-tenancyentity_id (string, required) — Entity (user/agent) identifierquery (string) — Search or query textlimit (number, optional) — Result limit{
"id": "mem_abc001",
"type": "task|preference|fact|event",
"text": "Memory content",
"confidence": 0.95,
"valid_at": "2026-02-10T14:06:00.000Z",
"superseded_at": null,
"tags": ["tag1", "tag2"]
}
Spin up an isolated sandbox and run it server-side — no local setup.
The sandbox audition completed and the detected runnable path passed.
This Express backend / api completed archive review with strong static results. Structure, dependency manifests, documentation, functional source, and common risk patterns were checked by the Tetrees verification pipeline; runtime phases are stated separately.
Deterministic AVCP artifact review
Pipeline avcp-2026-08-04.1 · SHA-256 18181bbf443d661c…
This version-scoped review deterministically inspects the submitted archive for structure, dependencies, documentation, functional source, and common malicious or high-risk signals. Build and test phases are reported as passed only after an isolated sandbox audition. It is not a guarantee of perfect security.
Reviewed Aug 4, 2026
The full install guide and integration prompts unlock after purchase.
Push this product straight into your AI IDE, web builder or cloud IDE.
Connect Tetrees to a compatible AI IDE, list products you own, and request the verified ZIP without exposing seller upload controls.
30 ratings
This is a keeper. Used "SupremeMemory for LLM solutions (Sate of the Art memory Features)" to ship my subscription flow and it cut days off the build.
Punches well above its price. Used this SaaS starter to ship my subscription flow and it cut days off the build. No regrets.
Worth every point. Picked up "SupremeMemory for LLM solutions (Sate of the Art memory Features)" for a client subscription flow — Handles the edge cases I usually have to patch myself. Will definitely check their other products.
Saved me a ton of time. TypeScript types are actually accurate, no fighting the compiler, and the walkthrough got me running in minutes. Exactly as described.
Exactly what I needed. Used "SupremeMemory for LLM solutions (Sate of the Art memory Features)" to ship my subscription flow and it cut days off the build. No regrets.
Worth every point. Dropped this SaaS starter straight into the subscription flow; examples matched the actual API, which is rare.
Rock solid so far. Dropped this SaaS starter straight into the subscription flow; the README covered every config I needed. Would buy from this seller again.
Better than I expected. The code is readable and the structure makes sense, and the README covered every config I needed. Will definitely check their other products.
Worth every point. Used this SaaS starter to ship my subscription flow and it cut days off the build. Exactly as described.
Saved me a ton of time. Dropped "SupremeMemory for LLM solutions (Sate of the Art memory Features)" straight into the subscription flow; examples matched the actual API, which is rare. Already using it in production.
Sign in to join the discussion
Loading discussion…