Get the SDK
Add structured long-term memory to any LLM. Choose your language and get started in minutes.

Installation
Install the Symbol SDK for TypeScript using your preferred package manager:
# npm
npm install @symbolmachines/memory
# yarn
yarn add @symbolmachines/memory
# pnpm
pnpm add @symbolmachines/memoryUsage
Get started with Symbol in your TypeScript application:
import Symbol from "@symbolmachines/memory";
const symbol = new Symbol({
apiKey: process.env.SYMBOL_API_KEY
});
// Inject memory before calling your LLM
const context = await symbol.memory.inject.create({
input: "What should I eat for lunch?"
});
// ... call your LLM with the contextual input ...
// Save memory afterward
await symbol.memory.save.create({
output: "Eat sushi is a healthy meal."
});Quick Start
The Symbol SDK for TypeScript adds structured long-term memory to any LLM. Initialize the client with your API key, inject memory context before calling your LLM, and save the output afterward to build up contextual memory over time.
All methods return Promises and are fully typed, making it easy to integrate Symbol into your existing TypeScript workflows.
Share your ideas with us
contact@symbolmachines.com