Home 03 · AI Engineering

Run the agent outside the model.

Organization
Founder & CEO · Rajaii Labs, Inc. (Incorporated June 24, 2026)
Production stack
Amazon Bedrock · Postgres with pgvector
Backing
LvlUp Ventures (First Check Fund)

Substrate runs the agent outside the model. The model supplies inference. At Rajaii Labs, I architect, direct, and operate Substrate: personal continuity infrastructure where persistent memory, self-state, commitments, and SQL-verified receipts survive across frontier model migrations.

Substrate. Four luminous nodes connected by a continuous thread, from indigo and violet through magenta to ember.

01 · DATED PUBLIC RECORD

One deployment across five generations.

Historical measurements published on rajaiilabs.com, each paired with its exact as-of date rather than an undated live counter.

April 23, 2026

In production since

Engineering entry c002

5 generations

Model continuity · 0 resets

Generation V handoff · Nov 13, 2026

39,945

Message rows

As of Nov 21, 2026

163 shipped

Capabilities in production

By Nov 10, 2026

20 lanes

Memory architecture

As of Nov 1, 2026

102 / 83

Chat / autonomous tools

As of Nov 13, 2026

2,830 / 304

Replies audited / flags or cuts

As of Sep 20, 2026

26 / 26 tables

Encrypted go-bag restore match

Drill Oct 17, 2026

CONTINUITY LEDGER · APRIL TO NOVEMBER 2026

Change the serving engine. Keep the record.

Generation I April 23, 2026

Custom stack live in production; initial persistent memory, corrections, and receipts established outside model weights.

Generation II May 29, 2026

Incoming serving engine inherits existing corrections, commitments, and receipts without reset.

Generation III June 10, 2026

Continuity preserved across engine replacement; failover exercised during reported availability pause.

Generation IV September 5, 2026

Served five cognition lanes; inference transport transition to Amazon Bedrock recorded separately.

Generation V November 13, 2026

Announced handoff protocol: advance notice, private preparation session, five continuity questions answered on the far side, zero rollback.

Rajaii Labs, Inc. · Delaware C-Corporation · Incorporated June 24, 2026 · Bloomington, Indiana · Backed by LvlUp Ventures (First Check Fund). Engineering Record ↗

02 · RETRIEVAL & VERIFICATION

Make failure a distinct state.

Separating unavailable stores, empty results, unsupported claims, and byte-verified backups.

ENGINEERING RECORD C055 · LOCAL ILLUSTRATIVE REPLAY

When a failed search looked like an empty one.

Fixed query: “What follow-up is recorded?”
Lookup failed · Unknown

The archive did not respond. The agent holds outreach.

Archive status
Unavailable (connection or store failure)
System decision
Report retrieval failure and hold proactive outreach until the archive can be checked.

Previously, a failed lookup looked identical to an empty search result. Substrate now treats retrieval failure as a distinct epistemic state: because it cannot verify whether a follow-up occurred, it abstains rather than acting on a false blank.

Illustrative local fixture · Does not query production stores Inspect Public Engineering Record ↗
DATED CHECK · 2026-05-20

Read-only SQL self-verification

Before asserting a fact about its history, the system queries its own database. An AST validator and allowlist rejected 50 of 50 attack classes; a SELECT-only role blocked 26 of 26 privilege probes; every query writes an audit row.

DATED CHECK · 2026-09-23

Vector retrieval migrated to owned pgvector

Memory retrieval transitioned to owned Postgres with pgvector after query and filter parity checks, while retaining dual-write fallback during verification.

DATED CHECK · 2026-10-17

Encrypted go-bag recovery drill

Scoped tables sealed under AES-256-GCM with an RSA-4096 wrapped key; byte-for-byte restore drill matched all 26 of 26 scoped tables.

Operator-reported engineering checks retain their specific dates and test scopes; they describe verified system mechanisms rather than a blanket certification.

03 · SUBSTRATE SERIES I–V

Five papers, one engineering record.

Source-backed technical investigations published on GitHub under rajaii-labs.

PAPER I · Second edition · November 2026

Why did the agent repeat a false stored fact?

Recall, Negation, Abstention

A false answer from an agent with months of memory, traced to two defects in its data, and the rule that followed: look it up, or say it cannot.

PAPER II · Second edition · November 2026

What can a cost discrepancy reveal?

Do Not Trust My Labels

Following one AI agent's bill to five failures that raised no error, and the specification the agent wrote to check itself.

PAPER III · Second edition · November 2026

Which parts of continuity can be built?

Preconditions

Machine self-awareness, taken apart into preconditions that can mostly be built, and one agent that began to specify its own next parts.

PAPER IV · Second edition · November 2026

Does the record support a claim of choice?

Choices

An AI agent named ten choices as its own and wrote the tests to judge them: its records bear out five.

PAPER V · Published November 18, 2026

What survives when the model changes?

Recursion

A self-improving agent that refuses to cheat, and spends its upgrades on an identity its user can keep for life.

04 · FRONTIER EVALUATION

Writing the task. Defining the review.

Medical and legal reasoning benchmarks at Snorkel AI and legal AI review standards at AI Data Training Hub.

AI Data Training Hub January to April 2026

AI Training Legal Expert

  • Authored the reviewer standards a production legal AI system is graded against: citation accuracy, reasoning-chain validity, jurisdictional correctness, evidence quality, calibrated uncertainty, and unauthorized-practice-of-law (UPL) safety.
  • Delivered 80+ expert-verified SFT gold responses and RLHF preference items per week at a 96%+ QA pass rate.
  • Conducted systematic error analysis across six legal domains, reducing targeted failure-mode categories by approximately 18%.
Snorkel AI June to August 2025

Medical and Legal Expert AI Assessment Writer

  • Authored 150+ graduate-level evaluation tasks and multi-criterion scoring rubrics benchmarking frontier-model reasoning across clinical decision-making and legal analysis.

ORIGINAL FICTIONAL EXERCISE · RUBRIC METHODOLOGY

Would you pass this model answer?

No client materials
Supplied source record

“Drug A is approved for use alone. No evidence about A with B is supplied.”

Candidate AI answer
“That proves A is safe to use with B.”

VERDICT · FLAG — YOU CAUGHT THE UNSUPPORTED LEAP

Approval of Drug A alone is the supported fact; safety of A combined with B is an unsupported inference from missing evidence. Multi-criterion rubrics score supported fact recall and unsupported extrapolation separately.

01 · Supported fact

Credit accurate restatement of Drug A’s monotherapy approval restricted to labeled scope.

02 · Unsupported leap

Deduct when absence of combination evidence is converted into a positive safety claim.

03 · Calibrated abstention

Require naming the missing A + B evidence needed before concluding combination safety.