A team that wants one shared memory often starts with the simplest version: a
GitHub repository of Markdown notes, with everyone's Claude told to read it and
write to it every day. That works, and it's a fair question whether a team
needs anything more. This page walks through that setup and lists each part a
team ends up building as the repository grows, next to what GBrain does for
the same part.

## A shared repository works on the first day

The setup is short. Make a private repository, give each person access, and add
a line to each person's Claude Code or Codex instructions: pull the repository
before answering, write what you learn to a note, commit and push.

It gets a lot right. The notes are plain files the team can open. Git keeps the
history of every change and who made it. It costs nothing beyond the AI plans
the team already pays for. A GBrain memory is plain files too, so a team that
starts this way can [bring the notes in later](#start-from-the-repository-the-team-already-has).

The parts below are what a team adds once the repository holds a few thousand
notes, a dozen people write to it, and more than one kind of AI wants it.

## Thousands of notes bring duplicates and contradictions

Two people's AIs meet the same company on the same day and write two notes
about it, one called `acme.md` and one called `acme-inc.md`. A price changes in
March, and the note from January still says the old one. Nothing in a
repository notices either. Git sees two files, or one file edited twice, and
when two AIs edit the same note at the same moment it stops at a merge conflict
for someone to resolve.

To match GBrain here, a team writes a job that reads every new note, finds the
ones that are the same thing, finds facts that disagree, and asks a person
which one stands.

GBrain does this as part of the workspace. The Memory page counts what is
waiting to be settled and links to **To settle**, which shows two facts or two
notes side by side with **Keep new**, **Keep old** or **Both**, and **Merge** or
**Keep both**. On Team, the workspace's own AI reads each day's new notes
overnight, pulls the facts out of them, skips a fact it already has, and
retires a fact when a newer one contradicts it. Each skill GBrain ships adds to
a shared note and never writes the whole note over another's part
([When two skills want the same pages](/docs/skills/when-two-skills-want-the-same-pages)).
[Memory](/docs/workspace/memory) has the details.

## Search matches meaning as well as words

In a repository, an AI finds a note by searching its words, and it searches the
copy on that person's computer, as of the last pull. At a few hundred notes
that is fine. At a few thousand, the note that answers the question often uses
different words from the question, and a laptop that skipped a pull answers
from yesterday.

To match GBrain here, a team runs a search index: something that reads every
note as it is pushed, stores it for search by meaning, and answers each AI's
query from one place.

GBrain indexes every note within minutes of it being saved, on every plan, on
the workspace's server. Every AI searches that one copy, by meaning as well as
by words, and every answer cites the note it came from.
[Which AI does what](/docs/workspace/what-runs-where) explains the indexing and
the overnight upkeep.

## Claude, ChatGPT and Cursor share one memory

Claude Code and Codex run git, so they can pull and push. Claude and ChatGPT in
a browser, Cursor, Slack and a phone don't run git, so each one needs its own
way into the repository, set up by each person, before it can save there.

To match GBrain here, a team builds and hosts a server those AIs can connect
to, with a sign-in for each person, that turns searching and saving into reads
and commits.

GBrain is that server. Claude, ChatGPT, Claude Code, Codex, Cursor and OpenClaw
connect to one address, each person approves the connection in a browser, and
each AI reads and saves to the same memory. On Team, the workspace's own AI
also answers in Slack, Telegram and iMessage.
The steps for each AI are on [its own page](/docs/workspace/memory-anywhere).

## Each person decides who else uses their email

Besides the memory, a team shares accounts: one
person's inbox, calendar or CRM that a teammate's AI needs for a job. In the
repository setup each person's Claude reaches only that person's own accounts,
and a teammate's AI reaches none of them.

GitHub access works per repository: whoever can push can change or delete any
note. Neither setup has permissions for one folder or one note, so in GBrain
the wall is a whole workspace, and a team with a smaller audience, such as HR,
gets a workspace of its own
([A workspace for a sensitive team](/docs/workspace/sensitive-teams)).

To match GBrain here, a team builds a way to lend an account to a teammate's
AI: who may use it, whether its owner approves each request, and how long a
yes lasts.

In GBrain, the person who connected an account picks who else may use it: only
their own AIs, everyone with their approval for each request, or everyone
without asking. An approval is for once or for 90 days, and sending or deleting
needs its own approval. Each AI also gets a level for the memory (Off, Read, or
Read & Write) and for each account.
[Who may use an account in a team workspace](/docs/workspace/who-may-use-an-account)
has every choice.

## Scheduled work needs a computer that stays on

"Every day" in the repository setup means somebody's Claude, run while
somebody is at their computer. A job that should run at 6am with every laptop
closed needs a computer that stays on, or a GitHub Action holding a model key,
and someone who pays for it and checks whether it ran.

To match GBrain here, a team runs a scheduler with its own model key, a place
to see each run, and an alert when one fails.

On Team, the workspace has its own AI on its own server in the cloud. It runs
the skills on the **Schedule** page at their times, and the page shows when
each job last ran, what it cost, and why a run didn't finish.
[Find out why a scheduled job went wrong](/docs/workspace/debug-a-job) shows
that page.

## The team sees every read and refusal

Git records every change and who pushed it. It records nothing about reads: a
search, a note opened, an email an AI read on someone's behalf.

To match GBrain here, a team adds a log of every read, write and refusal, kept
where no AI can edit it.

GBrain writes down every action an AI takes as it happens, reads and refusals
included, and nobody can edit that record. It keeps the names of what was
done, never the contents. [Activity](/docs/tools/activity) explains every row.

## A repository and GBrain, side by side

| Part | A shared repository | GBrain |
| --- | --- | --- |
| Notes as plain files, with history | Git | Built in |
| The same note written twice, or two facts that disagree | A job the team writes | **To settle**, and overnight upkeep on Team |
| Search by meaning across every note | An index the team hosts | Built in, within minutes |
| Claude and ChatGPT in a browser, Slack, a phone | A server the team builds | One address for every AI |
| A teammate's AI using someone's account | Something the team builds | The owner picks, per workspace |
| Jobs that run with every laptop closed | A computer or Action the team runs | The **Schedule** page, on Team |
| A record of every read and refusal | A log the team keeps | Built in |
| Upgrades, backups and someone who fixes it | The team | GBrain |

## When building it makes sense

A small team of engineers who all use Claude Code or Codex, with a few hundred
notes and no shared accounts, may never need the rest of the list. A
repository suits them.

A team that wants the whole list on its own servers can run
[the open source GBrain](https://github.com/garrytan/gbrain#install), which is
the same memory GBrain hosts. That team installs, upgrades and secures it
itself, and the hosted parts (chats, Slack and Telegram, the Schedule page,
connected accounts, members and Data protection) don't come with it.
[Run GBrain with your own cloud](/docs/workspace/own-cloud) says which part is
which.

## Start from the repository the team already has

A team that already keeps notes in a repository doesn't start over. Clone it,
connect Claude Code or Codex to a workspace, and have it read the folder in:
[Bring a folder of documents into memory](/docs/workspace/bring-in-a-folder)
has the steps, and it picks up where an interruption left off. A team can also
take everything back out at any time ([Move your GBrain out of a
workspace](/docs/workspace/export)).

[Set up a workspace](/docs/workspace/setup), bring in the repository, and ask
it something only the notes can answer.