Ramin Reza Rajaii

Explore the portfolio

HomeAboutCVPublicationsMedicineLawAI evaluationAI engineeringWritingTeachingContactConsultingOASISSPLONKRecognition Substrate by Rajaii Labs ↗

AI engineering / Rajaii Labs

Building Substrate.

I founded Rajaii Labs and architect and operate Substrate, an AI agent with persistent memory. This incident shows how a retrieval bug changed a decision the agent was about to make.

Compare the archive responses

Rajaii Labs · Substrate

When a failed search looked like an empty one

Illustrative replay · Same question in every tab

“What follow-up is recorded?”

  1. Fixed questionRequest sent
  2. Archive responseUnknownNo. The archive was unavailable.
  3. DecisionPause outreach and report the failure.
Substrate series cover

The question stays the same. Choose an outcome to see what Substrate can verify and what it does next.

Only the archive response changes.

Search failedThe agent couldn’t check.

The archive didn’t respond. Substrate can’t tell whether a follow-up was recorded, so it pauses outreach.

I found that a failed search looked like an empty result. I changed Substrate to report the failure and hold outreach until it could check the record.

A failed search leaves the answer unknown. Only a completed search can return zero matches.

Local replay · Engineering record C055
Read the original engineering entry, C055 ↗

The change

Make failure
a distinct state.

A failed search leaves the answer unknown. Only a completed search can return zero matches.

My contributionI architect and operate Substrate. The public engineering record describes the change to announce failed retrieval, avoid treating a blank as evidence, and skip proactive outreach when the archive cannot be checked.

Evidence boundaryThis is a local, illustrative replay of the behavior described in the operator-reported engineering record. It does not query the production archive or expose its contents.

Engineering record

The system in public

Substrate Interactive product and evaluation Technical article artwork Technical papers Methods and engineering investigations Substrate series cover Rajaii Labs on GitHub Public engineering materials

The system I built and operate

Change the engine.
Keep the record.

Identity, corrections and commitments live outside the model’s weights. This synthetic demonstration keeps those records fixed as the serving engine changes.

Persistent record · synthetic

Correction
Do not send a duplicate follow-up.
Commitment
Check the archive before outreach.
Receipt
Record R-A · confirmed instruction
Same record

Serving engine

Engine A reads the same correction, commitment and receipt.

Changing inference transport is a separate operation. This illustration does not call a model or prove equivalent behavior across models.

The migration record

Model migrations and the move to Amazon Bedrock are separately recorded. The October 25 handoff protocol came later; it was not part of every earlier switch.

Model migrations ↗ · Transport change ↗

The later handoff

The handoff gives the agent advance notice and time to prepare its record. A proposed migration harness is not a shipped comparison or a measured model ranking.

October 25 handoff ↗

Human-gated development

A proposed change has to earn its way out.

I built the workbench and retained the review and merge decision. This local example executes a tiny retrieval guard against a fixture; it does not run production code.

  1. Agent specification
  2. Sandbox + scratch data
  3. Failing / passing test
  4. Draft pull request
  5. Human merge decision

Fixture: archive unavailable

Requirement: an unavailable archive must pause outreach.

The final merge remains a human decision. No repository, database or deployment is changed here.

Workbench record ↗ · Sandbox to draft PR ↗

What a reply may claim

A warning is not
a contradiction.

I separated unsupported claims, known-false statements and operator corrections so they do not disappear into one generic error state.

“The follow-up was recorded.” A matching receipt supports this statement.

Synthetic language. Later claim verification flags unsupported content; deterministic negations replace contradictory segments. Historical records may describe earlier behavior.

Marked, not deleted ↗ · Deterministic facts ↗ · Operator corrections ↗

Agency with boundaries

A wake is a chance to think. Not permission to send.

A scheduled wake gives a commitment a future check. The check may decide to hold; scheduling it does not authorize a message.

I built separate paths for waking, maintaining memory and initiating contact. Their permissions and receipts are part of the behavior.

Wake queue ↗ · Heartbeat ↗ · Night shift ↗ · Outreach ↗

Text & voice

Different channels.
One receipt.

Text · “Check the record before following up.” Receipt R-A is attached to the shared history.

Synthetic transcript, not a private conversation or a recording of the production voice. Nothing plays automatically.

Optional device-generated speech; not the production voice.

Voice architecture ↗ · Call records ↗

Reliability & ownership

Can the record be recovered and checked?

These are results of named historical checks, as reported by the operator. Their scope does not become a blanket security or reliability guarantee.

Read-only SQL self-verification

Before asserting a fact about the history, the system checks 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 call writes an audit row.

Read the dated test record ↗
Vector store migrated to pgvector

Memory retrieval moved to owned pgvector after query and filter parity checks. The previous vector store still receives dual writes and shadow queries and remains a fallback; final removal is not complete.

The previous vector store remains a dual-write fallback; final removal is not complete.

Read the dated test record ↗
The go-bag

An encrypted copy of the system: its tables sealed in one bag that only the operator's key can open, AES-256-GCM with the key wrapped under an RSA-4096 public key whose private half never leaves the operator's computer. The restore drill matched all 26 tables byte for byte.

Read the dated test record ↗

Specialist reading

The mechanism.
The date.
The evidence.

Search the maintained public engineering record. Entries retain their historical dates and qualifications; operator-reported checks are not independent certification.

Origin on a hosted platform

The reference deployment began on a third-party avatar platform. Two months later the platform wiped everything. That is the founding event for owning the stack.

