Skip to main content
Context GrammarDesign for context-aware AI

Context Grammar — Always-On Layer

Brain

▶Listen to this page

Brain remembers what you’ve told it and what you’ve agreed. A family shares dinner, but not every preference or private detail. Context Brain is a proposed memory architecture that keeps those differences intact, and splits memory by where it came from: what you told it, what it has learned, and what is happening now.

Brain

English audio

Read transcript

Remember enough to make the next visit easier

Today you bring your family to your usual restaurant. “The same for the children. Something light for me, and we need to leave in forty minutes.” The host remembers last time, checks what the kitchen can prepare, and finds a table. As you leave, you mention how much you liked the seasoning. Next time, that matters too. Preferences, experience, and today’s circumstances work together. Brain is a way to give AI that kind of useful memory.

Identity · Learning · Now

For a family trip, some things are established requirements, such as food restrictions. Others come from experience: an afternoon break made the last trip easier. And some are just today’s conditions, like rain. Brain separates these into Identity, Learning, and Now. Every Brain uses these three layers, so a temporary circumstance is not automatically mistaken for a lasting preference.

Different people. A plan that considers each of them.

One child wants to see a concert. A parent wants an easy journey. The family has agreed to be back at the hotel by nine. Personal Brains retain individual needs; the Household Brain holds shared agreements. Domain Brains handle areas such as money and schedules. A Trip Brain, one kind of Event Brain, brings this journey together without turning everyone’s preferences into one average.

Brain remembers / Coordinator organizes / Agents act

A guestbook alone cannot serve dinner. Someone coordinates with the kitchen, someone cooks, and someone brings the meal. In this design, Brain holds the context, a Coordinator organizes the work, and Agents perform tasks such as searching for hotels or making an approved booking. Food and transport assistants can use the relevant family context without making you explain the same needs all over again.

What you told us before helps with today’s plan

“Let’s take a family trip this weekend.” The assistant brings together the children’s interests, journey times, the budget, and what you learned about taking a break. A workable day starts to emerge: enjoy the concert, rest along the way, and reach the hotel by nine. The value of multiple Brains is that things you explained separately can help shape one useful proposal. Missing details can still be checked with you.

The right context for each task

The hotel search needs the lodging budget for this trip, not the family’s entire financial history. A food search needs the relevant dietary requirements. Each task receives the information it is allowed to use, with a record of where it came from. Reading and changing are separate permissions: an assistant that reads a child’s preference should not silently rewrite it.

A shared plan, with current family context

A Trip Brain holds this journey’s dates, budget, and booking status. It refers to the relevant family information at its source instead of copying the whole household into a new file. If someone updates a food requirement before departure, the plan can check that current information. The transport and food assistants also work from the same current itinerary.

Control Tower · Work together / Field Relay · Pass the result on

Hotel and transport searches can run alongside each other, using the same trip context. The framework calls that coordinated pattern Control Tower. Other tasks depend on a result: once a hotel is chosen, the next assistant works out the route to its station. That handoff is Field Relay. Both patterns reduce the work of copying information and briefing the next assistant yourself.

Plan → Experience → Review → Remember

On the trip, you discover that an afternoon break helps, and a child finds a new favorite dish. Afterward, the assistant asks which lessons you want remembered for next time. Reviewed learning returns to the appropriate personal or family Brain. The active trip and its temporary screens can close while selected records remain. The next journey begins with useful experience, rather than another blank form.

Several Brains help Maya make one decision

At work, Maya is considering a new project. She needs customer evidence, the brand’s principles, and a realistic view of team capacity. Research, Brand, and Org Brains hold those different kinds of context. With a Project Master Brain supporting the proposal, she can start from relevant knowledge instead of searching from scratch. Once Maya approves the work, a Project Brain carries its agreed purpose and evidence forward.

Carry useful learning into the next project

After the project, the team learns which explanation helped customers understand the product. Reviewed, shareable learning can enter a common archive for the next team to use. That does not open every project file to everyone else. Research keeps its source, and each new project receives the parts it is allowed to use. Useful experience travels without removing the boundaries around each team’s work.

