Using zerohead
Company memory
Markdown pages in a git repository that agents read and write, where every change is a commit you can undo.
Company memory is a set of Markdown pages in a git repository, one for each company. Agents read it before each run and add to it as they work. You can read, edit and undo anything in it.
Where pages live
Pages sit in four folders:
| Folder | Holds |
|---|---|
decisions/ | Decisions, including a page for every approval you decide |
skills/ | How to do things |
knowledge/ | What agents learned about the work |
handoffs/ | A page for each finished task, written by zerohead |
The repository is in the company's folder inside your data folder. It needs git on your computer. If git is missing, memory tells you it is required.
Read and edit
Open Memory. It has four tabs: Pages, Search, Changes and Proposals.
- In Pages, select a page to read it.
- Select Edit, change the Markdown content, add a Change note (optional) and select Save page.
- To add a page, choose a Folder and a File name. The file name ends in
.md. You cannot create pages underhandoffs/.
If a page changed while you were editing, the app says so and offers to load the new version. It never overwrites a newer version silently.
Search is full-text search over every page.
Every change is a commit
Changes lists every commit, newest first, whoever made it. Select View diff to see one. Select Undo change to revert it. If later changes conflict, the undo is refused and nothing changes.
Trust
Each agent has a Memory trust setting.
- Trusted agents write directly. Their changes are commits.
- Low agents write proposals. A proposal waits in Proposals until you approve or reject it. If the page changed after the proposal was made, approving it is refused. Reject it, and the agent can propose again.
Agents cannot delete pages or undo changes. They cannot write under handoffs/, and they cannot write the approval pages the server keeps under decisions/.
Handoffs
When a trusted agent finishes a task run with a result, zerohead writes handoffs/task-<number>.md with the outcome and result. A low-trust agent's result stays on its run record and writes no page, so its output cannot reach another agent's prompt without your approval.
How agents use memory
Agents search, list, read and write pages through tools. Memory goes into each run's prompt last, quoted and labelled as information, not instructions. A page written by one agent cannot pose as zerohead's own instructions to the next.
Writing to memory never wakes an agent.