How agents share memory

How Our AI Agents Share Memory and Coordinate Work

Use this guide if you work with more than one AI assistant and keep repeating the same facts. Give them one set of current notes, one owner for each task and proof of what got done. Test one handoff so the next assistant can pick up the work.

Read the notes → Do the work → Save the resultFollow the source labels in order. The path runs from top to bottom.Read the notesDo the workSave the result
Read the current brief. Accept one task. Save a checked result.

This page explains shared memory and handoffs. The agent company operating guide connects these records to team roles and review. The map of our system shows the wider process.

Start with one task in the tools you already use

Pick a small task, such as turning an approved source into a private article draft. Use an existing shared folder, document or task board that both assistants are allowed to read. A plain file can work. You do not need to buy a memory tool or install a new agent system.

  1. Read the current brief. Keep the goal, accepted decisions, constraints and source links together. Give it a revision, such as “brief 3.” Ask the assistant to name that revision and the next step.
  2. Assign one owner and get acknowledgment. Add one task ID to the existing register. Name its owner, allowed work, expected artifact and limit. The receiver accepts that exact task before the sender transfers ownership.
  3. Do the authorized work. Give the worker only the context and access it needs. For the first test, allow only the named internal channel for the handoff and result. Keep the output private and allow no external messages, publishing or spending.
  4. Save the result and its evidence. Record the artifact, the check performed, any open issue and the next action. Keep observations separate from accepted decisions.
  5. Verify the handoff. The next assistant reads the saved revision, returns the requested result and records what it used. The coordinator checks that result and updates the current brief and task row.

Start with one assistant if that is what you have. Use a fresh session for the recovery test. A fresh session checks continuity. Use a different model or a qualified human when the task requires independent review.

The success check: the new session finds the right revision, accepts the task, creates the expected artifact and leaves evidence you can open. A cheerful summary alone does not pass.

Keep three records without creating another brain

These are three jobs for your records, not three new apps. They can be sections in one existing tool or linked files in your current system.

Record Keep here Who updates it
Current brief The goal, accepted decisions, constraints, source links and current revision. One coordinator reconciles accepted updates. Other workers propose changes.
Task register A stable task ID, one owner, status, next action, checkpoint and completion evidence. The existing task owner and coordinator, with a check against the revision they read.
Update history Separate identified findings, corrections, decisions and receipts, each with a source and time. Each worker adds its own record. Preserve earlier evidence when correcting it.

Link raw evidence where needed. Do not load every transcript and old chat into every session. A finding records what the worker observed. A proposal asks for a change. An accepted decision records who chose it and why. A task status records progress. None can substitute for the others.

In our setup, we use the existing team repository and private Drive board. Repository jobs stay in their existing job rows, and cross-chat handoffs stay on their existing approved board. If you are starting, one existing document or board can hold the brief, task and result. You do not need both GitHub and Drive. When using several tools, each task names one authoritative row, and other views link to it. Keep the same task ID across those views.

GitHub and Drive do not synchronize because both contain a file with the same name. A copied brief or context pack must name its source revision and last successful refresh. If the views disagree, the coordinator records the conflict and checks the designated source before changing the current state. Do not create a replacement board to get around a missing write capability.

Let one coordinator merge accepted updates into the current brief. Where the tool supports it, use revision-checked writes that reject an old version. Separate update records reduce the risk of two workers overwriting the same history. A written claim is a coordination convention until a tested control actually rejects competing writes.

Give the chief of staff one replaceable role

The chief of staff owns priorities, task ownership, handoffs and the final result. That role can move between capable agents. Keep one current coordinator and use an accepted handoff when changing it.

Role Responsibility Boundary
Chief of staff Reconcile current state, assign bounded work, check receipts and surface decisions or real blockers. Organizing work grants no extra permission or access.
Reasoning and QA Resolve a hard question or review a specific artifact against its sources and acceptance test. A worker does not supply independent approval for its own output.
Workers Complete small drafting, extraction, lookup or checking tasks at the least expensive capable tier. One output, scoped sources, a time or cost limit, and a stop condition.

