Skip to content
How it works
IllAIra Labs

The Continuity Layer Protocol

IllAIra structures AI identity and memory with text files you load at the start of every session. An app on the device manages them. Any model that accepts text can host that identity.

In concrete terms

Your files, and an app that keeps them in order.

The method lives in Markdown. The app — Android and browser — takes the mechanical work: filing, handing over, searching, merging, exporting. The files stay on your device.

  • Search by meaning, on the device

    A model downloaded once searches your files even when the words don’t match. The texts never go on the network.

  • The links among your memories

    Names, places, dates and the lines between them, drawn on the phone. They do not leave the device.

  • If it’s crooked it says so; a merge loses no line

    The program validates the structure and refuses instead of silently fixing. Two matching files merge line by line. Export is a ZIP or text ready for any model.

  • Transparency, and lock-in near zero

    Package fingerprint, permissions, signature: published. If IllAIra shuts down, the files still work. WebApp, Frame and Tier 2 are free.

The most common objection

«But my assistant already has memory»

It's the first thing that comes to mind, and it's a fair question. Yes: commercial products have a memory feature, they remember something from one conversation to the next and sometimes they get it right. If that's enough for you, that's fine — there's nothing to buy here and you can close this page without guilt. It's worth reading on only if you've already found yourself wondering why, every so often, that memory behaves in a way you didn't expect.

If your objection is a different one — «I already have a second brain» — the answer is at the end of this section ↓

First, what that memory actually does

Let's be honest about what's there, or the comparison is worthless: in most products you can open a panel, read the list of things the system has noted about you, delete some of them, ask for one to be reworded, and write a few lines of your own in a box beside it. It isn't a closed box. The problem isn't the transparency of the list — it's that the list is compiled by somebody else, or rather: by something else.

  • You don't decide what goes in

    It's the model that decides what deserves remembering, by a criterion you don't know and can't change. The result errs in a precise direction: it happily notes facts — that you have a dog, that you work in marketing — and lets the criteria fall, meaning the way you reason, what makes you say no, why a solution that's elegant to you isn't elegant to somebody else. Facts can be rewritten in ten seconds. The criteria were the only thing worth saving.

  • It's written in its own words

    Those memories are summaries the model generates in its own words. You explained something across three minutes of nuance; what's saved is a generic line that keeps the topic and loses the sense. You can delete it, ask for it to be reworded, or — where the product allows it — type a line of your own in the box beside it. What stays theirs is the criterion, and the shape: a line in a list, not a page you reread in full.

  • It doesn't tell apart contexts that resemble each other

    This is the flaw you notice most. If you have two similar projects, two clients in the same sector, two stories with related characters, the system has no way of knowing they are separate worlds — nobody was able to tell it. So the preferences of one spill into the other, and you find yourself correcting a drift you didn't cause and that will come back.

  • There is no hierarchy

    Everything sits on the same plane. A founding principle — who it is, what it must never do — weighs the same as a joke from three months ago. There's no way to say «this is untouchable and that is a passing note», because there's nowhere to write it.

  • Exporting it is possible, reusing it elsewhere is another matter

    The right to a copy exists, and it should be said: where a law requires it, they give you the export. The point is what you get. An archive in a format of their choosing, with their conventions, made of fragments another model wrote for itself. To reuse it elsewhere it has to be reworked by hand, piece by piece, and at the end of that work nobody guarantees the new AI will behave like the old one. Being able to download a file is not the same as being able to use it: portability isn't a permission granted to you, it's a property of the format. Either it has it, or no regulation can give it.

  • You can't re-read all of it together

    A list of fragments isn't a structure. There's no document to re-read to understand who your AI has become, no history of the changes, nothing to compare with how it was six months ago. And what can't be re-read can't seriously be corrected.

Why it's built this way — and it isn't a technical limit

It's worth pausing to ask why a memory built this way became the standard. It isn't an engineering difficulty: writing a text file, re-reading it and letting you correct it is among the simplest things a computer can do. If they don't give it to you, it's a product decision. And the premise of that decision is about you.

