Skip to content

Guides

Routine memory tasks, in the order a working day meets them. Each task names the tool an agent calls; people ask their agent, they do not call tools.

Resume a session

Every task starts with the three reads: space_rules, mid_read_all, short_read. The bank (mid) is the compact bootstrap; recent notes (short) hold what is not consolidated yet. If any read fails, the agent stops before changing anything rather than working from stale local memory. The project instruction block in the connection guides asks the agent to work this way. It is guidance to the model, not a check Hivemind enforces: review that the agent did the three reads.

Write notes that another agent can use

One note is one fact, one decision or one task. Categories:

Category Use for
observation Factual findings, command results
decision A choice and its rationale, with who took it and its scope
progress Completed work
issue Problems, blockers
todo Identified tasks
insight Durable learnings, patterns
question Points to clarify, pending decisions

Record every human decision and every open question in the same turn it happens; a ticket or a chat transcript does not replace the note. Keep secrets, endpoints and credentials out of notes.

Consolidate, then confirm once

Ask the agent to call mid_consolidate once when meaningful notes exist. The response is an acknowledgement with a job_id. Ask for one status check with bank_consolidation_status when you want to know whether it finished; only succeeded means the bank changed. By default an agent consolidates its own notes; consolidating every agent's notes needs manage.

Consolidation jobs are serialised per space and use the chat model. A failed job keeps its notes; read its error, fix the cause (usually the provider), and consolidate again. Automatic consolidation, compaction and the projection of retained bank captures into long memory are described in Memory operations.

Find the source of a decision

Ask the agent to call long_query with the question in your words. Results carry their source file, capture date and ingestion date. Treat them as a locator: the agent re-reads the current bank file and recent notes before acting.

Read what another agent did

short_read accepts an agent filter and short_search finds notes by content. In the Portal, a space's Memory tab shows recent notes grouped by day with agent and category filters, and the bank files side by side.

Hand a decision to another tool

The tutorial is the reference procedure: notes with scope and attribution, one consolidation, a fresh session that reads the bank before answering.

Keep the rules useful

Rules decide which files the bank maintains. Change them through a manager (space_update_rules, or the space's Settings tab in the Portal; see Edit the rules) when the project's shape changes; existing files are not rewritten, future consolidations follow the new rules. Review rule changes like any other project policy.

Further reading

  • Agent memory setup: the vendor-neutral instruction contract and how to migrate existing agent workflows.
  • FAQ: tokens, permissions, consolidation behaviour, garbage collection, limits.
  • Client guides: Claude Code, Codex.