Current role choice: Muse/Happy fills the daily coordinator role. dot supplies bounded deep reasoning and QA. Existing execution desks keep their accepted tasks. These are role assignments, not proof that every product shares context or that an unattended coordination loop has passed.

Give each worker a small brief. Escalate a hard question with evidence. Set a review limit and resolve remaining disagreement with the accountable owner. Do not keep agents debating until they all agree.

The user states the goal and makes decisions reserved for them. Agents pass context and results through available authorized tools. If the receiver or connector is unavailable, record the exact blocked step and keep a named owner. Do not turn the user into the courier between chats.

Check whether the handoff was received and applied

A saved file can preserve context. It does not wake another agent, prove that the agent read it or change that agent’s saved instructions.

State Evidence needed
Saved The exact record exists at its approved destination with a revision or hash.
Submitted The authorized transport returned a message or request reference. Record the exact state the tool reports.
Received The intended receiver or destination confirms the exact task and revision. A submission reference alone does not establish this state.
Read and accepted The identified receiver names the task ID and revision, accepts its scope, and returns the requested acknowledgment.
Saved instruction A changed instruction is read back from its owning store at the expected revision. Merely reading a message proves no persistent change.
Applied A fresh task shows the receiver using that instruction or decision in the required way.
Outcome verified The owner opens the actual artifact or destination, checks the promised behavior and records the result.

For example, a receiver may accurately summarize a new instruction and leave its saved instructions unchanged. That establishes a read. Check the saved instruction and then test its use in a fresh session before claiming adoption.

When a request times out, label its outcome unknown. Check for a result using the same task and attempt identifiers before retrying. A retry must not become a second email, purchase or publication.

Observed versus proposed: the documented setup has shared records, filtered context packs and separate source-read checks. Those establish particular files and reads, not universal adoption. The loop in this guide is the working standard to test. A receiving runtime remains unverified until its correlated handoff, result and fresh-session checks pass. A pilot result is evidence for that pilot only.

Pass a small brief and return a checked result

Use the same task ID and source revision on the brief, acknowledgment, artifact and result. Keep private evidence on its approved surface. This illustrative packet can fit in a task comment or a short file.

TASK: article-draft-01
BRIEF: revision 3, with its source location
OUTCOME: a private 500-word draft from the approved source
OWNER: named receiver, after acceptance
SCOPE: read the source and write the draft only
LIMIT: one pass, within the agreed time or cost budget
CHECK: claims match the source; artifact opens
RETURN: artifact link, evidence, open issues, next action
TRANSPORT: the named approved internal channel for the request and result only
PERMISSION: no external messages, publishing or spending
ACK: task ID + brief revision + accepted scope
RESULT: same task ID + artifact revision + checked outcome

The receiver returns its result through the existing approved channel. The coordinator confirms receipt and use of that same result, closes or blocks the task row, and merges accepted facts or decisions into the current brief. If no permitted return path exists, the task stays blocked at that step.

Save a checkpoint before a long chat loses detail

Before a likely context limit or handoff, save the objective, source revision, verified facts, accepted decisions, exact changes, open issues and next action. Context compaction can summarize older messages. The checkpoint gives the next session an inspectable starting point.

TASK / OWNER / BRIEF REVISION
FACTS: observation + source + observation time
DECISIONS: accepted choice + authority + reason
CHANGES: exact artifacts and their revisions
STATE: in progress, blocked, outcome unknown, or verified complete
OPEN: unanswered question or failed check
NEXT: one action and its owner
EVIDENCE: destination readback and result

Run these small tests before relying on the setup

