Getting Started

Introduction to Liebed

Liebed is a developer-first memory layer that gives AI agents persistent, intelligent long-term memory. Instead of building custom RAG pipelines or struggling with context limits, Liebed lets your agents automatically extract, store, and recall relevant facts over time.

Why Liebed?

Traditional vector databases require you to handle embedding, chunking, and semantic search manually. More importantly, they only retrieve text snippets. Liebed actually understands the memories:

Quick Example

Initialize the client and add a memory.

index.js
import { Liebed } from '@liebed/sdk';

const liebed = new Liebed({
  apiKey: process.env.LIEBED_API_KEY
});

// Save a memory
await liebed.remember({
  user_id: "user_123",
  content: "User prefers concise answers and is building an AI startup."
});