For AI agents: the complete documentation index is available at https://docs.heys.ai/workstation/en/llms.txt, the full documentation bundle is available at https://docs.heys.ai/workstation/en/llms-full.txt, and this page is available as Markdown at https://docs.heys.ai/workstation/en/data-cloud-sync-and-troubleshooting.md.
  • English
  • 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:

    SituationData directory
    The first organization (or a computer that had data before the upgrade).heys in your user folder (~/.heys on macOS, C:\Users\<you>\.heys on Windows)
    Other organizations you join later.heys/orgs/<organization>, one per organization, independent of each other
    Server deploymentSet by the environment variable HEYS_HOME; in Docker it is the mounted volume docker/volumes/heys-home

    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:

    LocationContents
    Top levelGlobal configuration: desktop.yml (interface settings and environment variables, including keys in clear text), provider.yml (model provider connections), .env, the accounts file accounts
    skills/, experts/, plugins/Global-layer skills, experts and connector plugins, shared by all spaces
    skins/, workbenches/Skins and installed Apps (shared by the whole machine)
    logs/Background logs
    profiles/<space name>/One space = one subdirectory: its settings config.yaml, personality SOUL.md, global memory, sessions, projects, scheduled tasks, Case templates, notifications, private extensions, and the private data of Apps
    profiles/<space name>/sessions/<session ID>/One directory per session: conversation history, the full event record of each task, screenshots, attachments; for sessions without a project, the output files are here too

    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_HOME pointing 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:

    ActionWhen to use itRequirement for the directory
    Migrate to a new directoryMove all the current data there (for example to a larger drive); only a small file pointing to the new location stays at the old oneMust be an empty directory
    Use an existing data directorySwitch to another directory that already holds HeyS data (for example old data on an external drive, or data copied from another computer); the current data stays as it isThe directory must already hold HeyS data
    • 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):

    heys home show                               # where the data directory is now, and whether it is redirected
    heys home migrate /data/heys-new --dry-run   # check first; remove --dry-run to actually migrate
    heys home use /data/heys-old                 # only change the pointer, don't move data (--default switches back to default)
    heys home reset --force                      # if the target drive is permanently lost, clear the redirect and go back to the default location

    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.
    Note

    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

    1. Open Settings → Sync and click Turn on cloud sync.
    2. Click Generate recovery code. The recovery code is shown only this once; Copy it or Save as text file, and keep it somewhere safe.
    3. Click I've saved my recovery code, enter group 3 of the recovery code to confirm as prompted, and click Turn on.
    4. 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).
    Warning

    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

    ContentHow it syncs
    A space's sessions, memory and settingsSynced once Sync to cloud is on
    Files in session and project workspacesNot synced by default; synced only after you turn on Sync workspace files, and downloaded on another computer only when you open them (the file panel marks them "In the cloud. Downloads when opened"; you can also Download all)
    Files over the File size limitStay on this computer only, marked Not synced in the file panel; you can Upload to cloud by hand
    SpriteSynced by default, so several computers use the same sprite

    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.

    rsync -a --delete ~/.heys/ /backup/heys/

    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:

    rsync -a ~/.heys/profiles/work/ /backup/heys-work/

    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.

    Warning

    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.
    IncludedNot included
    Conversation history, the full event record and tool output of each taskOutput files in the workspace, original attachment files
    Screenshots from the browser and Computer UseThe built-in browser's sign-in state
    Detailed run logs (if turned on)Global memory
    Warning

    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):

    NameWhereWhat it recordsWhen to use it
    LogsLogs in Settings → AboutBackground records of the app starting, restarting, quitting and crashing (main.log), crash dumps, and network problems with the model serviceThe app won't open, crashes, fails to update, or can't reach the model
    DiagnosticsExport diagnostics next to Logs in Settings → AboutFreeze records, slow requests, computer configuration, the reasons for the last few task pauses, and the results of model service checksThe interface freezes or stops responding, or tasks keep stopping
    Detailed run logsSettings → Spaces → Troubleshooting → Keep detailed run logsThe full content the AI receives and returns at every stepA task's result is wrong and you need to see exactly what the model received and replied

    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.log and 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:

    CheckWhat it looks at
    Local model proxyWhether HeyS's own model forwarding on this computer is running
    Organization provides a model keyWhether the credentials for using the model can be obtained from the organization
    Model service is reachableWhether the network from this computer to the model service works
    Main model, Other models in useWhether each model the conversation uses (including the helper and search models) works
    QuotaHow many credits or how much time is left

    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.

    What you want to seeWhere
    What each step of a task didExpand the execution process in the session; the Task details panel on the right shows where it ran, the model, and the connectors and skills used (Understanding Task Execution)
    Why a task stoppedThe row in the process states the reason: model busy, rate limited, service error, response timeout, can't connect, time or credits used up, organization adjusting its billing, and so on; problems with the model service come with a "request ID"
    VersionsSettings → About: Version, Core version, Cua version, Office version, Design version, API version, Platform, Architecture
    Which computer this is in the organizationClient ID in Settings → About; see below
    Whether settings were changed centrally by the organizationConfig sync in Settings → About

    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".

    Settings → About: the version with Check for updates, receiving beta updates and the changelog; below, the versions of each component (Core, Cua, Office, Design); Client ID with a Copy button; further down API version, Platform, Architecture, Config sync, Data directory and Logs

    Settings → About: the version with Check for updates, receiving beta updates and the changelog; below, the versions of each component (Core, Cua, Office, Design); Client ID with a Copy button; further down API version, Platform, Architecture, Config sync, Data directory and Logs

    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:

    ShownMeaning
    Up to date (vN)This computer already has the latest configuration
    Applied N file(s) (vN)New configuration was just written
    Fetched vN, but it was not appliedOne of the pushed files failed validation, so none of this version was written; the reason is shown below. Ask your organization administrator to fix it, then sync again
    Fetched vN, but some settings were not appliedPart of it wasn't written; the reasons are listed below
    Last sync failed (reason)No network or similar; it retries automatically later
    Not connectedNot part of an organization, so settings won't sync
    Note

    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

    SymptomWhat to do
    Every task says it can't connect to the modelIn organization mode, click Settings → About → Check model service, see which item failed, and copy the results to your administrator; for model providers you added yourself, run a check in Settings → Model providers and confirm the address and key (Models and Usage)
    "Can’t reach your organization" pops upThe credentials for using the model can't be obtained for now; try again later. If it keeps happening, contact your organization administrator
    "Your organization’s model quota is used up" pops upThe organization's total quota on the model service is used up; contact your organization administrator. It isn't a problem with your personal credits, and you don't need to top up
    The message says the model API returned something that isn't a model response (possibly a web page)The API address is wrong; it is commonly missing the trailing /v1
    A task stopped with "model busy", "rate limited" or "response timeout"The upstream service is overloaded, and HeyS has already waited and retried automatically. Say something in the conversation later to continue; if it keeps happening, switch models
    "Time used up — paused", "Today’s allowance is used up", "Your organization has been suspended — paused"Contact your organization administrator; once time is added, say something in the conversation to continue (Models and Usage)
    "Your organization is changing its billing method — paused"Wait a few minutes, then say something to continue when it is done; no restart needed
    Only tool calls failThe model doesn't support tool calls: change Working mode to Compatible in Settings → Spaces
    I changed the default model but old conversations didn't switchBy design: each conversation remembers its own model, and changing the default model only affects new conversations; switch with the model button in the conversation

    Tasks

    SymptomWhat to do
    It keeps showing running with no progressCheck whether above the input box it says "Waiting on X, N min so far". A tool that waits too long times out and the task continues; to stop it right away, click Pause or Cancel task
    The process says "The previous run was interrupted (process exited or crashed)"The task was still running when HeyS quit. Just say something in the conversation to carry on
    "This computer is offline — stopped", "Cannot reach the model service — stopped", "The connection to the model service dropped — stopped"Network problems; no need to restart the app. HeyS has already retried automatically for a while; once the network is back, say something in the conversation to carry on
    "The local model proxy is not responding — stopped"Only now do you need to restart: fully quit HeyS and open it again. On Windows, closing the window only puts it in the tray; choose Quit from the tray icon's menu
    The process says "Blocked: AI can't access this folder"That folder is in Settings → General → Folders AI can't access; remove it if needed (Spaces, Appearance and General Settings)
    A session is missingCheck the sidebar filters (it may be archived); or you switched to another space or another organization
    Where did the files go?Open the Files or Outputs panel on the right of the session; files mentioned in an answer can be right-clicked → Show in folder
    The input box shows "Running on "XX""With cloud sync, this session is running on another computer; wait for it to finish, then click Continue here (Cloud sync)

    Built-in browser, Computer Use and voice

    SymptomWhat to do
    No browser panel / the agent says it has no browser toolThe browser exists only on the local desktop in local-only use: remote windows opened by CoWork, a computer with the collaboration node on, the web app and Docker don't have it
    The agent stops at a sign-in pageSign in yourself in the browser panel, then reply "done"; or turn on Fill in passwords in Settings → Browser & site resources (Built-in Browser and Sites)
    Settings → Computer Use says authorization is neededmacOS needs two system permissions, Accessibility and Screen Recording; click Grant and follow the prompts (Computer Use)
    No microphone in the input boxNo recognition engine is available yet: choose one in Settings → Voice Input and check its prerequisites (Spaces, Appearance and General Settings)

    Installation, updates and windows

    SymptomWhat to do
    A new version is out but there was no promptClick Settings → About → Check for updates by hand; if the About page says "Client updates are managed by your deployment", contact your administrator
    The automatic update ended by asking me to replace files by handThis is the fallback when overwriting fails (common on Windows when installed in a directory that can't be written). The staging directory has a README on how to update by hand (README-manual-update.txt); just follow it
    On Windows I clicked close and HeyS is still thereIt went into the tray, and tasks keep running. Only Quit from the tray icon's right-click menu really quits; if you don't want this, turn off Minimize to tray when closing the window in Settings → General
    The interface freezes or stops respondingExport diagnostics and send them to technical support (Logs, diagnostics and detailed run logs)
    The Kylin build opens to a white screenThe graphics driver can't render; start it with the environment variable HEYS_DISABLE_GPU=1
    An error box pops up at startupDeal with it according to the reason in the box; you can choose an organization again, or open the folder the logs are in and send main.log to technical support

    Collaboration node and deployment

    SymptomWhat to do
    The message "Collaboration node did not start (fell back to local-only mode)"The port is in use or reserved by the system, or the token is shorter than 32 characters. Change the port or generate a new token, then Apply & restart server (CoWork, Collaboration Node, Web App and Deployment)
    Colleagues can't connectMake sure both sides are on the same network, they use the first of the LAN addresses, and this computer's firewall allows the port
    The server fails to start, saying an entry in HEYS_TRUSTED_PROXIES is wrongCorrect it to a valid IP or range (comma-separated)
    The Docker deployment says the port is in useThe container takes the host's port directly; change HEYS_SERVER_PORT in .env
    A regular remote account sees only a few Settings sectionsBy design; the rest are for administrators (CoWork, Collaboration Node, Web App and Deployment)

    Configuration files

    SymptomWhat to do
    After a power failure or forced shutdown, reopening HeyS says that model providers and keys you entered by hand before should be entered again if they are missingA configuration file was damaged in the power failure. HeyS has saved a backup copy of the damaged file, rebuilt it with default settings, and opens the main window as usual; just enter the missing model providers and keys again, no reinstall needed. The way settings are saved has also changed, so a power failure won't damage the configuration file again
    Several features broke after I edited desktop.yml by handThe YAML is invalid. Fix it in an editor, or restore it from a backup
    I want to restore the default space to factory settingsSettings → General → Maintenance → Reset default config. Other spaces and your own skills are not affected

    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.

    @HeyS guide My task is stuck on running and isn't moving. Can you take a look?
    @HeyS guide My scheduled task never sends a notification. What haven't I set up?
    • 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

    1. The session export zip (sidebar session row "⋯" → Export log);
    2. 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);
    3. For freezes and unresponsiveness: the diagnostics; for crashes, failure to open, and failed updates: main.log (Logs in Settings → About);
    4. The Version, Core version, API version, Platform and Architecture from Settings → About (especially important with CoWork or a remote connection), and the Client ID;
    5. When the model can't be used: the results copied from Check model service;
    6. The "request ID" in the row where the task stopped (for problems with the model service);
    7. For problems with Import sessions: the text copied from Diagnostics on the source row;
    8. The symptom: what you expected, what actually happened, and from which step it went wrong.