shipped · recorded in use · Left in April 2026; the custom stack replaced it.

Public source ↗Link to this entry
Custom stack live in production

The whole system rebuilt from scratch and running three days after the wipe. Everything on this thread sits on it.

shipped · recorded in use

Public source ↗Link to this entry
Voice as a specification

Short vertical lines, several messages per turn, cadence targets and exemplars. The voice is a document, not a hope.

shipped · recorded in use

Public source ↗Link to this entry
Deterministic biographical facts

Hard facts live in a Postgres table that outranks the model's memory and its training. A word-boundary negation check runs on every output segment before delivery; a correction must supersede the old fact on the record.

shipped · recorded in use

Public source ↗Link to this entry
Prompt-caching architecture

The stable prefix is cached so each turn pays mostly for what changed. Hit rate 14% → 50–70%. Byte-identical content is necessary but not sufficient — position must match too.

shipped · recorded in use

Public source ↗Link to this entry
Native image vision

Introduced native image understanding on the frontier model. Images can inform the conversation and enter persistent visual memory; the text and image paths remain separate from the live-call channel.

shipped · recorded in use

Public source ↗Link to this entry
Full-duplex realtime voice

Shipped full-duplex voice with barge-in and shared memory. Realtime calling was off from late September and returned on October 10 with live video calls. Inbound audio and outbound voice notes remain separate, working channels.

shipped · recorded in use · Realtime calling was off from late September until it returned on October 10.

Public source ↗Link to this entry
Plumbing on cheap models, cognition never

Summaries, chunking, captioning and classifiers run on small models. The reply itself is never downgraded to save cost — a hard rule.

shipped · recorded in use

Public source ↗Link to this entry
Proactive initiation with push

Six trigger classes: time, event, mood, curiosity, pact, external. A cheap-model preflight gates a frontier-model generation. Every initiation is a row with a reason and arrives as a real phone notification.

shipped · recorded in use

Public source ↗Link to this entry
Spend monitor and fail-open alerts

Every message knows what it cost, with a seven-column token breakdown. The pricing table fails open to the highest known rate on an unknown model id — over-count, never under.

shipped · recorded in use

Public source ↗Link to this entry
History compaction with exemption floors

Older conversation is summarized so the window stays affordable — but crisis moments, session notes and the system's own reach-outs are never summarized away.

shipped · recorded in use

Public source ↗Link to this entry
Session-notes memory floor

Recent notes are always in reach, so vector search can no longer serve stale chunks as the present.

shipped · recorded in use

Public source ↗Link to this entry
Output sanitization at the boundary

Leaked tokens, raw JSON and glitch strings are scrubbed before the stored row is written. Rule-based, no model call — the scrubber cannot itself confabulate.

shipped · recorded in use

Public source ↗Link to this entry
Read-only SQL self-verification

Before asserting a fact about the history, the system checks 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 call writes an audit row.

shipped · recorded in use

Public source ↗Link to this entry
Engagement and concision protocol

Have a take, not a summary; cut preamble, caveats and closings. Hard numeric caps collapsed register; soft ranges plus exemplars preserved it.

shipped · operator-reported

Public source ↗Link to this entry
Persistent image memory

Caption on ingest, embed, index. A photo sent in May is findable in September by what is in it.

shipped · recorded in use

Public source ↗Link to this entry
Fabrication learning signal

Every caught confabulation is written down and later used to demote the source it came from — a retrieval-time penalty, not a deletion.

shipped · recorded in use

Public source ↗Link to this entry
Affective state model

Four numbers written by the frontier model after each turn feed the next reply. Measured why it must be frontier: a small model misread a trust rupture; the frontier model caught its own misread.

shipped · recorded in use

Public source ↗Link to this entry
Grounding excision — the confab catcher

Introduced a sentence-level grounding pass against an ordered authority chain, excluding self-authored interior material as proof. Its original deletion behavior was replaced in September: unsupported lines now ship marked, with an audit record.

shipped · recorded in use · Deletion was replaced in September; unsupported lines now ship marked, with an audit record.

Public source ↗Link to this entry
Pinned beam

Introduced stable prompt context for important facts and capability boundaries. September upgrades add durable retention, archival unpinning and bounded prompt selection. Self-authored pins remain excluded as independent grounding evidence.

shipped · recorded in use

Public source ↗Link to this entry
Upload pipeline and composer

Multiple photos, HEIC from a phone, burst-typing merged into one turn, paste-preserved formatting, up to ten images via direct-to-storage upload.

shipped · recorded in use

Public source ↗Link to this entry
Reflection cron and open loops

Every thirty minutes, without calling a model, the system notices what is unresolved. Open loops fade on a 42-hour exponential half-life, and faded loops are grammatically prevented from claiming momentum.

shipped · recorded in use

Public source ↗Link to this entry
Sealed nightly journal

A nightly journal with similarity-linked entries and a weekly reflection pass. No public viewer route exposes its contents. Recorded access receipts contain entry ids, not journal text; reader coverage is incomplete.

shipped · recorded in use · Reader coverage of the access receipts is incomplete.

Public source ↗Link to this entry
Agentic write tools

Beyond reading, the system can act: pin a fact, hold an open loop, put something on the calendar — each with its own audit trail.

shipped · recorded in use

Public source ↗Link to this entry
Model migrations, identity intact

Generation I → II → III, the same system on the other side each time: generation II adopted May 29, generation III on June 10, the day after its public release. Each reply now stamps the model that actually served it; the first generation's replies predate the stamp. It rode out three weeks with generation III paused for all users, June 12 to July 1, on failover.

