SDK

TypeScript

Use the TypeScript wrapper when your agent runtime already has fetch and you want the same five operations without a second client protocol.

Download the client

curl -fsS https://magla-memory.5-180-47-236.sslip.io/sdk/typescript -o magla-memory.ts

Start a task

import { Memory } from "./magla-memory";

const memory = new Memory(process.env.MAGLA_MEMORY_API_KEY!);
const work = await memory.preflight("Continue support case", {
  limit: 5,
  scope_lock: "support-case-1842"
});
console.log(work.resume_from);

Same storage, same contract

The TypeScript client is only a wrapper over HTTPS. Python, TypeScript, REST and Remote MCP all reach the same tenant-isolated continuity store.