Skip to content
Memory and Dreaming
On this page

PERSONAS · MEMORY

Set up memory, files, and Dreaming

Personal Memory keeps information the persona can use later. Persistent storage keeps its working files. Dreaming gives it scheduled time to review recent work and organize what it learned.

Before you start

Open the persona’s settings. It needs a usable provider before it can carry out a request to write memory or run a Dreaming task.

A failed or expired Dreaming attempt stays ended. Read its error before changing memory or storage settings. The next eligible scheduled attempt is fresh work. It does not replay the failed attempt automatically. A failed attempt does not require Reset chat or deletion of saved memory and files.

1. Enable Personal Memory

  1. Find Personal Memory in Persona Settings.
  2. Turn it on.
  3. Choose PersonaStack Hosted or an available assigned Wiki.js target.
  4. Wait for the save confirmation and check for any availability message.

Choose a location you intend to keep using. If hosted memory is unavailable, follow the message on the page. If your selected Wiki.js connection needs attention, repair it before relying on memory writes.

2. Save something useful

Give the persona a specific fact or preference to remember. Avoid using memory as a substitute for the instructions that define its job.

If available, use memory_topics and memory_recall for personal memory. Use personastack_memory_topics and personastack_memory_recall for eligible shared stack memory. Choose the intended stack when a tool requires it. Ask which memory scope to use if it is unclear.

Save memory only within the user’s request or standing preferences. Keep credentials out of memory. Ask for permission before copying personal memory into a shared topic. Report the topic and scope where you saved the information.

A useful memory request
Remember this for our website project: the bakery is closed on Mondays, and the owner reviews all menu changes before publication. Save it in a topic for the bakery website.

Open Memory Topics near the top of Persona Settings to inspect saved topics. Choose a topic from the selector and review its contents. If the page shows no topics, ask the persona whether the write succeeded rather than assuming the chat message was stored.

Scroll through the topic to load more memories. To remove one memory, choose its Delete action. To remove a whole topic, choose Delete topic and confirm. This deletes all memories in that topic and cannot be undone. Check the refreshed topic list and contents to confirm the result. A load error does not mean the topic is empty.

When an agent uses memory_delete or personastack_memory_delete, it can remove one or more selected entries from one topic in a single call. Ask it to group IDs from the same topic. For example, a one-entry request uses {"topic":"bakery-website","memory_ids":[333],"confirm":true}; a grouped request uses {"topic":"bakery-website","memory_ids":[333,335,337],"confirm":true}. The request accepts up to 1,000 IDs. Duplicate IDs are counted once, and IDs that are already missing are harmless. The result reports deleted_ids, missing_ids, deleted_count, and remaining_count. Selected deletion cannot be undone. The Memory Topics page still offers Delete beside each entry for one-at-a-time removal.

Each persona can have up to 250 personal memory topics. Each topic can hold up to 300 memories. Adding a memory to a full topic returns an error asking the agent to clean up memories from that topic before adding more. Review the topic and remove unneeded memories until fewer than 300 remain, then try again. Existing memories are kept when a topic reaches its limit.

3. Keep working files between runs

Open Storage in Persona Settings. New PersonaStack-run personas start with Keep files between runs on for Hosted and supported Kubernetes locations. You can turn it off on either location. An existing off setting stays off when you assign a provider or edit its settings. When storage is enabled, starting a persona creates or reuses its shared working home and mounts it in the worker. Chat and background runs use the same home. RWX storage lets those runs use it from different cluster nodes.

Storage is mounted during ordinary startup. Follow Starting, the running status, or the actual startup error. You do not need a separate storage-preparation step or disk test. Read Startup deadlines for chat and background work if startup fails.

Old disk cleanup messages refer to a previous disk. Your current disk can be ready while cleanup waits for current runs to finish or retained run logs to expire. Cleanup can also wait for deletion to finish or service capacity. The Storage panel refreshes automatically while it is visible. The cleanup notice clears when cleanup finishes.

If deleting a persona reports that storage is changing, wait for the storage operation to finish and try deleting again. The persona has not been deleted. Contact support if the wait continues.

PersonaStack Hosted

PersonaStack Hosted starts with storage on. The Storage panel shows Keep files between runs and Disk size: 20GB when enabled. Hosted disk size and storage class are automatic. To change whether files are kept, change the checkbox and choose Save storage. Read the confirmation before continuing. With storage on, the worker mounts its home during startup. With storage off, the worker uses a temporary home. Its files are lost when the worker is replaced. Conversations are stored separately.

If startup fails, read the current error. A storage creation, provisioning, or mounting failure appears as a startup error. Contact PersonaStack support if the error continues. A failed start retains the persistent disk.

Storage settings save immediately and apply the next time the persona starts. Current runs keep using their existing files. Turning storage off requires confirmation and also turns off Dreaming. Read the file-loss warning below before saving.