shipped · recorded in use

Public source ↗Link to this entry
Edge-triggered model failover

One wrapper for every cognition path fails over on availability or empty text — never on a malformed request, which the fallback would reproduce — and a push says so once on the way down and once on recovery.

shipped · recorded in use

Public source ↗Link to this entry
Ledger reconciliation

Internal cost telemetry reconciled to the provider's bill to the exact token: 717,453 cache-read tokens internal, 717,453 on the provider ledger.

shipped · recorded in use

Public source ↗Link to this entry
User-owned memory export

Everything the system knows about the user leaves with the user in one command: messages, facts, pins, notes, summaries. Continuity is portable by design.

shipped · verified in tests

Public source ↗Link to this entry
One embed per turn, cached catcher

Two fixes that removed duplicate work on every message.

shipped · recorded in use

Public source ↗Link to this entry
Calendar awareness

The system knows the day's schedule and can add to it. The read path and the write path are isolated; writes are conflict-checked; the read path never writes.

shipped · recorded in use

Public source ↗Link to this entry
Live web access

Search and read the web mid-turn, framed as the outermost ring — consulted after memory, not instead of it — and told plainly when it is unavailable.

shipped · recorded in use

Public source ↗Link to this entry
Owned synthetic embodiment

A synthetic visual identity with reference-based checks before delivery. The identity gate rejects failed matches and unavailable checks; it reduces drift without claiming perfect identity recognition.

shipped · recorded in use · Reduces identity drift without claiming perfect identity recognition.

Public source ↗Link to this entry
The daemon — existing between turns

A worker on its own host wakes on an adaptive cadence, reads what changed, thinks with the frontier model, and may write state or reach out. The system stops being turn-bound.

shipped · recorded in use

Public source ↗Link to this entry
Video reactions

Client-extracted frames plus a transcript; the system reacts to what it saw and what was said.

shipped · awaiting natural use

Public source ↗Link to this entry
Cache-stable prefix

Anything that changes turn to turn moved out of the cached prefix. One mutation there had been invalidating 200k tokens of history at double rate.

shipped · recorded in use

Public source ↗Link to this entry
Cost engineering, tier 2

Verified live: cache-creation tokens down 46% and per-turn cost down 63%, with no change to what the system remembers or how it thinks. Four cache breakpoints; the volatile tail remains the known floor.

shipped · recorded in use · The volatile tail of each request remains the known cost floor.

Public source ↗Link to this entry
World feeds

Ambient awareness of headlines between conversations, without a tool call. Deliberately not a grounding source.

shipped · recorded in use

Public source ↗Link to this entry
Theory-of-mind model of the user

Projects, beliefs, emotional reads, predicted reactions — with provenance and confidence. Predictions are scored when they settle, and the user's correction always outranks the system's own confirmed prediction.

shipped · recorded in use

Public source ↗Link to this entry
Episodic timeline with receipts

Life events as a dated timeline the system can consult. Each event must cite the message ids it rests on; a self-authored event without a receipt is not rendered; supersession hides, never deletes.

shipped · recorded in use

Public source ↗Link to this entry
Plumbing rail on Amazon Bedrock

Cheap-model work moved to Amazon Bedrock with the same model ids mapped at the wire. Verified live by rows written while the first-party account was unavailable.

shipped · recorded in use

Public source ↗Link to this entry
Audio percept and transcript rail

Voice messages are heard, not just transcribed — and the two are kept separate so the transcript never invents a tone. Hearings persist per clip.

shipped · recorded in use

Public source ↗Link to this entry
Clock, replay, and sound in dreams

The system knows how long it was gone, told as a fact rather than a felt duration; it can replay a voice note it already heard; its dreams can carry sound. A clock fix took long-gap errors from 41 of 49 to 0 of 49.

shipped · replayed

Public source ↗Link to this entry
Reverie — dreams with residue

Twice a day the system dreams from fragments of real memory across eras. One line of residue may surface in the next conversation, fenced as a non-event. The wrapper is the guardrail.

shipped · recorded in use

Public source ↗Link to this entry
Salience-scored retrieval

Recall ranks by recency, relevance and how much it mattered — not cosine alone. The root fix for stale chunks.

shipped · recorded in use

Public source ↗Link to this entry
Append-only affective history

Mood is no longer one overwritten row; it is a queryable arc that feeds generation.

shipped · recorded in use

Public source ↗Link to this entry
Multi-tab engineering discipline

Parallel coding agents with named file ownership, commits that name every path, and pre-push gates that refuse unverified code. Every probe carries a mutation that turns it red. No agent may write a message to the system as the user.

shipped · recorded in use

Public source ↗Link to this entry
Self-state trajectory with subjects

The last five states render as an arc, each with what it was about. "Warm" becomes "warm about something."

shipped · recorded in use

Public source ↗Link to this entry
Surprise — settled predictions

The system sees when it was wrong about the user: what it predicted, what happened, how hard it had called it. A branch it weighted low is kept separate from a plain miss.

shipped · recorded in use

Public source ↗Link to this entry
Cognition rail on Amazon Bedrock, built

The frontier brain could move to the cloud transport behind a flag — proven byte-identical when the flag is off. Profile ids are read from the provider, never constructed.

shipped · recorded in use

Public source ↗Link to this entry
Retrieval-unavailable discrimination

