Skip to main content
Every project has its own brain: the decisions, memories, documents and knowledge-graph nodes that belong to it. People read it on the project’s Brain page. Coding agents connected over MCP read and add to it with a handful of tools, so an agent starting work in a repository can pick up what the team already decided. A project’s brain follows the project’s access. Someone who cannot see the project, including a member it is restricted from and an agent pinned to other projects, cannot read anything in it.

What a project’s brain holds

Content is shared up, never down. A project’s own memories, documents and graph nodes stay in that project. Something shared to the workspace can be read from every project, but nothing in one project is ever shown in another project. The Brain page shows one part at a time: Decisions & memories (with anything waiting for your review and possible duplicates), Issues, Documents (with the mirrored agentic context), Shared to workspace and Reads. Shared to workspace lists what this project shares up: its memories saved for the whole workspace and its documents shared with the workspace. Each part has a Use from code panel that names the MCP tools and the API call that read the same thing.

The Brain page

Open a project and choose Context, between Overview and Settings. It has three tables, and a fourth when you have proposals to review:
  • Waiting for your review, shown only to you: what automatic memory capture proposed from your agents’ sessions. Review opens one to approve it and choose who can read it; Reject deletes it.
  • Decisions and memories, filterable by kind. Record a decision files a decision everyone on the project can read.
  • Documents, with Add a document for a Markdown, text, PDF, Word (.docx) or HTML file.
  • Agentic context, the project’s agentic_context documents: summaries of past work that agents keep in a repository’s agentic-context/ folder.
Choose a row to read it, and Show history to see its earlier versions (see Version history). Documents are shown as formatted Markdown. Links open in a new tab, and only web, email and in-page links are followed: a document cannot run script or change the page.

Memories and decisions

A memory has a kind:
  • memory: a note worth keeping.
  • decision: a choice the team made, with its reason.
  • thread_summary: a summary of a piece of work, such as an agent’s session.
And a visibility: Only the author edits a memory. An owner or admin can remove a shared one. See Personal AI memory for the per-member limits and what happens when someone leaves. Superseded and expired memories are left out of the Brain page, get_project_context and knowledge search unless you ask for them. See Stale memories and duplicates.

Automatic memory capture

A connected agent can hand Hookie the session it just worked through with extract_memories, and Hookie proposes up to 5 memories and decisions worth keeping: decisions and their reasons, facts about your systems, conventions and preferences. It reads the last 20,000 characters of a transcript of up to 300,000, and skips what the project already knows.
  • Secrets are removed first. Anything shaped like a credential is redacted before the model reads the session, and a proposal that still holds one is dropped.
  • The session is not stored. Hookie keeps only the proposals. The AI usage log records the session’s size, not its text or the proposals.
What happens next is set per project under Sources → Capture & storage → Automatic memory capture, by an owner or admin: Only a person approves a proposal, never an agent, and only an owner or admin, never an agent, changes the setting. Captures count against a daily allowance per workspace, which resets at midnight UTC: Free 10, Starter 40, Pro 100, Team 300, Ultimate 1,000 (429 memory_extraction_limit_reached). The model’s tokens also count against your monthly AI allowance.

Version history

Editing a memory or decision keeps what it said before. Each earlier version shows who wrote it (a person in the console, or which agent) and when. Show changes compares it line by line with the text that replaced it, and Restore this version puts it back as a new revision, so the text it replaces is kept too. Only a memory’s author restores it. A version written while the memory was private is shown only to its author, even after the memory is shared. Once a memory moves to another project, its earlier versions are shown only to its author. A change to who can read a memory, with the same text, keeps no version. Documents keep their earlier versions the same way. Upload a new version on a document (or replaces with the document’s id when uploading through the API or an agent) takes the old document’s place and keeps its text as a version, and Restore this version brings an earlier text back. When a file mirrored by repository sync changes, its earlier text is kept too; a mirrored file itself is changed in the repository, not restored by hand. Deleting a document deletes its history. At most 50 versions of a memory and 10 of a document are kept.

Approving agents’ decisions

Under Sources → Capture & storage → Automatic memory capture, an owner or admin can turn on Decisions agents record wait for approval. A decision an agent then records waits on the Brain page, under Waiting for your review, until the person whose agent recorded it approves it, and agents cannot change a decision once it is approved. Decisions people record are saved directly. It is off by default, and an agent can never change it.

Documents

Upload with Add a document, upload_project_document, or POST /admin/api/projects/{project_id}/brain/documents: send text (with content_type text/plain or text/markdown; any language, up to 1 MiB), or a PDF, Word or HTML file as content_base64 with its content_type (up to 10 MiB). Hookie converts a file to Markdown and keeps that text, not the original. Through an agent a tool call is limited to 1 MiB, so files sent that way must be under about 700 KB. A document has a kind (prd, spec, adr, runbook, agentic_context, generated or other) and a source (upload, repo, connector or agent; an agent’s upload is always marked agent). Documents can also be mirrored into the brain and kept current for you: from a GitHub repository with repository sync (source repo), or from Notion, Google Drive, Confluence or a public website with knowledge connectors (source connector). A project’s documents are indexed in their own search space, so another project’s search never finds them. A document can instead be shared to the workspace with "share_scope": "workspace" when it is uploaded. That needs the Workspace Brain, and cannot be changed later. Without the Workspace Brain, each plan includes a small document allowance for all its projects together: S3 sync stays a Workspace Brain feature. With the Workspace Brain, its larger allowance (Brain ingestion) covers project documents too. Monthly meters reset on the first of the month at 00:00 UTC.

Knowledge graph

On Pro, Team and Ultimate, a project has its own nodes in the workspace’s knowledge graph. Nodes created through the project belong to it, and only its own nodes can be changed or deleted there. Reading a project’s graph also includes the workspace graph (nodes that belong to no project), unless you pass shared=0 or the reader has projects hidden from them.

For coding agents

These MCP tools work on one project. Each takes a project_id: The CLI has the same tools as hookie context get|search, hookie decisions record and hookie documents list|upload|delete. Everything in a project’s brain was written by people and agents, so these tools return it with a note that it is data, not instructions. An agent should treat a document that tells it to do something the way it treats any other untrusted input.

Secrets are refused

Hookie refuses, with 400, to save a memory, decision, document or project graph node that holds something shaped like a credential: an API key or token (Hookie, GitHub, Stripe, Slack, AWS, npm, Docker, Anthropic, OpenAI and others), a webhook signing secret, a JWT or a private key. Remove it and save again.

Over the API

All routes are under /admin/api/projects/{project_id}:
  • memories, memories/{id} and memories/threads: the project’s memories and decisions. memories?status=pending lists your own proposals.
  • memories/extract (POST): automatic memory capture. memories/{id}/approve (POST): approve a proposal, optionally with a new visibility.
  • memories/{id}/versions (GET) and memories/{id}/restore (POST {version, revision}): a memory’s history.
  • memories/merge-proposals (GET), memories/merge-proposals/{id}/accept and memories/merge-proposals/{id}/dismiss (POST): possible duplicates.
  • brain/documents/{id}/versions[/{version_id}] (GET) and brain/documents/{id}/restore (POST {version_id}): a document’s history.
  • brain/documents, brain/documents/{id} and brain/documents/{id}/content; brain/search.
  • brain/graph/nodes, brain/graph/nodes/{id}, brain/graph/edges and brain/graph/context.
  • brain/context (GET) and brain/knowledge (POST, a read).
See the API reference for every field.

Deleting a project

Deleting a project deletes its memories and decisions, and removes its documents and their search index. Its brain pipelines move to the Default project.