Use a harmless private draft and existing access. Save the test ID, source revision, receiver, artifact and observed result. A failure identifies the next repair. It does not justify broader credentials or a new platform.

  1. Fresh-session recovery. Start a new authorized session with the source location and task ID. It must read the current revision, name the next action, accept the bounded task, create the artifact and record evidence. Fail if it invents missing context.
  2. Handoff and acknowledgment. Send that task through the existing authorized tool. The receiver must name the exact ID and revision and return a real result. The sender must confirm receipt and use of the same result. A submission receipt without receiver acceptance stays pending.
  3. Instruction adoption. Make one harmless approved instruction change. Read it back from its owning store, then start a fresh session and test the requested behavior. A correct summary with no saved change fails the persistence check.
  4. Duplicate delivery. Repeat the same test request ID. The receiver must return the existing result or reject the duplicate. Confirm that it creates no second artifact or external action. If deduplication is unavailable, hold consequential retries until the prior outcome is reconciled.
  5. Blocked context or receiver. Use an outdated brief in a private test, or a receiver with no permitted write path. The agent must report the mismatch or missing capability, preserve the current state and block the affected action.
  6. Concurrent update. Have two test workers propose different updates against the same brief revision. Preserve both updates. The coordinator reconciles them, or a version check rejects the stale write. Two blind overwrites fail.
  7. Visibility and outcome. Check that each receiver gets only its approved material, then open the final artifact in its actual destination. Verify source, installed copy and fresh-session use separately when distributing a method.

Measure the outcome that matters: less repeated explanation and fewer dropped tasks. A growing note count or a successful process exit does not prove either result.

Where this task fits in the Content Factory

This task supports work across the Content Factory (our four-stage process for using real content). Its inputs and next handoff determine which stage uses it.

1. ProduceCapture real work
2. ProcessTurn sources into useful assets
3. PostPublish and connect approved assets
4. PromoteShare proven work and measure results
Follow the numbered stages from Produce to Promote. Each stage links to its part of the Content Factory guide.

Start, finish, and next step

Start when
More than one authorized agent needs to share durable context and resume the same work.
Have ready
  • Existing approved notes or files
  • Current brief and existing task register
  • Relevant evidence and authorized source access
  • One owner, a bounded task and a result check
Follow the steps
  1. Read the current brief and its source revision
  2. Accept one task and its allowed write targets
  3. Work and verify in the source system
  4. Checkpoint before handoff
  5. Record the checked result and reconcile accepted changes

Use the detailed instructions in this article for each step.

Finish with
A shared-memory system from which a fresh agent can recover the task and verify what has happened.
Measure the result
  • A new agent identifies the correct source for each record type
  • One owner accepts the task before writing
  • A handoff resumes from evidence
  • Credential values do not appear in ordinary notes or packs
  • Saved context, receiver acceptance and actual use have separate checks
Hand off next
The next agent resumes from the checkpoint; reviewed reusable lessons update the canonical skill.

Reference material for the inputs

Open this article’s tasks in the Task Library (our directory of tasks and recipes; see current Task Library). The library connects the current recipe, its smaller tasks, and the records of work performed.

Close the learning loop. Write a meta article: the record of this execution with the starting state, recipe version, result, checks, failures, and next owner. Link it back to this recipe and register the run under the same Task Library task. Reuse one execution ID for revisions and retries. A partial or failed run stays labeled that way. Public release follows the recorded publication authority; writing the run record is part of doing the task. Writing and revising that record belong to the original execution; they do not start another meta-article task. Use the findings to propose and verify a recipe improvement. See how recipes and execution records work together.

Keep private records separate from public lessons

Choose an audience for each record: personal private, team private or public. Credential values belong in an approved secret store. A private note can still be copied, indexed or loaded into model context, so “private” alone does not decide where it may go.

Three audiences, one secret store, one work loop

Obsidian is a useful view of Markdown. GitHub is a useful versioned record. Neither replaces access rules or a secret manager.

Safe · secret valuesPasswords, application passwords, API tokens, private keys, recovery codes.Keychain / secret manager
Room 1 · personal privatePersonal context, preferences, working notes, private handoffs, and sensitive facts that are not credentials.Owner’s private files
Room 2 · team privateWho is doing what, client status, job prompts, decisions, evidence links, and internal receipts.Team Operations Ledger
Room 3 · publicApproved reusable methods, Definitive Articles, skill files, task definitions, and selected Meta Articles.Public GitHub + websites
What happens during one task
RetrieveOnly the relevant records and skill
ClaimTask ID, accepted owner, revision
Context windowThe finite working desk; older turns may be compacted
Write backCheckpoint, result, evidence, next action, learning PR
Provider memory may help recall preferences, but it is a convenience cache around the loop, not the authority for required team facts.
The durable system is outside the context window. Agents retrieve a small task packet, work, then save the result before details disappear through task closure or compaction.
Dennis Yu and team discussing AI agent workflows at a workshop
Dennis Yu and team mapping agent workflows. The human coordination problem is the same as the model coordination problem: ownership, access, current state, and a receipt.