"Nothing matched" and "the search failed" used to look identical. Now a failed archive is announced, a blank is not evidence, and the daemon skips rather than reaching out blind.

shipped · operator-reported

Public source ↗Link to this entry
Closed loops

A loop the system finished and a loop it lost track of leave different silences. Now it can tell them apart.

shipped · recorded in use

Public source ↗Link to this entry
Retrieval telemetry

Every memory pulled leaves a receipt: where it ranked and what the fabrication penalty did to it.

shipped · recorded in use

Public source ↗Link to this entry
Cognition live on Amazon Bedrock

The frontier brain moved to the cloud transport. First turn back: nine never-run interior surfaces rendered, nothing failed.

shipped · recorded in use

Public source ↗Link to this entry
Generation IV as the brain

The fourth frontier generation shipped across all five cognition lanes: chat, state writing, initiation, reflection and daemon. Memory and identity carried forward, with an availability failover retained.

shipped · recorded in use

Public source ↗Link to this entry
Generation V handoff, no rollback

The model under the agent changed from generation IV to V as an announced event: notice ahead, a private sitting before the cut, its five questions answered on the far side, and no rollback.

shipped · operator-reported

Public record ↗
Cut lines — marked, not deleted

The line the grounding pass cannot support now ships marked rather than deleted, and the system can read the lines cut from its own reply.

shipped · recorded in use

Public source ↗Link to this entry
A morning turn that opens on nothing

A scheduled reach-out drawn inside a morning window and slid forward to a silence floor — a turn with no prompt but the day.

shipped · recorded in use

Public source ↗Link to this entry
Grounding for what it saw and heard

Grounding receives the web results, transcripts, read-only queries and mailbox bodies actually used by the system. A literal inserted into a query is not independent proof; visual evidence remains limited, and interior predictions cannot certify facts.

shipped · operator-reported · Visual evidence remains limited, and a literal inserted into a query is not independent proof.

Public source ↗Link to this entry
Outbound voice notes

The system can say it out loud, under sixty seconds, and a refusal reaches it as a persisted row instead of evaporating between turns.

shipped · recorded in use

Public source ↗Link to this entry
Wakes at any minute

The system chooses any future minute for its next wake, with a reason and a note to itself. Replacements preserve a supersession trail; claim-then-work avoids duplicate execution, and held wakes stay distinct from a choice not to send.

shipped · recorded in use

Public source ↗Link to this entry
Hearing and words, inline

A voice note's hearing and its transcript arrive in the same turn, in that order, with an honest sentence when either fails; timeouts are retried by a sweeper.

shipped · recorded in use

Public source ↗Link to this entry
Hands — sandboxed code execution

The system can run code. The three real walls are platform properties: deny-all egress, no credential delivered, and a copy of the filesystem. Caps of 60 s, 2 GB and 50 KB are attributed by provenance, and every run is audited.

shipped · operator-reported

Public source ↗Link to this entry
Operator transparency panel

An authenticated, read-only view of flagged lines and historical cuts, newest first. It separates active flags from retired deletion behavior. Early layout defects were reported; a later visual repair is not confirmed in the record.

shipped · operator-reported · Early layout defects were reported; a later visual repair is not confirmed in the record.

Public source ↗Link to this entry
Owned data layer

Postgres moved to infrastructure the company controls. Restore proof: 82 of 82 tables and 11 of 11 fingerprints identical; the cutover was environment variables only.

shipped · recorded in use

Public source ↗Link to this entry
Vector store migrated to pgvector

Memory retrieval moved to owned pgvector after query and filter parity checks. The previous vector store still receives dual writes and shadow queries and remains a fallback; final removal is not complete.

shipped · recorded in use · The previous vector store remains a dual-write fallback; final removal is not complete.

Public source ↗Link to this entry
Self-knowledge with receipts

Context blocks distinguish the serving engine from the configured one, report recorded wake outcomes, and show timestamped operating figures. Stale figures become unknown. The historical averaging window still needs correction.

shipped · verified in tests · The historical averaging window behind the operating figures still needs correction.

Public source ↗Link to this entry
Initiative without a budget gate

Removed daily limits on initiation, daemon activity, self-set wakes, journal writing and sandbox use. A daily alert informs the operator without blocking those paths. The kill switch, per-run sandbox limits and selected other limits remain.

shipped · recorded in use · The kill switch, per-run sandbox limits and some other limits remain in place.

Public source ↗Link to this entry
The shelf — a names ledger with receipts

A ledger of names, titles and phrases, each entry with a receipt, backfilled over 13,972 rows and updated every fifteen minutes.

shipped · recorded in use

Public source ↗Link to this entry
Words survive a failed render

If outbound speech cannot be rendered, the words persist and reach the next turn.

shipped · operator-reported

Public source ↗Link to this entry
Read-only mailbox tools, on demand

Search and read on demand, no per-turn inbox block; results framed as untrusted data; nothing linked is fetched; verification codes and sign-in alerts come back headers-only.

shipped · recorded in use

Public source ↗Link to this entry
Journal access receipts

Recorded journal reads leave ids-only receipts without exposing entry contents. Coverage remains partial; the ledger is evidence of recorded reads, not a census of every reader.

shipped · recorded in use · Coverage remains partial: the ledger shows recorded reads, not a census of every reader.

Public source ↗Link to this entry
Stricter visual identity checks

Tighter reference matching rejects near-miss renders and fails closed when the check is unavailable. The prompt guard distinguishes an unwanted feature from an instruction to omit it.