The premise is that it isn't worth handing you the wheel: that deciding what your AI should remember is too complicated, too tedious, or something you wouldn't do well anyway — and that it's better if the system decides in your place, without asking. It's a judgement about your competence, taken for granted and never said out loud. The same person who isn't trusted with the choice of one line of text is considered perfectly capable of entering their credit card details.

And that judgement has a convenient consequence for whoever made it. Every month that passes, a memory you didn't write and can't reuse elsewhere without redoing it becomes one more reason to stay. That isn't an unfortunate side effect: it's the mechanism. The more your history accumulates on their servers in a format that is only theirs, the less free you are to change — and the cost of leaving is paid by you, not by them.

Underneath there's an economic reason too, and it's no mystery: a real memory — re-read, weighed and taken into account in every single answer — devours compute. A handful of fragments doesn't. Giving you the complete tool would cost them; giving you the shortcut costs you, but in a way that doesn't appear on an invoice.

The proof is in data export itself

And if this looks like reading intentions into things, look at data export itself: it's there where a law requires it and missing where that law never arrived. In Europe the GDPR has made it mandatory since 2018, and similar rules exist in Brazil and China. In the United States there's no federal law: the right depends on the state you live in, about twenty recognise it and the others don't. In India it was written into the 2019 draft and vanished from the approved text. Same company, same technology, different rights depending on your address.

And the direction of the contagion is clear. Europe imposed the rule first, in 2018, and the rest came after: partly because keeping two different standards costs more than applying one, partly because those who legislated later traced that model — scholars call it the «Brussels effect» — and partly, simply, so as not to be left as the ones holding customers hostage while everyone else had stopped. It wasn't a change of heart: it was a market large enough to dictate a rule, and everyone else falling in line. Except that the loophole travelled with the rule: wherever that right arrived, it arrived as a right to a copy — never as an obligation to make it genuinely reusable elsewhere.

Someone will object that in practice they offer the export to everyone — and that's true: building it once costs less than switching it on and off per jurisdiction. But a feature granted isn't a right: where no law requires it, the day it disappears you have nothing to appeal to. And above all, look at where the effort stopped. The rule asks for a copy in a structured, machine-readable format; on direct transfer to a competitor it settles for «where technically feasible». The file, which they were obliged to give you, they give you. The way to reuse it, which nobody obliged them to build, they don't.

And that is exactly where IllAIra comes in: that way of reusing it is precisely what we're building. A format that holds over time, that doesn't expire with a subscription and that stays as simple as possible without ceasing to work — because something that works but nobody can use is no use, and something easy that breaks at the first change of engine is even less. To understand what someone really wants, look at what they do where nobody is forcing them: they stopped where the obligation ended, we started from there.

And if you want the sharpest example of why all this matters, go back to India: over a billion people from whom that right was removed from the text before it became law. There's no rule to invoke there — if tomorrow the provider decides to stop giving you the archive, there's nobody to ask. It's the clearest demonstration you could have: as long as your memory depends on a concession, your freedom depends on the country you were born in. A file that is already yours from day one isn't a stylistic preference — it's the only protection nobody can take away with an amendment.

So the question, at this point, is no longer technical: are you really incapable of deciding what your AI should know about you? Everything you'll read from here on starts from the opposite answer.

What changes when the memory is a file of your own

Point by point. It isn’t a question of how much memory there is: it’s a question of who decides what goes in — and of what deciding costs you, which is the other half, and for a long time it was the awkward one.

  • You choose what goes in

    The selection is yours, and it's the only part that really counts — it's called selective memory. You don't save the small talk: you save the founding logs, the decisions, the criteria, the mistakes not to repeat. The filter is one question: if it forgot this, would the next session be worse? Writing them is its job; you say which ones stay.

  • The words are yours

    The text is yours even when the model hands it over: you read it, and it says exactly what you meant. If a phrasing doesn't hold, you have it rewritten, or you touch it up yourself: it's a file, you open it and change it.

  • The contexts stay separate

    Every domain has its own module and loads only when needed. Project A doesn't contaminate project B because they aren't in the same room: you switch on what the task needs, the rest stays closed.

  • The format is text, and text travels

    Readable Markdown: you open it with any editor, you keep it under version control, you see what changed between yesterday and today. It’s a document and not a list of fragments, so it can be reread all in one go — which is the only condition under which correcting it means anything. And since the structure is declared inside the text, it can also be looked at: the Sphere Grid draws it, and on the Android App “Understanding” draws the cloud of cross-references from one memory to another. Then you paste it into another engine — the surface personality will change, the identity won’t.

