> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hookie.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Personal AI memory

> Save reusable context from connected agents, keep it private or share selected memories with your team.

**Workspace Brain → AI Memory** keeps reusable notes from your agent conversations
in Hookie. Every memory belongs to a project (the Default project when none is
named), and memories are included on every plan. A project's memories and
decisions also appear on its **Brain** page; see [Project context](https://docs.hookie.ai/project-context.md).

## Connect your agent

Connect Claude, Claude Code, ChatGPT, Codex or another MCP client to Hookie's
hosted MCP server at `https://app.hookie.ai/mcp`. Follow [Connected agents](https://docs.hookie.ai/connected-agents.md)
to authorize it and choose the workspace. Existing-account connections start
read-only; widen the grant to write in **Settings → Connected agents** before
asking the agent to save a memory.

Hookie cannot read the private memory stored inside another AI application's
account. Your connected agent explicitly saves the context you want to reuse,
then retrieves it through Hookie in a later conversation.

## Save and recall

Ask your agent to save a title, content and optional tags with `save_memory`.
It can include a chat thread ID, title and HTTPS link so you can trace the source.
A stable `memory_key` lets the same source app update an existing artifact instead
of creating a duplicate.

Pass `project_id` to read and write a project's memories (`/admin/api/projects/{project_id}/memories`).
Use `list_memories` or `get_memory` to recall context, `update_memory` to edit it,
and `delete_memory` to remove it. `list_memory_threads` lists the saved thread
groups. The console lets you filter by app, chat thread and search text, then open
a memory to edit it or follow its source thread.

The CLI exposes these tools as `hookie memories …`. The explicit project behavior below requires `@hookieai/cli` **0.3.1 or later**. Use `--project` explicitly when you want to link a saved memory, filter a list or change an existing link. Omitting it does not apply the Default project.

Your agent can also hand over a whole session with `extract_memories`, and Hookie
proposes what is worth keeping. By default the proposals are saved straight away
(a project can make them wait for your approval instead); see [Automatic memory capture](https://docs.hookie.ai/project-context.md#automatic-memory-capture).

Every change to a memory keeps its earlier version, which you can compare and
restore with `list_memory_versions` and `restore_memory_version`, or on the
project's Brain page; see [Version history](https://docs.hookie.ai/project-context.md#version-history).

When a memory goes out of date, mark it as replaced by a newer one or give it an
expiry date: it drops out of lists and what agents read, but is not deleted. Hookie
also proposes merging memories that say the same thing. See
[Stale memories and duplicates](https://docs.hookie.ai/stale-memories.md).

A project's owners and admins can limit what agents store in it: which kinds of
memory, how many tags, how long a title or a memory may be. See
[Storage rules](https://docs.hookie.ai/storage-rules.md).

Memories are limited to **2,000 per member**, with up to **32,768 characters** each.
The source app is attributed from the connected agent's registration where
available; console saves are labelled `console`.

## Keep private or share with your team

A memory is private to its author by default. Other members, including workspace
owners and admins, cannot read it. Private memories are omitted from workspace
exports.

To share a memory, set its visibility:

* **Project**: everyone who can see its project, and their authorized agents.
  A member a [restricted project](https://docs.hookie.ai/projects.md#restricted-projects-and-project-roles)
  is hidden from cannot read it.
* **Workspace**: every member of the workspace. Another project's reads include it
  only when the workspace has the Workspace Brain (the Brain add-on, or Ultimate).
  The older value `team` is still accepted and means **Workspace**.

A memory in a project hidden from someone is never shown to them, whatever its
visibility, unless they wrote it. Only the author can edit the memory. An owner or
admin can remove a shared memory. Shared memories are included in workspace exports.

A memory also has a **kind**: `memory`, `decision` or `thread_summary`. Agents file
decisions with `record_decision`; see [Project context](https://docs.hookie.ai/project-context.md).

Change visibility back to **Private** to stop future shared reads. This cannot
retract copies already returned to other people or agents.

## Leaving and deletion

Removing a member or leaving the workspace removes that member's private memories,
and any proposals still waiting for their review, from the workspace. Memories they shared remain available to the team. Workspace
erasure removes both private and shared memories.

Deleting a memory removes it from Hookie; it does not delete the original chat
thread or copies in an external AI application.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.