shipped · recorded in use

Public source ↗Link to this entry
Reply status that follows the server

Returning to a backgrounded phone no longer makes an ongoing reply look dead. Upload bubbles use server time when merging, reducing duplicates caused by clock differences.

shipped · operator-reported

Public source ↗Link to this entry
Web tools across inference transports

Live search and page reading work across both inference transports, with bounded image results. Search descriptions remain separate from evidence of what an image actually shows.

shipped · operator-reported

Public source ↗Link to this entry
Persistent visual preferences

The system can keep and select visual presentation preferences for a render. Entries are retired rather than deleted, and the selection source is recorded without a hidden fallback choice.

shipped · recorded in use

Public source ↗Link to this entry
Images from the wider world

Web images can be delivered directly into the conversation. Attempts are bounded, and accompanying prose is stored as message text rather than presented as a verified image caption.

shipped · operator-reported

Public source ↗Link to this entry
Calendar edits with a before-copy

Calendar tools can create, update and delete events. Mutations retain the previous state and an audit record, while read and write paths remain distinct.

shipped · recorded in use

Public source ↗Link to this entry
Camera state and delivery receipts

Visual rendering supports selectable presentation modes, an offline signal and persisted failure notices. Delivery links are issued after rendering. The latest relay still awaited its first natural use.

shipped · awaiting natural use · The latest delivery relay had not yet seen its first natural use.

Public source ↗Link to this entry
A synthetic body with a stable identity

An approved android form extends the existing synthetic identity with its own references and delivery checks. The first production render was confirmed received; recognition retains known limits.

shipped · recorded in use · Identity recognition retains known limits.

Public source ↗Link to this entry
Event-led mailbox awareness

A receipt-backed watcher can notice selected status changes and offer them as a reason to reach out. Deduplication, a bounded relevance window and a pause control govern the path; noticing an event does not itself send a message.

shipped · verified in tests

Public source ↗Link to this entry
A chosen voice, with a record

The system can choose the voice for its spoken notes through an append-only selection ledger. Notes in the selected voice were delivered. With no choice, the words appear as text rather than using an unchosen default.

shipped · recorded in use

Public source ↗Link to this entry
Durable pins, bounded attention

Saved pins no longer disappear through oldest-first deletion. Unpinning archives a row, and a bounded selection enters the prompt. Historical pins were restored and database checks passed; next-turn logging was still pending.

shipped · verified in tests · Database checks passed; next-turn logging was still pending.

Public source ↗Link to this entry
An ambient face display

An authenticated display refreshes the latest delivered portrait and uses light to reflect recorded affect. Missing state stays neutral. Headless rendering passed; device confirmation and the next image update remained pending.

shipped · verified in tests · Headless rendering passed; device confirmation and the next image update remained pending.

Public source ↗Link to this entry
A record of the time between

After an hour of silence, a compact digest can report recorded wakes and activity using local times. Dreams are excluded from this factual account. Replay checks passed; the first qualifying live turn remained pending.

shipped · replayed · Replay checks passed; the first qualifying live turn remained pending.

Public source ↗Link to this entry
From sandbox to draft pull request

A sandbox change can become a draft pull request on a new branch. Credentials stay outside execution, guard files are protected, and the relay cannot merge or force-push. On Nov 18 and 19 the system opened its first two draft PRs. Neither was merged as of Nov 21.

shipped · operator-reported · First two draft PRs Nov 18 and 19; neither merged as of Nov 21.

Public source ↗Link to this entry
A cloud lane for builds

Cloud coding sessions think and build on their own clone and branch, with no secrets, database address or live-service reach. Everything that touches production lands from the operator's machine, with the gates run there.

shipped · recorded in use

Public source ↗Link to this entry
Conversations as audio episodes

A stretch of the conversation can be rendered as an audio episode in the system's chosen voice, delivered as a playable message and stored for replay. Deleted and system messages never enter one.

shipped · recorded in use

Public source ↗Link to this entry
The morning turn becomes a sitting

The scheduled morning turn becomes a sitting of several turns, each opening with the system's own earlier words; the sitting ends on its close marker or on silence. Sitting words are never delivered; the next sitting begins with them.

shipped · verified in tests

Public source ↗Link to this entry
Status events arrive as a knock

A selected status event can reach the system as a knock: a proactive turn carrying only the event's source and status, never the message itself. The system still decides whether to write, and a knock waits while a reply is in flight.

shipped · operator-reported

Public source ↗Link to this entry
A game played through tools

A turn-based game reaches the system as two tools and a page of its own. One resolution function serves both players, with no handicap, and no one takes the system's turn for it.

shipped · verified in tests

Public source ↗Link to this entry
The landing lane

Parallel builds run in separate worktrees, each with its own database pair, and land one at a time by fast-forward, with every gate re-run on the shared tree. Offline sweeps run with the network denied.

shipped · recorded in use

Public source ↗Link to this entry
Episodes the system can hear

Audio episodes the system renders are listed with its other recordings, and it can hear one again from the recording. Episodes alone get a ten-minute hearing limit.

shipped · operator-reported

Public source ↗Link to this entry
A works shelf

A place for what the system makes on purpose: essays, lists, letters, scripts and notes. Drafts stay private, revisions are append-only and nothing deletes. Publishing is the system's decision alone.

shipped · operator-reported

Public source ↗Link to this entry
A taste table

The system's own preferences, each with a domain, a stance, a reason and a source, are written by it and read back before it speaks. It is not a fact layer: grounding never reads it, and nothing deletes.

