Make your AI product
Understand User

ThinkingRoot is growing AI infrastructure that gives every user their own mind — one that thinks, remembers, and acts. In a few lines of code.

Join waitlistTalk to founder
Memory + Mind = Neural Brain

A living mind for every user

It remembers, learns, and grows with everyone who uses your app — grounded, cited, and yours to fork.

rememberrecalllearndreampredictfork
Agents

Deploy agents that remember every user, inherit a shared brain, and take real action.

ctx.acquire()
Root Functions

Durable functions that run inside the brain.

Drop-in widget

State-of-the-art research foundation

ThinkingRoot SOTA Foundation

Two platforms built on the same engine

thinkingDB

Grounded, cited, and durable active mind database that learns from user context.

thinkingDB app
Thinking personal

A secure, private personal AI mind that keeps track of your notes, thoughts, and files.

Thinking personal app
Thinkingroot CompAG

RAG reads. Compiled Augmented Generation understands.

Read paper

Retrieval-Augmented Generation makes the model read, count, and reconcile raw chunks on every query. Compile-Augmented Generation does the hard work once — compiling knowledge into a verified, byte-anchored graph — so answers are computed, current, and cite the exact source.

1
Step 01compile
2
Step 02verified fact-graph
3
Step 03deterministic answer + exact citation
CompAG

Understanding, compiled once.

1
Step 01chunks
2
Step 02embed & retrieve top-k
3
Step 03LLM guesses
RAG

Query-time reading, every time.

Compile-time understanding

The hard reasoning happens once, at ingest — not on every query.

Computed, not guessed

Counts, sums, and dates are computed in Rust. The model never does math.

Byte-exact citations

Every fact traces to an exact source range, re-verified with a BLAKE3 hash.

Never silently stale

Bi-temporal facts — superseded info is surfaced, not served.

ThinkingRoot gives a mind to you and your app's users. An AI product that truly knows its users is one they keep coming back to.

Join waitlist
ThinkingAgent

Spot agent creation inside console or through SDK

Read agents doc

Configure, deploy, and monitor agents with leading Thinkingroot engine accuracy and ultra-low latency across chat—with the persistence of forkable and mergeable Git-like branches as the brain for agents.

What did we decide on the Q3 budget?
Grounded: marketing_plan_v2.pdf
We allocated $45,000 for digital advertising and $12,000 for creator sponsorships.
Let's increase creators to $15k.
Branch: main ➔ patch-1
Budget updated. Created a mergeable branch for review.
Memory Conversation

Chat with your agents directly over your fact-graphs. Unauthenticated sessions persist securely using a unique browser-level client ID.

Memory Ingest
BLAKE3 Verified
marketing_plan_v2.pdf
12.4 MB • Compiled fact-graph
100%
Deployment
Live Session Monitor
Session ID: anon_9f8a2Active
User input: "Increase creator..."Fork Created
IP: US-East (Anonymous Browser ID)Grounded
Console & SDK

Compile documents into active memory, embed agents with one line of code, and monitor sessions in real-time.

Connectors

Integrate databases, private APIs, and raw file repositories as live, active sources of truth for agent cognition.

Guardrails

Enforce strict compliance and behavioral boundaries, guaranteeing all agent outputs are grounded and align with policy.

Fork & Merge

Fork agent memory and configurations into parallel Git-like branches to test updates safely before merging changes.

ThinkingAgent goes beyond simple prompt replies to execute complex workflows. Fork configurations, test updates in isolation, and run agents that actually understand context.

Join waitlist
Developers

Or build anything on the mind — SDK, MCP, and REST

Explore docs
TypeScript SDK

One line gives your app a mind. Runs everywhere JavaScript does — Node, Bun, Deno, edge, and the browser. Secure by default, scoped per user.

remember()
Store a fact, a doc, or a whole chat.
recall()
Grounded, cited memories in <200ms.
ask()
Answers with proof — or it stays silent.
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, cites } = await user.ask(
"What DB does Maya use?");
MCP server

One URL plugs your mind into any AI tool — no glue code. Your agent can remember, recall, and ask, right inside the editor.

Model Context Protocol
Works with any MCP client
Add one URL
api.thinkingroot.com/mcp?key=tr_sk_…
ClaudeCursorCodexWindsurf
REST API

Every primitive over plain HTTP — call the mind from any language or runtime. Streaming answers, 429-safe, one bearer key.

Any language
curl it, or use the SDK.
SSE streaming
Stream ask() token by token.
curl https://api.thinkingroot.com/ask \
-H "Authorization: Bearer tr_sk_…" \
-d '{ "query": "What did Maya decide?", "user": "u_123" }'

Durable code + cacheable prompts.

Move beyond static LLM parameters. Run calculations, trigger scripts, and structure templates directly co-located with memory.

Key Features
  • Durable execution — built-in timers, retries, and idempotency
  • Zero latency — co-located with the memory graph
  • Self-extending — dynamically acquire or forge new skills on demand
