Skip to main content

TypeScript SDK

Official TypeScript SDK for LanOnasis Memory-as-a-Service.

Installation

npm install @LanOnasis/sdk
# or
yarn add @LanOnasis/sdk
# or
bun add @LanOnasis/sdk

Quick Start

import { LanOnasisClient } from '@LanOnasis/sdk';

const client = new LanOnasisClient({
apiKey: process.env.LANONASIS_API_KEY
});

// Create a memory
const memory = await client.memories.create({
title: 'Important Note',
content: 'This is my memory content',
tags: ['work', 'project']
});

API Reference

See the full API reference for detailed documentation.

Examples

Check out our examples for common use cases.