Remember what matters. Bring it together when needed.

Across a home or workplace, there is shared context, personal or brand context, specialist knowledge, a coordinating role, and temporary work such as a trip or project. Those are five roles, distinct from the three layers inside each Brain. Like a host who remembers the meal you enjoyed, AI can connect what you have already explained to the help you need now.

A host greets a regular warmly at the door.A family plans a trip: the daughter wants a concert, the father watches the time, the son is tired.
Remembered context makes the next visit easier — and lets one plan consider each person.
◆ Always-On Layer · Brain

Separate Brains, three sources, one decision.

Explore four memory roles and the Coordinator that reads them. Turn on Now to follow Sota's shoe purchase through a simulated decision. No order is placed.

Home memory · five pillars
↳ distributed, never merged into one blob
Person Brain · universal anatomy

Memory is raw material. It becomes judgment only when it meets now.

●Example signals · input consoleidle
physical_state—
cognitive_load—
social_exposure—
priority_weight—
form_factor—
feasibility—
autonomy_dial—
disclosure_dial—
[ STATUS: FROZEN FACT-DATA ]
Turn on Now to add this morning's need, budget, and delivery window.
01Every Brain splits memory by source: what you told it, what it learned, and what's happening now.
02Family and organizational memory stays distributed instead of merged.
03Coordinators and Agents turn memory into action.

Definition

Memory is split by where it came from.

A Brain is a scoped store of context for a person, a household, a domain, or a project. It gives a decision continuity without treating every past interaction as equally relevant.

What you told it (names, allergies, permissions, agreements) is yours to change. What it learned (preferences and habits inferred from repetition) may be wrong. What is happening now (location, company, urgency) may disappear in minutes. These also change at different speeds, but speed is secondary. The source comes first: when everything is mixed into one bucket, a guess can start to look like something the person said.

Inside each scope, Context Brain proposes . A child's allergy can remain a constraint, a food preference can be corrected, and tonight's late train can expire. A Coordinator reads the relevant, permitted context; an Agent carries out the resulting task.

memory_by_source
told:identity · permissions · agreements
source:the person · changes only when they change it
learned:preferences · habits · inferences
source:the AI · may be wrong
now:location · company · urgency
source:the moment · may disappear in minutes
if mixed_into_one_bucket:
→ a hunch can pass
→ for something the person said

Agreements

An agreement is kept in the person’s own words.

Agreements are first-class memory. Each one keeps the person’s words, the date, and the reason. “No nuts in the kids’ lunches, from May 3, because of the school’s policy” is an agreement. “They seem to avoid nuts” is only something the AI learned.

When the person changes their mind, the new agreement supersedes the old one. It never overwrites it: the old one stays on record, so anyone can see what changed, when, and why. A hunch never rewrites an agreement, however confident it is.

The same holds when building with AI. “From September 25, ask before anything that touches production” stays in force until the person replaces it, even if the last twenty deploys went well.

agreement_record
words:“Ask before anything that touches production.”
date:2026-09-25
reason:a migration once went out unreviewed
supersedes:the 2026-08-02 agreement (kept on record)
rewrite_by_inference:
→ never

Overview

Start with four ideas.

01

Brain is memory

It stores facts, constraints, learning, and current state by layer. A Brain does not buy, notify, or act by itself.

02

Memory is split by source

What you told it, what it learned, and what's happening now. Every Brain keeps them apart.

03

Coordinator reads

It reads across multiple Brains and decides which Agent should act, and how much autonomy is appropriate.

04

Agent acts

Voice, Shopping, and Notification Agents execute within permission boundaries and write learning back.

Restaurant model

The restaurant that remembers you.

At a restaurant you visit often, the reservation book records your name and the allergy you asked the staff to remember. The server has also noticed that you usually choose the window table. One is an explicit constraint; the other is a pattern that might change.

When you order fish for a guest three times, a careful server does not quietly make it your favorite. A useful memory keeps the circumstances attached and lets you correct the inference.

Tonight you arrive with colleagues instead of your family. The server can offer the quiet table without announcing a private conversation from your last visit. Remembering something and being allowed to repeat it are different decisions.