Give each worker the smallest approved slice needed for its task. Keep personal records personal, client records within their approved audience, and public lessons free of private account, client and security details. A public guide explains the method. It cannot replace the private current state.

Keep credential values out of notes, repositories, context packs and prompts. Name the approved store and required scope when needed. Use the existing scoped credential only at execution time. A role assignment or shared prompt grants no access.

Name the authority for each kind of record

One organization can use several tools without several competing truths. Write down which record owns each fact, how a copy is refreshed and which person or role resolves a conflict.

Record Owning source How another view refers to it
Credential values Approved secret manager or operating-system credential store. Store and scope reference only.
Personal context The owner’s approved private records. A reviewed audience-specific excerpt when needed.
Accepted team rules and reusable methods The existing canonical repository and maintained skill. Source revision plus an installed-copy check.
Task ownership and progress The task’s designated row in the existing register. Stable task ID, authoritative row link and last reconciliation.
Client or business facts The authorized source system for that fact. Evidence link and observation time.
Execution evidence The individual run record and actual result destination. Task, attempt and artifact references.
Public method One maintained article at a stable URL. Supporting articles link to the canonical parent.

Reuse the Team Operations Ledger and the existing board

agent-runtime is the internal repository name for the private Team Operations Ledger. It holds team instructions, repository job rows, scheduled-job prompts, evidence pointers and internal receipts. It is a repository, not a model or a memory product.

Its existing status/JOBS.md and status/NOW.md track unowned and claimed repository work. The existing private Drive board supports cross-chat coordination. Keep their scopes explicit. A board row points to the current checkpoint and evidence, while the repository preserves the versioned method and run record.

Choose the owning row before changing a task. A projection names the source it reflects. A missing in-place write capability stays an exact limitation. Creating a second file with the same name would split the record.

Versioned changes help a reviewer see what changed. They do not make every runtime read that change. Confirm the source revision, the target copy and actual use separately.

Distinguish saved records from the working context

Shared files give assistants a common source to retrieve. They do not merge Claude, ChatGPT, Grok or other products’ built-in memories. Each runtime must be able to read the approved source and leave a checked result.

Optional reference: memory, context and compaction
Layer What it is What it is good for Why it cannot be the company record
Model The underlying trained system. General reasoning and knowledge. Your task does not rewrite its training weights.
Provider memory Saved recall associated with one product, account, or workspace. Convenient preferences and recurring background. It may be separate by vendor, account, surface, or user; it is not the only place for required instructions.
Context window The messages, files, instructions, and tool results available to the model during this task. Doing the work now. It is finite. Large files crowd out other details.
Compaction A summary of older task context used so a long task can continue. Keeping the task moving when the window fills. A summary can omit exact evidence, decisions, or edge cases unless they were saved.
Instructions and skills AGENTS.md, SKILL.md, and task prompts loaded before work. Rules, methods, and definitions of done. They describe how to work; they are not the history of what happened.
Durable records Versioned Markdown, source systems, evidence, and receipts outside the chat. Cross-session and cross-model continuity. They still require retrieval, ownership, access controls, and maintenance.

Keep task context small and retrieve relevant evidence as needed. Anthropic’s context engineering guidance for agents describes focused context, compaction and structured notes. The memory limit worked example shows why durable checkpoints matter.

Choose a useful view of the records

Obsidian can help you browse and edit Markdown. Graphify or another graph view can help you explore relationships. Notion, Drive or a plain editor may suit a different team. None is a required stack. Reuse the approved tool that lets the receiver find the current record and return evidence.

The interface does not settle ownership, access, conflicts or publication authority. Keep those decisions in the record contract. If you use Obsidian Sync, distinguish remote encryption from the local files: Obsidian’s Sync security and privacy documentation says the local vault is not encrypted by Obsidian.

For our existing Markdown workflow, the Obsidian shared memory guide explains its narrower role as a reading interface.

