[ // DEVELOPERS ]
One line of code — a mind for your app.
A TypeScript SDK that runs everywhere JavaScript does, a REST API for any language, and a one-URL MCP server. Secure by default, scoped per user.
[ // SDK ]
TypeScript SDK.
Runs in Node, Bun, Deno, edge, and the browser. Three primitives cover most of what you'll build: remember, recall, ask.
- remember() — store a fact, doc, or chat
- recall() — grounded, cited memories
- ask() — answers with proof, or silence
- 429-retry and SSE streaming built in
quickstart.ts
import { thinkingroot } from "@thinkingroot/sdk";
const tr = thinkingroot({ projectKey: TR_KEY });
const user = tr.scope(userId);
await user.remember("Maya moved her DB to Neon.");
const { answer } = await user.ask("What DB does Maya use?");[ // MCP ]
One URL, any AI tool.
Plug your mind into Claude, Cursor, Codex, and any other MCP client — no glue code. Your agent can remember, recall, and ask right inside the editor.
Claude
Add the URL — instant memory tools.
Cursor & Codex
The same mind, inside your IDE.
Any MCP client
Standard protocol, no lock-in.
[ // REST ]
REST API for every language.
Every primitive over plain HTTP — call the mind from Python, Go, Rust, or curl. Streaming answers, 429-safe, one bearer key.
curl
curl https://api.thinkingroot.com/ask \
-H "Authorization: Bearer tr_sk_…" \
-d '{ "query": "What did Maya decide?", "user": "u_123" }'