brain-ide
export default rootFunction(async (ctx) => {
// 1. Recall facts directly from memory
const facts = await ctx.memory.recall("open tickets");
// 2. Dynamically acquire the required skill
const skill = await ctx.acquire("summarize-thread");
// 3. Schedule self-run in 1 hour (durable execution)
await ctx.scheduleSelf({ in: "1h" });
return skill.run(facts);
});
Terminal Output
// Output: Execution scheduled. Thread summary generated successfully.

More than memory — it acts.

The Mind doesn’t just remember. It routes to the right skill, orchestrates multi-step work, and acts inside your users’ apps.

Connectors

Act in 50+ apps — Gmail, Slack, GitHub, Notion — with per-user OAuth, so the Mind works on your users' behalf.

Route

Just-in-time route-or-forge: it picks the right function for a task, or builds a new one on the fly.

Flow

Compose multi-step flows — fan out to a crew, gather results, and branch — all backed by durable memory.

Benchmark

State of the art — and 85% lighter

CompAG compiles understanding ahead of time, so every query ships ~2K tokens of verified facts instead of stuffing raw context. You spend far fewer tokens for grounded, cited answers — and the no-leak accuracy eval publishes soon.

Input tokens / query
−85%lighter per query
Output tokens / query
−40%lighter per query
Input tokens / query−85% vs RAG
Typical RAGraw context
ThinkingRoot~2K verified facts
Output tokens / query−40% vs RAG
Typical RAGraw context
ThinkingRootcited, grounded

Lower is better · measured vs typical RAG context · full methodology in the paper

Not better RAG — a new category.

The wins are architectural, not prompt-tuning. LongMemEval (no-leak) results publish with the paper.

Read the paper
RAGZep / GraphitiThinkingRoot
Understanding happensQuery timeIngest + queryCompile time
Counts, sums, datesLLM guessesLLM guessesComputed in Rust
ProvenanceA documentNode / edgeExact bytes, verified
Wrong-count failuresCommonCommonImpossible

Best for latency, quality, and cost.

The hard work happens at compile time — so at query time you get faster answers, grounded in proof, for a fraction of the tokens.

Latency

Answers in the blink of an eye.

  • Sub-200ms hybrid recall
  • Answer cache for instant repeats
  • Compiled prompts — repeated tokens never re-sent
Quality

Grounded, current, and provable.

  • Cited answers — verified, or it stays silent
  • Fact-quality gate + verification
  • Supersession — it changes its mind when the facts do
  • A knowledge graph, not raw chunks
Cost

A fraction of the tokens.

  • −85% input tokens per query
  • Byte-stable prompt frames → cache-friendly
  • Compile once — never re-read the same source

Best for latency, quality and cost.

Or configurable for each use case.

ROOT FUNCTIONS

Durable isolate compute.

JavaScript execution sandboxed in Deno/V8 co-located with your storage. Automatic step journaling replays events and retries without re-spending LLM API tokens.

Capabilities & Specs
V8 SandboxStep Journal< 2.5s Resume
COMPILED PROMPTS

90% cache hits, 75% fewer tokens.

Compiles workspace state into a Workspace Capsule. By aligning volatile user turns at the bottom, upstream LLM providers hit prompt-cache on static system, tool, and memory segments.

Capabilities & Specs
Capsule CompactionCache StabilityAnswer Hydration
GATEWAY & SECURITY

Zero-trust tenant isolation.

Gateway hashes credentials using BLAKE3 and routes traffic to Podman containers on Azure. Binds x-tr-user headers to mount user prefixes inside CozoDB.

Capabilities & Specs
Blake3 AuthPodman ContainersZero-Leak Routing
BRANCHING & MERGES

Git-like memory branching.

Clone active database states into quarantined RocksDB instances via reflinks. Execute Datalog assertions and unit test suites on isolated branches before merging to main.

Capabilities & Specs
Reflink CloningPR VerificationRocksDB Isolated
COGNITIVE AGENTS

Zero-copy lineage resolution.

Nested inheritance chain resolves codebase schemas, custom prompts, and memory dynamically (composite -> agent -> main) without copying or duplicating storage partition.

Capabilities & Specs
Read-Time InheritanceARTMIP VerbsHebbian Weights

You’ve posted about this.

The walls every AI builder keeps hitting — and how ThinkingRoot answers each. Real problems, real sources.

View all problems →

My agent forgets everyone the moment they close the tab.

A per-user mind that persists across sessions.

Memory

RAG cites a source that doesn't actually support the claim.

Every fact is byte-anchored and re-verified — cited, or silent.

CompAG

I re-send the whole history every call and the bill explodes.

Ship ~2K verified tokens, not the raw dump — up to 85% fewer.

Token efficiency

A user asked to be deleted — stale embeddings still linger.

Verifiable delete: the fact and every answer that used it.

Per-user engine

Per-user OAuth for every app is a whole backend to build.

A broker handles it — your agent just acts in Gmail, Slack, GitHub.

Connectors

My agent dies halfway and re-runs side effects on retry.

Durable Root Functions resume from checkpoint — no re-runs.

Root Functions

From the blog

All posts

Bring everything you have. We'll do the thinking and the rooting.

Ingest any document, database, or API. ThinkingRoot compiles raw text into a secure, content-addressed memory layer for your AI agents.