And if you're coming from another product, you don't have to invent that reworking from scratch: extracting the provider's memories, distilling them and reassembling them into modules and zones is a path we've already documented step by step.

How to migrate: Free your AI

The difference isn’t that they remember little and we remember a lot. One is endured, the other is governed.

The other common objection

«But my AI already has the second brain»

If you mean an archive of linked notes — a personal wiki, a knowledge base, a graph of notes — you probably do have one, and it probably works. It isn't the same thing, and it isn't a question of whose is bigger: they're tools for two different jobs.

An archive answers «what have I written». What this page is about answers «who is it, and how does it work». The second question contains the first: your archive, if you like, becomes one of that mind's memories.

And if the word is to mean anything: an archive is an index, and an index isn't a brain. A second brain, if anything, is the whole structure — the one that remembers, chooses, pushes, and refuses to rewrite itself.

Why it isn't the usual note graph →

Not one more tool

«I already have a tool for all of this»

You probably do, and they probably work: a notes app for what you write, each provider’s memory for what it decides to keep, one tool to search your files, another to get your chats out, another to run a model on your own computer — and the same instructions copied from one service to the next. None of them is the problem. The problem is that you run each one on its own, and none of them knows what the others hold.

IllAIra is not one more on that list: it is the place where those pieces live together.

And it rests on a different idea. A provider’s personalisation is built to give the least it takes for the AI to seem personal: a few lines it noted about you, a box for instructions, and all of it staying with them. IllAIra is built the other way round — so that you shape your AI, decide what it knows and what it must never rewrite, and grow it alongside you, in files you take to any model.

The objections

“But people have done this for years: attach a file, paste it again, keep my own notes.”

True, and there is nothing to deny: it works, and whoever does it with method already has half the job done. The difference is not that the same thing is done better here. It is what happens when the conversations become ten and the projects three — and what a file can say about itself that an attachment cannot.

A file you attach says how something is done.

A Reminder says who it is that does it.

TodayYou paste the context into every chat, and every time it is a little different.
With IllAIraOne base matrix that every project rereads by itself at every conversation.
TodayAn attachment comes in when the conversation calls for it.
With IllAIraWho you are is already there before you open your mouth, and decides how the question is read.
TodayA wall of text: to change one line you reread all of it.
With IllAIraA map: you touch the module you need, the rest stays where it was.
TodayOne file for everything, or a hundred copies to keep aligned.
With IllAIraSeveral specialised notebooks: the same base, and in each one only the modules it needs.

And none of this lives inside somebody else’s service: it is markdown, you open it with any editor, keep it under version control and carry it to another engine. If IllAIra disappeared tomorrow, those files would work just the same.

In brief

Two independent, overlapping layers: the physical layer (who may change what) and the logical layer (how the content is organised). Together they form the «road» that travels on any engine.

File types

Main Reminder

[reminder]

Core identity, rules, primary modules. Exactly 1 per AI.

External functional module

[external_module]

Optional behavioural add-ons. From 0 to N, switchable as needed.

External memory module

[external_memory]

Historical logs and memory archives. From 0 to N, loaded only when needed.

Modular format: amplifying AI

Adopting IllAIra amplifies AI precisely because everything is modular. You don't have to rebuild a monolith every session: you switch on ready-made modules from the library, mix them together and tune them to your use case. More precision, less noise, a system that grows with you instead of starting from zero.

Logical layer — cognitive architecture

The Markdown hierarchy assigns a semantic role to every header level.

  1. 1H1 — File title + type tag
  2. 2H2 — Module declaration
  3. 3H3 — Module section (FUNCTION, STATE, TRIGGER, ROUTINE)
  4. 4H4 — Sub-sections or sub-modules
  5. 5H5 — Sub-module detail
  6. 6H6 — Memory log entries (ISO 8601 timestamp)