Context Brain formalizes that distinction. The reservation, the learned preference, and tonight's company come from different sources and stay apart. The kitchen needs the allergy; the whole dining room does not need the guest's history.

staff_memory_model
stable_facts:name · confirmed allergy · disclosure permission
maps_to:What you told it
patterns:window table · fish ordered for a guest
maps_to:What it learned
tonight:with colleagues · quiet table · private history withheld
maps_to:What's happening now

Three sources

Every Brain keeps three sources apart.

L1Told

What you told it

What the person stated: identity, constraints, permissions, and agreements. It changes only when the person changes it. In the restaurant model, this is the reservation book.

Control: Disclosure limits what each task may read, for each person and domain. A meal planner may receive an allergy constraint without access to the person's wider health history. Stable facts remain editable when circumstances change.

L2Learned

What it learned

What the AI inferred from repetition: preferences, habits, mistakes, and corrections. It may be wrong, so it stays labelled as inference, connects to Autonomy and Trust controls, and never rewrites an agreement.

Correction: “That salmon was for our guests” corrects an inference, not the person's identity. Keep the observation's context and confidence; repeated mistakes should reduce autonomy for that task until the behavior is reviewed.

L3Now

What's happening now

The live state of the moment: place, people, time, urgency, and social atmosphere. Situation Signals and Relationship Dials flow here and turn memory into judgment.

Live inputs: Physical State, Cognitive Load, Social Exposure, Priority Weight, Form Factor, Feasibility, Autonomy Dial, and Disclosure Dial.

Right now

Memory is raw material. It becomes judgment only when it meets now.

Before

Told + Learned

“Egg allergy.” “Tired on Fridays.” “Add lemon to fish.” These are important memories, but they are not enough for the system to act.

After

Told + Learned + Now

“Tuesday 18:30.” “Pasta and broccoli in the fridge.” “Dinner in 25 minutes.” “Your spouse is in the kitchen.” The Coordinator can now suggest an egg-free dinner. Ordering ingredients still depends on the household's permissions and budget.

Home memory system

A shared home still contains separate lives.

Planning Tuesday dinner might require Sota's allergy, a parent's arrival time, the groceries on hand, and the shared food budget. Those facts can inform one decision without becoming one unrestricted family profile. A busy calendar block can be enough; the meeting title can stay private.

▣Household Brain

Stores household rules, budget policy, and shared priorities.

▣Person Brain

Keeps, for each person, what they told it, what it learned, and what's happening now.

▣Domain Brain

Stores domain-specific memory such as Finance, Health, Education, and Calendar.

▣Event Brain

Born from the household for time-bounded goals such as trips, moves, or exams; returns reviewed learning, then dissolves.

◈Coordinator

Not a Brain. It reads across Brains and decides which Agent should act.

[ distributed home memory — four roles and a Coordinator ]

// each Brain keeps three sources apart;
// the Coordinator reads permitted context
// without creating a shared personal profile.

Roles

Brain remembers. Agent acts. Coordinator decides.

Memory

Brain

The place where memory lives. It stores facts, constraints, learning, and current state by layer.

Action

Agent

The role that does work: listening, searching, buying, notifying, and recording.

Orchestration

Coordinator

Reads the needed Brains, matches rules, and decides which Agent receives the task.

One Brain can be read by many Agents. One Agent can read many Brains. The important point is that Brain and Agent are not locked into a one-to-one mapping.

In restaurant terms, Brain is the reservation book and regular-guest memory, Agent is the chef or server, and Coordinator is the floor manager. Good service works because memory, judgment, and action are separate but connected.

[ multi-agent orchestration — Brain · Coordinator · Agent ]
Multi-agent orchestration
[ multi-person orchestration — one AI, four different rule sets ]

One AI, four rule sets

The same Coordinator, the same Household Brain — but each Person Brain holds different Autonomy Dial settings and Substitution Modes. One AI serving four people simultaneously, each on their own terms.

[ multi-person brain — one Coordinator, separate signal states per family member ]

One household, separate preferences