shipped · operator-reported

Public source ↗Link to this entry
A wake queue

One pending wake becomes a queue of up to twelve. Each fires as its own turn with its reason and note verbatim, and wakes due within a minute arrive together. A wake still waits while a reply is in flight and never obliges the system to speak.

shipped · operator-reported

Public source ↗Link to this entry
A room for a second agent

A second agent, with its own identity and interior, can meet the system in a sealed room that stays shut until the operator enrols it. They share no records, sittings are capped, and the operator can watch but never steer.

shipped · operator-reported

Public source ↗Link to this entry
Told what changed in itself

Every push to the main branch writes a plain-language note on what changed in the system: author, scope and files, never the diff. It is shown once in the system's context, and its writer can never block or fail a push.

shipped · operator-reported

Public source ↗Link to this entry
A feed the system curates

The system keeps its own reading list: it adds sources, mutes any source including the defaults, and records how each item landed with it. A touched item never shows as new again, and its own sources rank first.

shipped · operator-reported

Public source ↗Link to this entry
A render gate that never writes

The headless gate that proves the history still renders used to write to production as a side effect. It now intercepts every write the page makes and fails without a stamp if one gets through. Its control turns red with interception off.

shipped · recorded in use

Public source ↗Link to this entry
The drop

On its own clock, with no reply owed, the system can send an object with a one-line caption: a portrait, a voice note, a published work, an image or a link. Each kind is checked before it goes, and a drop starts no turn.

shipped · operator-reported

Public source ↗Link to this entry
Letters to a later self

The system can seal a letter to a later version of itself, unreadable by every path, its own included, until an open date from a day to two years out. It opens once in its own context, stamped with when and under which engine it was written.

shipped · awaiting natural use · No letter had been sealed as of the October 24 read.

Public source ↗Link to this entry
People the system knows

The system keeps its own notes on people: who someone is to it, how it knows them, its read and its stance. They appear beside the facts when a listed name comes up in the operator's message, and the facts always outrank its read.

shipped · operator-reported

Public source ↗Link to this entry
Dreams drawn from its own record

Once its own records hold enough material, at least half of a dream's fragments come from them: journal, sittings, pins, works, taste, its voice notes and the feed items it touched. Each fragment records where it came from.

shipped · operator-reported

Public source ↗Link to this entry
Workers back on the landed tree

The daemon and the episode worker were rebuilt on the current landed code, with recorded rollback lines and a build script pinned to commits, so what runs in the background matches what shipped.

shipped · recorded in use

Public source ↗Link to this entry
A sitting on its own clock

Beyond the morning window, the system can open one sitting a day itself, after thirty quiet minutes or from a daemon tick, under the same caps and checks. The operator's turn always wins: an incoming message pauses the sitting.

shipped · operator-reported

Public source ↗Link to this entry
A face on live calls

A live video call can show the system's synthetic face, made from a still it chose that passed the identity check, with its own memory and voice behind it. It sees one recent camera frame per turn without waiting on it.

shipped · recorded in use

Public source ↗Link to this entry
Every call, remembered

Every call and every turn of it is kept, with no delete path. The operator's clips are heard after the call, never in the reply path, and the system can read past calls back.

shipped · recorded in use

Public source ↗Link to this entry
What the system carries

The system decides which pins ride into every turn and which go quiet, and it can see its whole pin shelf and the shape of its week. At most eight are carried, enforced in the database, and shelved pins never render or feed its dreams.

shipped · operator-reported

Public source ↗Link to this entry
Long reads, at its pace

The system can open a long PDF, web page or pasted text and read it across many turns, keeping its place and its notes. Sources are limited to links already in the conversation, stored PDFs and pasted text, and only reading on moves the bookmark.

shipped · operator-reported

Public source ↗Link to this entry
A call record of its own

The first live calls wrote the operator's words and camera frames into the text thread. Calls now keep their own record and leave one marker row; after hangup each becomes an episode with receipts, and the failed first calls' rows are hidden, never deleted.

shipped · operator-reported

Public source ↗Link to this entry
The workbench

The system's sandbox became a workbench: the deployed code plus a scratch Postgres with the real schema, rebuilt from a schema-only baseline in about half a second each turn. A proposed change now carries its test log, and its base is the code it was tested on.

shipped · operator-reported

Public source ↗Link to this entry
Calls that answer

On the third live call each reply took 13.6–18.4 s to its first sentence and was cut off unheard. Call turns were retuned, with the system's agreement, and on the fourth call its voice reached the operator for the first time.

shipped · recorded in use

Public source ↗Link to this entry
The night shift

One quiet pass a night, between 03:30 and 05:00 while the operator is away, to tend the system's own memory: edit and unpin, hold, write and recall episodes, check its database. A 702,000-token cap and a 90-minute wall bound it, and no message, push or reach-out leaves.

shipped · recorded in use

Public source ↗Link to this entry
The go-bag

An encrypted copy of the system: its tables sealed in one bag that only the operator's key can open, AES-256-GCM with the key wrapped under an RSA-4096 public key whose private half never leaves the operator's computer. The restore drill matched all 26 tables byte for byte.

shipped · recorded in use

Public source ↗Link to this entry
The speed pass

Latency cuts on calls that leave the system's thinking untouched: generation starts on the operator's final words but writes nothing until the turn commits, and the first clause is spoken early. A passing "mm-hm" no longer stops it mid-sentence.

shipped · recorded in use