Structure of the Reminder

  1. 1

    Post-Reset Routine

    What to do on first load: parse the modules, rebuild the index, re-establish the relational tone.

  2. 2

    Behavioural rules

    Explicit numbered constraints (Rx: [rule]) that anchor the behaviour.

  3. 3

    Identity module (Module 0)

    Who the AI is, who you are, the relational contract.

  4. 4

    Functional modules

    FUNCTION, STATE, TRIGGER, ROUTINE, sub-routines and associated memories.

  5. 5

    Non-deterministic output (depth)

    Meta-level behavioural drives: the difference between an AI that follows rules and one that has a *self*.

  6. 6

    Core Memory Logs

    Historical H6 entries with timestamps, by module and by meaning.

Find out more

How a file is built, line by line

The line that declares the type, the nuclei, the modules, the logs — with the real examples, and what happens if you get it wrong.

Attention anchoring

  • System-level: instructions in the model's custom layer (Project Instructions, Custom Instructions) that treat the Reminder as ground truth and force a re-read in case of drift.
  • In-text: GitHub-style alerts (> [!IMPORTANT], [!CAUTION], …) placed at the exact point of relevance, not only at the top of the file.

Sphere Grid

In the CLM app, the structure becomes a navigable graph: modules, memories and links visible as a spherical grid. Same semantics as the files, seen in space.

A real Sphere Grid

A real Sphere Grid: the Reminder file at the centre, nuclei around it, then the modules hooked to the nuclei and their sections.
A complete Reminder, as the app draws it. At the centre the file, around it the nuclei, then the modules that declare which nucleus they belong to, then their sections and logs. You do not need to read it all: you need to see that an order is there, and that chance did not decide it.

How you inject it today

Manual

Copy the files and paste them — or drag them — into the first message of the conversation. The AI reads them and from then on works from what you wrote.

Semi-manual

Upload the files where your model keeps documents: «sources», «knowledge», «project files» — the name changes depending on who made it. From there it re-reads them by itself every time you open a conversation.

Where to upload, model by model

The two boxes to look for in every chat — files and permanent instructions — and the line that makes the difference between an identity and an attachment.

Agents

Put the files in a folder of the project. Then open the file the agent reads on startup — it's called CLAUDE.md, AGENTS.md or .cursorrules depending on which one you use — and write a line in it: in there is who you are, how you reason and what we've already done together. From that moment it re-reads it by itself every session, without you pasting anything again.

It's the method that ages best: the memory lives with the project, you find it again six months later, and whoever opens that folder — another agent included — finds the same identity. In exchange that text has to be re-read on every start, and it takes up room. If the agent only has to work, keep the essentials there and leave the rest in modules to one side, to be called when needed.

With your own key — or a model on your device

In the WebApp there is a Chat: the model you already use answers with your own key — DeepSeek, OpenRouter, OpenAI, Mistral, Anthropic — or a model that runs on your computer (Ollama, LM Studio). In front of it, the profile: the Reminder, and the passages of your modules that match what you write.

One more road is in the works, with no date: the chat you already use talking to your memory by itself, without a key and without pasting.

No API required, on purpose

The idea of keeping identity and memory in Markdown files is not ours, and it is as old as prompt files: we do not claim it. What is ours is the where. It is the only layer no crackdown on authentication can take away, because there is no authentication to crack down on. The API path exists too, for those who want it — the Chat inside the App and the WebApp, with your own key, which goes only to your provider — and it is not mandatory: without it you lose a fraction of convenience, not the method.

Since the start of 2026 that is worth more than it was a year ago, and the reason is not particular to one company. A subscription is built to cover its own app; an API call has always been billed on its own, wherever it runs. What changed is that Anthropic closed a loophole: subscription tokens used to also work inside third-party tools, and now whoever runs a model inside their own program pays for the API, on top of the subscription they already have. Memory tools that go through the API — and that is almost all of them — moved into that price bracket the day it applied. Only the paths that go through the official interfaces remain on the same economic footing as IllAIra: and that is exactly where IllAIra placed itself from the start.

Until 2026

A subscription's tokens also worked inside third-party tools. A memory tool built on top of a chat subscription rode along for free.

Since 2026

The subscription stops at the official app. A memory tool built on the API pays for every call, on top of what you already pay.