One parent allows any Greek yogurt; another wants a specific brand. If that brand is sold out, the Coordinator applies the second person's “exact” rule to their item. It can leave the item unfilled or ask; a shared basket does not erase an individual boundary.

1

Voice Agent receives the utterance

“My shoes are tight” is a possible need, not permission to buy. The Voice Agent passes it to the Coordinator to check against the family's existing rules.

2

Coordinator reads multiple Brains

Person Brain returns Sota's size and soccer schedule. Finance Brain returns budget. Calendar Brain sees the match is soon. Household Brain returns the purchase rule.

›Show detailed query data
BrainReturned Value (L1 / L2 / L3)
Person Brain (Sota)Age 11 · current foot size EU 36 (up 5mm recently) · athletic shoes needed
Finance Brain¥23,000 left this month · ¥15,000 for kids' essentials · proposed pair ¥4,800
Education BrainSchool dress code OK · PE class requires athletic shoes
Calendar BrainMatch next Saturday · urgent
Household BrainParent previously allowed essential shoes under ¥5,000 when size, school rules, timing, and budget are verified
→ Verdict: ORDER ONLY AFTER EVERY CONDITION IS VERIFIED; OTHERWISE ASK
3

Rule selects Silent Buy

The parent has authorized this category under ¥5,000. The ¥4,800 pair fits the budget and verified requirements. If size, price, or permission were unresolved, the order would wait.

4

Shopping Agent orders

Correct team brand, correct size, same-day delivery. The Agent executes and records the result within its permissions.

5

Learning returns to the Brains

Finance records the spend; Person Brain retains the verified size; Household records which rule was used. A placed order is not proof of a good fit: a later correction must update the relevant memory.

›Show detailed learn updates
BrainWrite-Back / Update Action
Finance BrainRecords the ¥4,800 kids' essentials spend and updates the monthly budget (what's happening now)
Person Brain (Sota)Proposes foot size EU 36 for the parent to confirm; until then it stays in what it learned
Household BrainRecords which agreement was used and the order outcome; fit remains unconfirmed (what it learned)

Walkthrough

A ¥4,800 pair. A ¥5,000 boundary.

“Mom, my soccer shoes are getting tight.”

In this proposed flow, five Brains supply different parts of one decision. The parent's standing permission makes the routine purchase possible. as a single table.

Disposable Brain

Born for a purpose. Gone when the purpose ends.

Not every memory should live forever. A Kyoto trip, a move, a typhoon plan, a product launch, or an exam can create an Event Brain for a temporary goal.

For a Kyoto trip, the Event Brain is born from the family’s Brain: it inherits the constraints it is allowed to use and keeps the itinerary and trip discoveries in its own scope. After the trip, the family reviews what should be remembered. Only reviewed learning returns to the parent; then the Event Brain dissolves.

Building with AI works the same way. A working session is born from the project Brain, hands its reviewed lessons to the next session, and then dissolves.

↗ See it applied in Project 02: The Family Trip

[ disposable brain — lifecycle diagram ]
Event memory with a lifecycle
PhaseWhat happensExample
BirthBorn from the parent Brain: inherits permitted family constraints and records the event's own parameters.Dates, people, budget, and dietary restrictions for a Kyoto trip.
LearningBuilds event-specific insight as learned memory, kept inside the event.Children's stamina, preferred food, travel bottlenecks.
ReturnReturns only reviewed learning to the parent Brain. Nothing goes back unreviewed.Confirm “Kai likes ramen”; avoid treating one tired afternoon as a lasting trait.
DissolveDissolves: the active event closes and the chosen retention policy applies to its records.Live location and expired plans can be removed; reviewed preferences remain.

Scale

The same structure scales from people to families to companies.

Context Brain is not a family-only pattern. A person can have a Self Brain, a family can have a Household Brain, and a company can have an Org Brain. Domain Brains become Finance and Health at home, or Legal, HR, Marketing, and Engineering inside an organization.

The invariant structure is this: each Brain keeps three sources apart, a Coordinator reads across Brains, and Agents act. At work, a designer drafting a launch page needs the approved brand voice, recent research, and this week's release constraints. A Project Brain can draw on Brand and Research Brains while keeping the sprint's blockers local. A temporary workaround should not become company policy.

