Libra Documentation
The memory & retrieval layer for AI agents — Memory, Vector Database, Knowledge, and Agents.
Libra is an API-first platform with four products behind one account:
| Product | What it does |
|---|---|
| Memory | Long-term memory: add, semantic search, and manage memories for users and agents. |
| Vector Database | Vector indexes with ANN search and integrated (server-side) embedding. |
| Knowledge | Upload documents and get grounded answers with citations. |
| Agents | Knowledge-grounded assistants with deterministic rules and HTTP tools. |
Everything is available over the HTTP API, the TypeScript SDK, and the libra CLI.
Get started
Install
npm install @libra-memory/sdkimport { createMemoryClient } from "@libra-memory/sdk";
const memory = createMemoryClient({ apiKey: process.env.LIBRA_API_KEY });
await memory.add("My favorite color is teal.", { userId: "u_123" });