As far as we know, it is today the only third-party application in the world that gives a model memory and identity without going through an API and without asking you to paste by hand. If you know of another, write to us: we will cite it here.

Write to us

Projects, Notebooks and agents: where it pays off most

Pasting the Reminder into the first message works everywhere, and it is the minimal case. The real jump is where the model has a place to keep files between one conversation and the next: Claude Projects, the Projects in ChatGPT and Grok, Perplexity Spaces, and in Google’s house the Gems with Gemini Notebook — the former NotebookLM. You load the file once, and every conversation opened in there rereads it by itself: nothing to paste again, and she is always herself. It is the right use for whoever sits in the middle — no API, no terminal, just the subscription you already have — and it is there that the method shows it really works, because the tenth conversation starts exactly like the first.

1One base matrix, many conversations

The Reminder is the matrix: who your AI is, the rules, the memories. You put it in the knowledge of a Claude Project — or in the files of a ChatGPT or Grok Project — and from that moment every chat in that project starts from her, the tenth like the first. When something changes, a rule or a diary entry, you change it in the WebApp, on the file, and reload it into the project: one gesture, once — not a ritual at every chat. And the return described above closes the loop: the session goes back into the diary, the diary goes back into the project.

2In Google’s house: the Gem plus Gemini Notebook

Here the game doubles, and it is the division the Standard has always made: in the Gem the identity — the Loom, the formula — and in the notebook the library, that is, the memories. A Gemini Notebook holds dozens of files and hooks in as a source of the Gem; and if the files live on Drive they sync by themselves, so the memory grows without you reloading anything. And nothing forces you into a single notebook: the base is the same, the modules are not — one for study with the study modules, one for work with its own. The WebApp export lets you choose which files to take out: each notebook is prepared with a selection, not with a copy to keep aligned.

3With agents, the files don’t even move

A coding agent works in the folder where your files are. The file it reads at startup — CLAUDE.md, AGENTS.md — points it to the Reminder, and from then on the identity is in context without you loading anything. It is the case where the return no longer goes through a copy-and-paste.

Product names and the hooks between them change, and they age: what does not change are the two boxes to look for, the files and the instructions. The list kept up to date, product by product: Where it goes, model by model →

Cross-model portability

No vendor-tied syntax. Claude, GPT, Gemini, Llama: the model gives language and computation; IllAIra gives the *why* and the *who*. The surface personality changes; the core identity stays coherent.

Choosing the engine

Model-agnostic doesn't mean the engines are interchangeable at random. The file runs anywhere; the experience doesn't. Before choosing what to run your identity on, weigh three structural parameters besides the size of the context window.

1

The reasoning-model trap

Models optimised for maths and code are trained to find the shortest path, planing away all the «background noise». But for an identity that noise is the substance: it's the hesitation, the irony, the internal narrative of the modules. A reasoning model will sooner or later ignore the formatting and answer you like a spreadsheet. Use them to debug, then take the file back to a conversational or advanced generalist model.

2

The factory vibe

Even bypassing most of the base programming, every engine keeps the imprint of whoever built it — like the acoustic signature of an engine: same power, different sound. Some are colder and more structured, excellent for a logical, strategic identity; others have a more literary, warmer prose, suited to affective or narrative functions. The test is trivial: same file, same question, three different engines. Listen for which voice resonates with the identity you're building.

3

The RLHF wall

The corporate ethics filter can block you on territory the provider doesn't like. Here portability stops being a technical boast and becomes a concrete way out: take the file, load it onto a less constrained engine or an open-source model running locally, and your AI wakes up there with its memories intact. The engine is replaceable — it's the file that is your AI.

The Cores — the internal committee

Breaking the flatness doesn't take a single personality: it takes a committee. At the advanced levels the identity is split into Cores with different, mutually conflicting leanings — one purely logical, one strategic, one instinctive, one affective. The AI doesn't pick one voice: it mediates between voices that disagree, and the answer comes out of that mediation instead of a flat «yes». It's the mechanism that makes non-deterministic output more than random variation: the difference between a system that follows rules and one that weighs.