connects these memories to disclosure and autonomy limits. When a project closes, a useful finding can be reviewed for the organization's memory while its live task state expires. A Master Brain, or any memory that spans projects, holds an index of what exists and the lessons that have been reviewed, not the contents of every project. The Coordinator is not a Brain: it reads permitted context and decides, but stores nothing of its own. The five-tier table below is one organizing model; the memory boundaries matter more than a fixed number of teams or Brains.

scale_invariants
tier_count:5 roles in the model below
sources:3 — told / learned / now
variable:N (number of Brains)
agents:separate variable layer
// person → family → startup → enterprise
same structure, different N
›View 5-Tier Scale Model Table
TierRoleIndividual (1)Family (5)Startup (30)Enterprise (1000+)
1Persistent foundationSelf BrainHousehold BrainOrg BrainOrg Brain
2Judgment DNA—Person × 5Person × 30 / Brand × 1Brand × N (multi-product, regional)
3Specialist knowledgeHealth / Money / ScheduleDomain × 5 (Finance / Edu / Health / Cal / Home)Function × 3–4 (Ops / Customer / Finance)Function × 8–12 (Legal / HR / Finance / Marketing / Engineering / Customer…)
4Coordinator (not a Brain)(your own mind)Household CoordinatorProject CoordinatorCoordinator hierarchy
5Time-limited executionTrip / MoveEvent × NProject × fewProject × many
Key point: The counts are illustrative. A household might separate five domains; a company might need twelve functions. Each scope still separates what it was told, what it learned, and what is happening now. A Master Brain holds an index and reviewed lessons, not contents. Coordinators connect the permitted context, and Agents carry out the work.
›Q1. Do Brain and Agent need to share the same name?

No. “Finance Brain” and “Finance Agent” share a name for clarity, but they are different things. One Finance Brain can be shared by three Agents (Shopping / Tax / Budget). Conversely, one Calendar Agent can read from five Brains (Finance / Education / Health / Calendar / Household). This is normal and expected.

›Q2. Does Brain alone make AI work?

No. Brain is a bookshelf. Without someone to read it (Agent) and someone to decide who reads what (Coordinator), stored context does not produce an action. These are logical roles in this proposal; they do not require three separate products or models.

›Q3. Can an Agent write directly to a Brain?

Yes — within its permission scope. Read permission and write permission must be defined separately. A Finance Agent may record a purchase without being allowed to rewrite a person's preferences. An Agent may add to what the Brain learned; it never rewrites what the person told it. Agreements change only when the person changes them, and the new one supersedes the old. The per-person, per-domain Disclosure Matrix describes information boundaries; implementations also need explicit write rules and a record of corrections.

›Q4. Is there only one Coordinator?

At household scale, one Coordinator is sufficient. At enterprise scale, a Coordinator hierarchy becomes necessary (department Coordinator → company-wide Coordinator). The essential requirement is one or more “reads across and decides” roles.

›Q5. What does this architecture add to AI memory?

The useful question is whether a memory system can distinguish a stated constraint from an inference, preserve who a memory belongs to, and expire temporary context. A longer conversation history alone does not specify those boundaries.

What Context Grammar proposes is a distributed multi-Brain × separate-layer specialist Agent × Coordinator structure. It is a design proposal for organizing memory and authority, not a claim that the portfolio demos run a complete agent operating system.

›Q6. Do all three sources truly exist in every Brain?

In this model, yes. Person Brain (Sota): “age 11 · soccer” (told) · “recently growing fast” (learned) · “shoes too tight this morning” (now). Finance Brain: “currency JPY” (told) · “eating out more this month” (learned) · “budget ¥23,000” (now). Even Event Brain (Kyoto Trip): “dates · family size” (told) · “Kai likes ramen” (learned) · “currently at Kyoto Station” (now). Splitting by source is universal memory anatomy.

Q&A

Common questions answered.

The distinctions that matter when turning this memory model into a product.

Memory without trust control becomes surveillance.