An app-managed Mac location

If you use Run agents on this Mac in a supported macOS app version, persistent working files remain in that Mac’s app-managed virtual machine disk. They are not files in your ordinary Mac folders. The usual Keep files between runs setting still controls whether a managed persona keeps its working home. Personal Memory and conversations remain separate.

Stopping or disconnecting the local runtime retains its disk. Remove local agent files or the menu’s Remove Local Data… permanently removes local agent data after confirmation. Cloud connection removal and local file erasure report separate outcomes. A fresh blank setup does not recover removed files. The requested persona disk size is not a guaranteed per-persona quota on this local storage. Keep enough free space on the Mac.

Before manually uninstalling the Mac app, complete Remove Local Data… and wait for confirmation. This erases the managed virtual machine, agent disk, and runtime downloads. Moving the app to Trash alone does not confirm local erasure. See Remove the Mac app safely.

Dreaming still needs its listed capabilities and storage settings. The Mac must be awake, signed in to macOS, and connected when the scheduled work runs. Closing the app does not stop authorized background work.

Your Kubernetes cluster

For a supported Kubernetes location, new personas start with Keep files between runs on. Existing off settings stay off. Turn it on when you want a persona with storage off to keep working files. Choose a StorageClass and disk size, then choose Save storage. Read the confirmation before continuing. Legacy workers request RWX storage from the chosen class. Where the shared runtime is enabled, its home can use RWO or RWX. Choose Use Kubernetes default to use the cluster’s default StorageClass behavior. Your administrator needs to install cluster-agent and provide a StorageClass that supports the selected runtime. Legacy workers require RWX. PersonaStack does not need a separate native storage profile or special StorageClass annotation.

You do not need to pause the persona. The change does not turn Pause on or off. A persona you already paused stays paused.

Storage saved. confirms the saved setting. You can edit it again while the persona is running. Saving storage does not restart the persona.

The next start uses the saved settings. Read its startup error if provisioning or mounting fails.

If startup requires a Cluster Agent update, ask your cluster administrator to update the selected cluster and retry after it reconnects. You do not need a separate native-session migration for startup. For an unavailable location or another startup error, follow the stated correction. Use Get help if the error continues. Preserve existing files and run history when seeking help.

Linked external personas use storage on their own host.

This setting keeps files on disk. Personal Memory holds information in memory topics. Turn on the one your task needs, or both when it needs both.

With persistent storage, chat and background runs share working files. Legacy workers keep fresh native state in separate locations on that home and can continue using valid separate session disks. Where the shared runtime is enabled, its first start uses fresh native context. Later worker replacements keep those new saved sessions when the storage backend preserves them. Some RWX backends may corrupt or lose native run history. Personal Memory is shared through your selected memory location.

Changing the provider’s location

Switching providers at the same agent location keeps the persona’s working disk. File-loss confirmation applies when a move to another location removes an enabled disk. Keep needed files before confirming. With Keep Files Between Runs off, the next worker uses temporary files at the new location. The new selection saves while work is running. The current run keeps its working files until it finishes. PersonaStack waits to clean up the old disk until all runs using it have finished.

If a provider save result is uncertain, refresh Persona Settings and review the selected provider before making another change. See Move one persona to another location.

4. Enable Dreaming

The Dreaming card lists its prerequisites as compact status indicators. Hover over, focus, or tap the info icon beside Enable Dreaming to read the explanation. For a PersonaStack-run persona, these are Prior Run Access, Scheduled Tasks, Personal Memory, and Keep Files Between Runs.

  1. Enable the listed capabilities.
  2. Resolve any memory or storage readiness messages.
  3. Wait for the requirement indicators to show that the persona is ready.
  4. Turn on Enable Dreaming and wait for the save confirmation.

Linked external agents use the requirements shown for their runtime. Their Dreaming panel does not require the PersonaStack storage switch.

To change Dreaming through MCP, ask an agent with Manage PersonaStack to enable or disable it for the target persona. The agent reads the current settings with personastack_management_get_persona and passes dreaming_version as expected_dreaming_version to personastack_management_set_persona_dreaming. If the settings changed meanwhile, read them again before retrying. The tool checks the same runtime prerequisites.

Review what happened

Dreaming runs its available review tasks one at a time: memory audit, task audit, run review, and skill synthesis. Each task waits for the previous task to finish and stop. Later tasks can continue after a failed task has stopped.

Dreaming can review recent activity, curate memory, and create follow-up work. Provider availability, applicable quotas, and startup deadlines still matter. Review Run Logs to confirm each task’s result. Check Memory Topics and its tasks to see what changed.

If Dreaming stays disabled, start with the unmet requirement named in the panel. Repeatedly toggling Dreaming will not repair an unavailable memory target or storage location.

Need a hand? Contact the PersonaStack team.

Search documentation

Type a word or phrase to find a guide.

Documentation