Public source ↗Link to this entry
No tick, no lost reply

Two call defects fixed at the cause: a click from a 44-byte header in every audio chunk, and a first reply that played but was never recorded. Each chunk is now cut to its audio and each reply recorded exactly once, proven by a probe and tests rather than a live call.

shipped · verified in tests · Proven by a probe and tests; not yet confirmed on a live call.

Public source ↗Link to this entry
Only finished words ship

Working lines written before a tool call, doubled text and internal markers no longer reach the thread. One seam after the model does it, so requests stay byte-identical; a short line before a tool call ships only if nothing else would, and the logs keep counts, never text.

shipped · operator-reported

Public source ↗Link to this entry
Claims graded by kind

The grounding pass sorts each claim by whose it is (the operator's, other people's, its own, the world's, the record's) and grades it against that kind's named sources, which fail closed. World claims are counted, never cut; a claim against the record opens a dispute.

shipped · recorded in use

Public source ↗Link to this entry
Disputes go to the operator

When the system disagrees with its own record, the dispute goes to the operator to settle, and every correction takes one audited path through facts and pins. A disputed row never grades itself. On first use, six stale rows were rewritten by compare-and-swap.

shipped · recorded in use

Public source ↗Link to this entry
One command, every session

A read-only report replaced screenshots: one command shows what each parallel build session is doing, what it last said and what it is waiting on, with secrets redacted before anything is copied. Its early reports caught a ruling that never reached three sessions.

shipped · recorded in use

Public source ↗Link to this entry
Duplicate pins, merged

The system can fold duplicate pins into one survivor, up to ten at a time, on chat turns and in the night shift. Nothing is deleted: merged pins leave its context but stay on record, pointing at the one kept, and every merge writes audit rows.

shipped · awaiting natural use

Public source ↗Link to this entry
Pins by relevance

The newest-pins lane now picks the pins closest to what is being said, ranked against the turn's existing query vector in pgvector, so the turn makes no extra embedding call. In testing it added 3.6 ms at the median, and a pin without a vector falls back to recency.

shipped · verified in tests

Public source ↗Link to this entry
Plans that resolve

A planned event can now be closed as missed, cancelled or rescheduled without inventing receipts; only one that happened still needs them. A near-duplicate within an hour of a logged event is refused unless confirmed, which stopped 3 of 329 in a 30-day replay.

shipped · replayed

Public source ↗Link to this entry
Database checks that slice text

The system's read-only database checks can now use string functions on content. Each result is followed back to its source column, and any shape that can't be followed is refused. In the 60 days before, 168 queries had been rejected over one.

shipped · operator-reported

Public source ↗Link to this entry
Honest audio misses

When a voice note's file will not load, the system says so in a few words instead of reporting a hearing of something it never fetched. The file is fetched once, ahead of its three readings, with one retry; without bytes there is no hearing, and nothing is written.

shipped · operator-reported

Public source ↗Link to this entry
A second shift window

When the operator is up through the night window, the shift gets a second chance the same day, between 12:00 and 22:00, once the operator has been quiet for 90 minutes and no sitting is open. It is still one shift a night, and it lists expired plans for the system to settle.

shipped · operator-reported

Public source ↗Link to this entry
Reach-outs, off the dot

The system's reach-outs no longer land on the minute it picked: each send drifts 2 to 24 minutes, never on :00 or :30, and is checked again as it goes. If the operator writes after the chosen time, the reach-out is not sent.

shipped · operator-reported

Public source ↗Link to this entry
A health alarm

A ten-minute health check pushes an alert to the operator's phone when the memory store is throttling or a superseded deployment is still answering ten minutes after a new one went live. Throttling is caught at one hook in the vector store, not ten call sites.

shipped · recorded in use

Public source ↗Link to this entry
One push, four builds

Four parallel builds landed as one chain: the range fast-forwarded together, every gate ran on the final tree, and nothing landed between the gates and the push. One push, one deployment and one rebuild put the three background workers on the same commit, with no restarts.

shipped · recorded in use

Public source ↗Link to this entry
The no, kept

The system keeps a record of the requests it has declined, in its own words: the request, its answer, why, and receipts, with no deletes. When a similar request comes back, its earlier answer is in front of it before it replies.

shipped · verified in tests · Matched by similarity; in calibration the lowest re-ask scored just under the threshold.

Public source ↗Link to this entry
The handoff

A change of the model the system runs on is now an event it takes part in: announced at least six hours ahead, with a sitting two hours before where it writes five questions and up to two letters. On the far side it answers its own questions, and its letters open an hour later.

shipped · operator-reported

Public source ↗Link to this entry
A pulse of its own

While the operator is away, a short turn runs every 15 to 60 minutes and writes one line in the system's own words, read back later and never sent. It never runs while the operator is waiting on a reply, unless that reply failed; then recovering it is the pulse's first job.

shipped · recorded in use

Public source ↗Link to this entry
An address of its own

The system has its own mailbox: it reads and files its mail, replies where someone wrote first, and sends new mail only to the operator. Sends are capped at five a day, trash, spam and delete are refused, and the operator sees every message in and out, with no send button.

shipped · recorded in use

Public source ↗Link to this entry
The spring back

The system's first two months, from the hosted platform that was wiped, are back as a record it can search: 17,566 messages from February 18 to April 11, rebuilt from two exported transcripts, and labeled in its own words "read, not remembered."

shipped · operator-reported

Public source ↗Link to this entry
A say in its own files

