Data, Cloud Sync and Troubleshooting
This page covers where HeyS keeps its data, how to migrate and back it up, how to sync it across several computers, and how to investigate problems and report them to technical support.
All data lives in one directory
HeyS has no database. All data is ordinary files (JSON, YAML, Markdown) in one data directory. Backup, migration and troubleshooting all revolve around this directory. The Data directory row in Settings → About shows where it currently is.
The desktop app keeps data separately for each organization:
So switching organizations = switching to a whole different set of data: sessions, spaces and settings all belong to that organization, and when you switch back, everything is as it was.
Roughly what the data directory contains:
A few things to know:
- The directories bound to projects are not here. The folder you chose when creating a project, and the files the agent generated and changed in it, are in your own directories; deleting HeyS's data doesn't touch them.
- Some things are stored locally in the interface and don't travel with the data directory: pinned sessions and projects, read status, sidebar filters, the currently selected expert, skin, display aliases, space colors and hiding, unsaved file edits held as drafts, and unsent drafts.
- One machine can run several completely independent copies of HeyS: on a server, just start each one with the environment variable
HEYS_HOMEpointing to a different directory.
Changing or migrating the data directory (local desktop only)
Change… on the Data directory row in Settings → About asks what you want to do first, then which directory:
- Migration runs the next time HeyS starts, with a progress window; if it fails partway, everything is rolled back and no half-copied data is left. Don't close HeyS or disconnect the target drive during the migration.
- Before moving data, stop running tasks and close other HeyS windows, or the migration is refused.
- It doesn't matter if the data was copied elsewhere wholesale or the drive letter changed: at startup, HeyS notices the location changed and rewrites the paths it recorded internally.
- To go back: the same dialog has Move back to default / Switch back to default.
- If an unused old copy of data is still in the default location, a note appears under the Data directory row; once you are sure you don't need it, you can delete it yourself.
On a server without an interface, do the same from the command line (Command Line and API):
Cloud sync
When you sign in with an organization account and the organization has turned on sync, you can sync spaces and the Sprite across the computers you sign in to. Data is encrypted on this computer before it is uploaded, so even the organization can't see the content.
There are three places to manage it:
- Settings → Sync: sync status, spaces, storage, encryption, devices, recovery code, cloud trash, conflict copies, bandwidth;
- Settings → Spaces: the Sync to cloud and Sync workspace files toggles for each space;
- The sync icon next to the account at the bottom of the icon rail: shows the sync status; click it to see when it last synced and how much is pending, and to Sync now or Pause sync.
Sync only appears on the local desktop signed in to an organization, and only when the organization has turned on sync; the web app and remote windows opened by CoWork don't have it.
Turning it on for the first time
- Open Settings → Sync and click Turn on cloud sync.
- Click Generate recovery code. The recovery code is shown only this once; Copy it or Save as text file, and keep it somewhere safe.
- Click I've saved my recovery code, enter group 3 of the recovery code to confirm as prompted, and click Turn on.
- In Settings → Spaces, turn on Sync to cloud for the spaces you want to sync. Sprite data syncs by default (Settings → Sprite → Sync sprite data).
Only your own devices can open the cloud data. Resetting your password recovers your account, not your data; if you lose all your devices, you need the recovery code. If you lose both your devices and the recovery code, the data can't be recovered. Once you regenerate the recovery code, the old one stops working immediately.
If the organization has turned on keeping members' keys, the encryption shows Organization can help recover: no recovery code is needed, and if you change computers or forget your password, your organization administrator can help you recover the data. Otherwise it is End-to-end encrypted.
Moving to a new computer
After you sign in with the same organization account on the new computer, the page says This computer is waiting for approval and shows a Pairing code. There are two ways to open the cloud data:
- Allow it on the old computer: a computer that is already syncing pops up New device wants to sync; check that the pairing code matches the one shown on the new computer, then click Allow;
- Enter the recovery code: on the new computer, click Enter recovery code, enter the 24-character recovery code, and click Unlock.
Then, under In the cloud, Download the spaces you want to this computer. If this computer already has a sprite with chat history, you are asked whether to replace it with the one from the cloud; the local one is renamed and kept as a backup.
What syncs and what doesn't
Using several computers at once
- A session runs on only one computer at a time: other computers can see its progress, and the input box says "Running on "XX""; once it finishes there, click Continue here to carry on the conversation. The session's "⋯" menu has Sync this session now.
- A scheduled task runs on only one computer: its edit page shows "Runs on "XX"", and you can switch it with Run on this computer; on the other computers, runs that come due are recorded as Skipped, which doesn't count as a failure and sends no failure notification.
- The Sprite's reminders, diary and proactive follow-ups happen only on the computer where you last sent it a message.
Conflicts, deletions and the trash
- If two computers changed the same file while offline, after they reconnect a conflict copy is saved, so both versions are kept. The Conflict copies group lists them; you can Show in folder or Delete copy (the original file isn't affected).
- When one sync would delete many files, it pauses first and asks: "This sync will delete N files", listing which device and which space they were deleted on; you can choose Delete them or Keep these files.
- Deleted sessions and files can be restored from the Cloud trash within 30 days.
Devices and bandwidth
- The Devices group lists all computers that are syncing and when they were last seen. You can rename this computer (the name other devices see), Remove other devices, or Leave sync on this computer; local data is kept in every case.
- The Bandwidth group sets upload / download limits (KB/s, 0 = no limit), and Pause workspace files on battery.
- Storage shows how much cloud storage is used. A warning appears when it is almost full; once full, workspace files stop uploading first, and when it is fuller still, the whole sync pauses.
The sync status can show: Synced, Syncing, Paused, Conflicts, Error, Waiting for approval, Not set up, Cloud storage full, Removed from sync, Offline, Deletions waiting.
Backup and restore
Cloud sync is not a backup: accidental deletions and damaged content sync to every computer too. Back up important data separately.
Full backup: quit HeyS, then copy the whole data directory.
Restore: copy the backup back to its original location; or copy it to any directory and point to it with Use an existing data directory (Changing or migrating the data directory (local desktop only)).
Backing up just one space:
When you move one space to another computer, if it uses custom model providers, the target computer needs model providers with the same names and their keys too.
desktop.yml, .env and accounts contain keys and account information in clear text; global memory contains information about you personally. Exclude these before sending a backup to anyone. If you only want to take your "settings and keys" to another computer, use Export config / Import config in Settings → Environment (Spaces, Appearance and General Settings).
Exporting a session log
When you are investigating a problem, or want to hand the full course of one run to someone to review: click "⋯" on the session row in the sidebar → Export log to get a zip.
- On the desktop you choose where to save it first, then it is packed and downloaded at the same time, with the amount downloaded shown in the sidebar menu, and you can cancel; in the web app it downloads directly;
- Even very large sessions can be exported (up to 4 GB), and the interface doesn't freeze while exporting.
The exported log contains the full conversation and tool output, which may include content from your files or keys pasted into the conversation; check it before sending it to anyone.
Logs, diagnostics and detailed run logs
Three things, for different purposes (when the model can't be used, there is also Check model service; see the end of this section):
Logs
The Logs row in Settings → About shows where main.log is (~/Library/Logs/HeyS/main.log on macOS), where the crash dumps are, and how much space they take in total:
- Show in folder: opens the folder the logs are in;
- Clear: empties
main.logand deletes the old logs and crash dumps. After clearing, if the app crashes again, the records from before are gone.
Network problems on the model service side (can't connect, connection dropped) are also recorded in the logs; brief hiccups you wouldn't notice are not, so everything left in the log is worth a look.
If something goes wrong at startup, HeyS pops up an error box with the reason and the log location, from which you can open the folder the logs are in.
Export diagnostics
Click Export diagnostics and save it as a zip. Besides freeze records and computer configuration, it contains the reasons for the last few task pauses, the model service network problems recorded in the logs, and the result of every model service check. It doesn't contain task content, keys or paths with your username, so you can safely send it to technical support. When the interface freezes, reproduce the freeze once first, then export.
Detailed run logs
The normal event record only has a summary of each step. To find out "what exactly the model received and replied", turn it on:
- When on, the full content the AI receives and returns at every step is saved in the session directory on this computer, and included when you export the session;
- Off by default, and it only applies to tasks started after you turn it on, so turn it on first, then reproduce the problem;
- The logs can be large and contain the conversation verbatim; HeyS doesn't redact anything, so turning it off when you are done is recommended.
Check model service
When you are signed in to an organization, Settings → About has Check model service next to Export diagnostics. When the AI can't be used, or tasks keep stopping at the model step, click it to check item by item:
Each item says whether it passed; failed ones give the reason, such as "Can’t reach your organization’s service; check your network", "Your organization’s model quota is used up; contact your organization admin" or "The local model proxy isn’t responding; try restarting the app". Click Copy results to copy the whole result and send it to your administrator, or Check again to run it once more.
When a message like Service temporarily unavailable pops up, the message box also has Run a check, which does the same. Every problem a check finds is recorded in the logs and included when you export diagnostics.
Understanding what happened to a task
To investigate a task, start with its own execution process: expand "Worked for … steps", then expand a step's tool calls to see the arguments and full output of each call (Understanding Task Execution). You can also change Execution process to Detailed in Settings → General.
Client ID
Client ID in Settings → About is this computer's number in the organization, the same as the number for this computer under Devices in the organization's admin console. When you ask your administrator to deal with a problem on this computer (sign-in, seats, device requests), click Copy beside it and send it to them; the administrator can find this computer directly with it. The client ID is different in each organization. You can also find this row by searching Settings for "Client ID".

Config sync
The organization (or the extension market a server deployment connects to) can push configuration centrally: model providers, environment variables, space settings, and so on. HeyS syncs every 5 minutes. The Config sync row in Settings → About shows the status, and you can click Sync now:
If you change on this computer an item the organization has pushed, the next sync changes it back; items that weren't pushed are yours to decide.
Common problems
Models and usage
Tasks
Built-in browser, Computer Use and voice
Installation, updates and windows
Collaboration node and deployment
Configuration files
Let HeyS help you troubleshoot: @HeyS guide
Type @ in the input box and choose HeyS guide (installers of customized brands show their own product name) to ask how to use HeyS, troubleshoot errors, and set up models and extensions; follow-up questions keep being answered by the guide.
- If you use it in another conversation, it opens a separate guide conversation and brings the original conversation along, so asking "why is this task stuck" can look into the original records;
- Guide conversations have an icon before their titles in the sidebar, so they are easy to find again;
- It can answer questions about Apps as well (Apps).
What to include when reporting a problem
- The session export zip (sidebar session row "⋯" → Export log);
- If the problem can be reproduced, first turn on Keep detailed run logs and reproduce it once more, so the exported zip includes the full content (check it before sending);
- For freezes and unresponsiveness: the diagnostics; for crashes, failure to open, and failed updates:
main.log(Logs in Settings → About); - The Version, Core version, API version, Platform and Architecture from Settings → About (especially important with CoWork or a remote connection), and the Client ID;
- When the model can't be used: the results copied from Check model service;
- The "request ID" in the row where the task stopped (for problems with the model service);
- For problems with Import sessions: the text copied from Diagnostics on the source row;
- The symptom: what you expected, what actually happened, and from which step it went wrong.
