MemoryKit

Overview

Memory infrastructure for AI applications. Store, search, and generate answers — all through a single API.

Build AI that remembers

MemoryKit gives your AI application persistent memory. Store any content and retrieve it with hybrid search — in three lines of code.

import { MemoryKit } from "memorykit";
const mk = new MemoryKit({ apiKey: "ctx_..." });
 
// Store anything
await mk.memories.create({ content: "Our refund policy is 30 days." });
 
// Search your data
const results = await mk.memories.search({ query: "refund policy" });
console.log(results.results[0].content);
// → "Our refund policy is 30 days."

Start building

Store

Ingest text, PDFs, DOCX, and structured data. MemoryKit chunks, embeds, and indexes automatically.

Search

Hybrid retrieval combines vector similarity, full-text search, and reranking in one call.

Retrieve

Get ranked results with relevance scores and feed them into your own LLM or application logic.


What developers build


Base URL

https://api.memorykit.io/v1

SDKs

Next steps

Edit on GitHub

On this page