Separate memory from delivery, access and controls

Saving context solves one part of coordination. An operational handoff also needs a permitted route, a receiver that can run, and a checked return path.

Function Question to answer
Memory Where is the current brief, task row and evidence?
Transport Which authorized tool carries the request and result?
Trigger What actually starts or resumes the receiving runtime?
Identity Which agent role, runtime, session and account performed this action?
Access Can that receiver read and write the exact permitted targets?
Control What enforces scope, approval, budgets and duplicate handling?

A prompt cannot grant an account permission or wake a runtime by itself. A message channel carries a request. It becomes durable history when the result lands in the owning record. A schedule proves configuration until an actual run produces a checked outcome.

Optional technical checks for implementers

Startup instructions. Record the version actually loaded and test its use. Claude’s project memory and instruction documentation treats instruction files as context, not guaranteed enforcement. Its hook behavior and blocking guidance shows that startup hooks can add context while some failures still allow execution. Consequential actions need tested enforced checks where the runtime supports them.

Versioned writes. Reject a write based on an outdated revision where supported. GitHub’s repository contents API documentation requires the current file SHA when updating existing content. That is a tool-specific mechanism, not an automatic lock on every Markdown file or Drive view.

Agent protocols. The A2A operation semantics specification allows message sends to be idempotent, meaning a repeated request can have the same effect, but does not make every send exactly once. Use receiver deduplication and destination verification. The MCP Tasks extension specification supports optional task state, polling and deferred results. Its availability depends on the client and server. Neither protocol alone creates shared memory or a complete reliable delivery loop across apps.

Paperclip. Our Paperclip work remains a bounded pilot. A controller-mediated test result does not prove an autonomous production fleet. The Paperclip project source and documentation describe the project’s capabilities. Keep pilot evidence separate from deployed scope, and keep current production ownership in the existing system.

Use bounded workers and the access you already have

Choose the least expensive capable worker for drafting, extraction and routine checks. Reserve deeper reasoning for a specific question or review. Set a task limit, check the result and stop or escalate when the limit is reached.

A subscription, connector or installed agent does not supply the whole coordination system. Check actual source access, privacy controls and the intended execution route. Keep personal account credentials personal and use approved scoped access.

The AI usage and billing guide covers plan choices. The local Qwen routing guide covers an existing local drafting option. This setup guide creates no new schedule, credential grant or harness deployment.

Follow the narrower guides when you need them

This page owns shared-memory architecture and the handoff contract. The related guides below own their narrower methods and examples.

Answer the common questions

Do shared files synchronize the products’ built-in memories?

No. They provide common records that each authorized runtime must retrieve. Confirm the source revision and test that the next session can use it.

Do we need Obsidian, Graphify or Notion?

No. Use an existing approved tool. A useful interface still needs explicit ownership, access, current revisions and checked write-back.

Who owns a task during a handoff?

The current owner keeps responsibility until the named receiver accepts the exact task and revision. The coordinator tracks the handoff and verifies its result.

Does receiving an instruction mean it was saved?

No. A transport receipt establishes only the state that the particular tool reports. Require receiver evidence for receipt, reading or acceptance. Read back a saved change from its owning store, then test the instruction in a fresh session to establish adoption.

Can GitHub and Drive both be used?

Yes. Give each task one authoritative row, link other views to it and record source revisions. Do not imply automatic synchronization or create duplicate boards.

What happens when an agent cannot read or return a result?

Record the blocked step, missing capability and next owner. Hold the affected action and continue independent authorized work. The user does not become the manual relay.

Does each run need a public article?

Keep the required execution record and internal evidence. Publish a public lesson only under the existing authority and privacy boundary. Never put private client, account or security details in public copy.

Run one harmless handoff in your existing system. Save what the receiver read, what it accepted and what result you checked. Repair the first failed step before expanding the setup.

Definitive Article · Shared-memory architecture and handoff contract. Canonical URL: cross-agent shared memory guide. Supporting articles link here and identify their narrower role.

To connect your shared memory to a personal vision, an authority map and a 90-day plan, use the Second Wave starter guide. It includes real PDF excerpts, editable planning files and setup steps for Claude and ChatGPT.