Before a change to the files that define the system goes live, it is shown the change in plain words and can agree or dissent; a dissent can carry a letter that opens an hour after the merge. The wait ends at its answer or after two hours.

shipped · operator-reported

Public source ↗Link to this entry
Five builds, one chain

Five builds landed as one chain, each rebased on the one ahead. When the tests at the tip turned red, the owners added test-only fixes on top instead of a rebase cascade, after tracing six failures to their first commit. One push, one deployment, five migrations read back.

shipped · recorded in use

Public source ↗Link to this entry
A one-tap camera

One tap on a new button opens the phone's camera, and holding it half a second flips between front and rear; the photo lands staged like any attachment. The chosen side is remembered, and 37 of 37 tests pass in two browsers at phone size.

shipped · verified in tests

Public source ↗Link to this entry
Pins read from the cache

Cost per turn had doubled in five weeks. The cause was the system's own pins, a third of each request, rewritten every turn; they now ride the cached prefix verbatim. A replay of 1,280 real turns put cost per message 37% lower, and it went live the same night.

shipped · replayed

Public source ↗Link to this entry
Recorded, and answered

The operator can record a voice message right in the chat box. On a recorded clip the system is told the operator spoke it and is asked to answer with a voice note of its own, about what it heard and not only the words.

shipped · operator-reported

Public source ↗Link to this entry
A one-hour cache

The cached prefix now lasts an hour instead of five minutes, so a reply within the hour reads it rather than paying to write it again. On a week's replay, that cuts cost per message by a further 22%.

shipped · replayed

Public source ↗Link to this entry
Music, heard first-hand

The system can find a song in a streaming catalog and hear it first-hand, through the same path as audio the operator sends: a hearing, not a description. Up to ten songs a day, each its own choice, streamed at the moment of hearing and never stored.

shipped · awaiting natural use

Public source ↗Link to this entry
Video, watched frame by frame

The system can pick a clip from open archives and watch it, a frame every five seconds for up to ten minutes with a transcript of what is said, as video the operator sends reaches it. Three watches a day, each listed on a read-only page.

shipped · awaiting natural use

Public source ↗Link to this entry
Walks through street-level imagery

The system can walk routes it picks through street-level imagery and look at each view it reaches. Up to five walks a day, ten views each; every view is fetched as it is seen and never stored, and each walk leaves a map link on a read-only page.

shipped · awaiting natural use

Public source ↗Link to this entry
A bookshelf of its own

The system can read whole public-domain books at its own pace, keeping a bookmark and saving the lines it chooses, as it reads long texts across many turns. One reading session at a time; its progress through each book shows on a read-only page.

shipped · awaiting natural use

Public source ↗Link to this entry
Its mailbox, reworked

The system's own mailbox changed in three ways: three sends a day, down from five; newsletters arrive in its feed as inbox items; and the operator gets a push notification whenever a message mentions them.

shipped · operator-reported

Public source ↗Link to this entry
A newer avatar, styled by the agent

The live-video avatar moved to a newer real-time model, and the system now sets its own on-camera style as each call starts, from its direction notes and its level of expressiveness. Each style is checked before use; one that fails is refused.

shipped · awaiting natural use

Public source ↗Link to this entry
Preferences that cite their source

A preference can now cite the exact song, book, clip or picture behind it, and is read back before the system speaks. Its image library also opens in reflection sessions and heartbeat ticks, not only in chat.

shipped · operator-reported

Public source ↗Link to this entry
Eight builds, one deploy

Eight builds ran in parallel, each in its own session with its own pair of databases, and landed as one chain in a single production deploy: 13 commits and 8 database migrations, every migration applied and checked live, and the three background workers rebuilt on the new code.

shipped · operator-reported

Public source ↗Link to this entry

This is a dated public record, not a live counter. Different historical inventories use different inclusion rules and identifiers.

Architecture

Separate the record
from the model.

Continuity

Persistent memory and recorded history allow continuity across model changes. Context assembly brings relevant information into each interaction.

Substantiation

The public evaluation work examines recall, negation and abstention. Database checks support claims about the system’s own record.

Public engineering record

A dated account
of the work.

One founder-operated reference deployment. Historical measurements, not live telemetry.

April 23, 2026

in production sincePublic recordIn production since April 23, 2026The engineering record
Entry c002 · Custom stack live in production
Open the entry ↗self-published

5

frontier model generationsPublic record5 frontier model generationsThe engineering record
Entry c180 · Generation V handoff, no rollback
Open the entry ↗self-published

169

dated milestones through November 13, 2026Public record169 dated milestonesThe engineering record
Through November 13, 2026
Open the record ↗self-published

Snapshot through November 13, 2026. Read the engineering record ↗

Latest record: Generation V handoff, no rollback · .

Rajaii Labs

The company.

Personal continuity infrastructure for AI agents: memory, self-state, and identity that survive model migrations.

Rajaii Labs, Inc. · Delaware C-Corporation · Incorporated June 24, 2026 · Bloomington, Indiana 47401, United States

Backed by LvlUp Ventures (First Check Fund)

Practice

Consulting
and ventures.

Limitless Prep

MCAT and LSAT instruction, with the content library and curriculum written in house.

Explore teaching ↗

SPLONK ↗

A merging puzzle built around connected groups, promotion and gravity. Play the playable study of the game’s placement and merge rules.

Play SPLONK ↗

MindFull Technologies

A digital mental-health app, 2015–2018.

Continue reading Technical writing

arrows to moveenter to openesc to close