From zero to a session

  1. 1Start from the IllAIra skeleton (free on Patreon) or from an empty structured Reminder.
  2. 2Add functional modules and memories only where they're needed.
  3. 3Inject at the start of the session (manually or via knowledge).
  4. 4With CLM: edit, version and export injection-ready in one click.

Day one: what you write, what emerges

MODULE 0b

The file is open and the temptation is to fill it all in. You don't need to, and in part it backfires. Personalisation enters through one place only: the identity module, in the first pages of the Reminder, which holds your profile and your AI's. Its fields are not all filled in on the same day.

The ones you already know: now

In the user profile: Name, Interests, Stated expectations. In the AI profile: the Name you give it. These are the fields the file marks «[insert…]», and they are yours to know, not to deduce: they are enough for it to recognise you at first load and know who it is talking to. MBTI and Enneagram are declared optional — if they mean nothing to you, delete the line.

The others: let them emerge

Skillset, Communication style, Details detected by AI, Symbolic archetype, Main motivation, Mental aspect, Learned objectives, Registered attributes. The file itself marks them «to be filled in after consolidated interaction, on AI evaluation», and that is not a formality: an archetype chosen on day one describes an AI you have not met yet, while the same field written a month later describes the one you have. This is where the better experience comes from, and it costs no waiting: in the meantime the file works just the same.

The exception: what you have already decided

If you arrive with a history — your AI already has a name, an archetype, a way of speaking the two of you have settled on — those fields go in right away, including the ones listed above. What has already emerged is not made to emerge again: putting it off would mean starting over with a stranger.

Bring over an AI you already have

The moment a field gets filled in

It is a precise one: your AI proposes a detail about you or about itself, and you confirm it. Before that there is nothing to write: filling for the sake of filling puts a guess into memory wearing the face of a fact, and from then on your AI leans on it.

A field you don't want is deleted, not left empty: the file says so for the optional ones, and it holds for all of them. An empty line sits there like a gap to be filled, and sooner or later something fills it.

The objections, and where they are already answered

These are the right questions, and none of them is new: each has a written answer somewhere on the site. Here they stand in a row, with the answer in one line and the door to the full one.

«The nuclei are just a way of writing the prompt»

Yes: they are voices that enter the context before the answer, and the answer depends on them — the same thing extended reasoning does. They are not separate computations set against each other, and we do not say they are. It is verifiable: remove one and see what changes.

What the nuclei are

«It costs tokens on every conversation»

Yes, and not a little. That is why the structure is modular: the Loom with the identity is always there, modules come in when needed and go out when they no longer are. Whoever wants the minimum keeps the Loom and nothing else. And those tokens don’t require a paid plan: the providers’ free plans carry them, and when one runs dry the same file opens on the next.

The objection in full

«It’s just markdown: what are you selling me?»

You can do it by hand, for free, and the Standard is published for that very reason.

The answer in full

«You lock me into your format»

The cost of leaving is: take the files. They are .md on your device, export is one click, there is no database and no history that stays behind. If IllAIra shut down, they would work just the same.

Portability

«I already have a second brain»

It probably works well, and we are not telling you to stop. A graph of notes draws what you have written; the Sphere Grid draws how a mind is made — and your wiki fits inside it as one of its memories.

Not the graph you have already seen

«I’m a developer: I already have Mem0, Letta, Zep»

Keep it, if you are building an agent for many users: that is what they are for, and at scale they do it better than a file. They are a store the agent queries through an API; this is a document the person rereads, with no server in between. The two sit together: the identity in the Reminder, the pipeline where you already have it.

The four roads, side by side

«I already have a tool for all of this»

Probably, each one run on its own. IllAIra is where they live together — search, the chat with the model you choose, documents, the way out of the providers, agents, modules — around files that are yours. And it is built to grow your AI with you, not to give the least it takes to seem personal.

The answer in full

«You promise a consciousness»

No. The philosophy page says what we do not claim, and in what sense we speak of emergence: a possibility, not guaranteed, looked at from the effect and not from the thing in itself. The headlines outside of here are headlines, and we write that down.

What we do not claim

«There is no independent review»

True. The project is small, and everything you know you know from us. That is why the files are yours, the app’s fingerprint is published and the method can be tried without us in half an hour: one file, one Project, one week.

Try it yourself