Whitepaper

The Case for
Structured Intelligence

Why knowledge graphs compound where RAG plateaus.

v1.0May 2026Andes Labs · Oslo
01
AI throws away cognitive work

The Problem

Every time you ask an AI a question, it starts from scratch. Chat history evaporates. Meeting notes pile up unread. Strategic context built over months disappears when a tab closes. The AI is powerful at the moment of query — but it learns nothing, retains nothing, and compounds nothing. Your organisation's intelligence keeps leaking.

02
RAG retrieves. Kernal maintains.

The Thesis

Retrieval-Augmented Generation is good at finding relevant text. It is not good at maintaining understanding. The same insight gets re-derived on every query. Contradictions accumulate silently. The corpus grows; the comprehension does not. Kernal takes the opposite bet: synthesise at write time, not at query time. Every source that enters the system updates a maintained knowledge base. The wiki gets better with every source added — not just longer.

03
The layer underneath the agent

Substrate, Not Agent

Most AI products sit at the agent layer — they do things. Kernal sits underneath, as substrate — it is what the agent knows. The lineage is Palantir Foundry: master-data at the bottom, ontology in the middle, AI execution on top. We are not Palantir; we are deliberately the simpler, more portable bet, scoped to professional services rather than government and finance. The agents you buy or build sit on top of Kernal. The graph below them is what makes them useful, learnable, and yours.

04
Five layers, one graph

How Kernal Works

Kernal structures your team's knowledge across five layers: Intent (goals, strategy), Commercial (deals, relationships), Intelligence (patterns, insights), Execution (actions, decisions), and Conversation (meetings, transcripts). Each layer has its own schema and relationships. Together they form a graph — one that can be traversed, queried semantically, and exported as a portable SQLite file. Served over MCP, it connects to Claude, ChatGPT, and any MCP-compatible AI tool.

05
Vector search lives in the same SQLite

One File, No Stack

Most "AI memory" products demand a stack — Postgres, Pinecone, Redis, an auth service, a queue, monitoring, a vendor commitment. Kernal is one SQLite file. Vector search runs inside it via the sqlite-vec extension. Embeddings come from a local model — no API call out, no data leaves your perimeter. Backup is copying a file. Migration is sqlite3 dump. The simplicity is not aesthetic; it is the only way a 20-person firm adopts this without it becoming a second IT department.

Common stack
Kernal
Postgres + Pinecone + Redis + S3 + auth service + queue + monitoring
One SQLite file + a Node process
Six-figure vendor commitments before first user
Zero vendor lock-in by design
Four-week pen test, six-week procurement
One-day deployment, file is auditable in an afternoon
Disaster recovery: nightly snapshots of 5 systems
Disaster recovery: copy a file
Migration: hire consultants
Migration: sqlite3 .dump
06
Four lifecycle hooks

What Makes Memory Automatic

Most "AI for X" tools fail because they require someone to remember to feed them. Kernal installs lifecycle hooks into the agent host — Claude Code, Cursor, Codex, Copilot, any MCP-compatible runtime — that fire at four key moments. Session start: pre-load the relevant slice of the graph. Every prompt: route context as you type. Before context-window compaction: compress long-term memory before short-term gets evicted. Session end: capture observations into a review queue. The hooks are why an agent goes from "smart chatbot" to "actual second brain." Memory happens whether anyone is paying attention or not.

07
The substrate rides whatever AI tool the user already trusts

Adoption, Not Installation

Every enterprise has shadow AI. People bring their own ChatGPT, their own Claude, their own Copilot to work because the corporate tool requires too much manual data entry, has wrong defaults, and changes faster than priorities. Kernal does not compete with that. Kernal is the substrate underneath whichever AI host the user already trusts — same principle as Outlook or shared drive: a company asset issued on day one, surfaced through tools the user already uses, captured automatically as a byproduct of work that would happen anyway. The individual incentive is less admin: less manual CRM updating, less context-rebuilding, less coordination overhead. Knowledge accumulation is the side effect. That is why bottom-up adoption survives where top-down rollouts die.

08
Intelligence that compounds over time

Results

In production use: 8 clusters analysed in a single batch, 8 cluster meta-pages written automatically, 3 cross-cluster contradictions surfaced — including a critical tension between a $170B market bet and the same company's missed revenue targets. No human read across all 50 source pages. The system did. In professional-services pilots, the cost-of-coordination math typically pays back within the first delivered engagement. The difference is architectural. Capability is a ceiling. Context is a compounding asset.

Capability is a ceiling.
Context is a compounding asset.

Read the full philosophy essay →
Deep dive into write-time synthesis, the five altitudes, and Big Library.