For builders
Persistent context for your application.
Use a scoped SDK client or the REST API to retain user knowledge and retrieve it when your application needs it.
01
Bind memory to an authenticated user.
Keep the project key on your server. Derive the user identifier from your authenticated session before creating a scoped client.
Server-side TypeScript
import { thinkingroot } from "@enkeon/sdk";
const client = thinkingroot({
gatewayUrl: "https://api.enkeon.com",
projectKey: process.env.ENKEON_API_KEY!,
});
const memory = client.scope(authenticatedUserId);
await memory.store([{ statement: "Prefers a weekly digest." }]);
const hits = await memory.recall("Digest frequency?");02
Integrate one operation at a time.
Begin with a known fact and a question that should retrieve it. Then test corrections, empty results and user isolation before adding the workflow to your application.
Remember
Persist useful information in the intended user scope.
Recall
Retrieve stored context for your own model or interface.
Ask
Generate an answer through the supported synthesis path.
Keep exploring
See what context makes possible.