Skip to main content

Data Storage Locations

DesireCore stores all data in the local file system, not relying on cloud servers to store your personal data.

DesireCore Data Storage Flow Diagram

Platform Data Root Directories

PlatformData Root Directory
macOS~/.desirecore/
WindowsUser folder\.desirecore\
Linux~/.desirecore/

~ represents the user home directory. For example, on macOS: /Users/your_username/.desirecore/

Directory Structure Details

DirectoryPurposeContentsCan Delete?
config/Global configurationUser settings, compute configuration, and the protected local secrets storeRestores defaults and removes local credentials after deletion
config/avatar/User avatarJPEG/PNG/WebP format avatar filesSafe to delete
agents/Agent filesSubdirectory for each agent (Git repository)Loses agent data after deletion
agents/desirecore/Core agentDesireCore built-in agentAuto-reinstalls after deletion
users/User dataPersonal profile, preferences, relationship memories with agentsLoses personalized data after deletion
skills/Global skillsAll installed global skill packsBuilt-in skills auto-reinstall after deletion
runs/Run recordsSession records, task receiptsSafe to delete (loses history)
cache/CacheIndex cache, relationship graph cacheSafe to delete (auto-rebuilds)
logs/LogsRuntime logs and troubleshooting informationSafe to delete
market/Market dataOfficial market repository cacheSafe to delete (re-fetches)

Application Directory

DesireCore application installation paths:

PlatformApplication Path
macOS/Applications/DesireCore.app
WindowsC:\Users\YourUsername\AppData\Local\Programs\desirecore\
LinuxDepends on AppImage file location

Configuration Files

FilePathDescription
User Configconfig/user-profile.jsonUser basic info and preferences
Compute Configconfig/compute.jsonCompute Providers, models, and API key references; no key plaintext
Local Secrets Storeconfig/secrets.jsonSensitive values such as compute API keys and account sessions; always excluded from in-app export
Shortcuts Configconfig/shortcuts.jsonCustom keyboard shortcuts

Backup Recommendations

The following directories contain important non-reproducible data. Regular backup is recommended:

PriorityDirectoryReason
Highagents/All learning outcomes and configurations of agents
Highusers/Personal profile and relationship memories
Mediumconfig/Personal settings and compute configuration; a raw copy may also contain local secrets
Mediumskills/User-defined skills
Lowruns/Historical task records

Use Settings > Data & Privacy > Export Data for a regular backup. A regular backup is a restore point for the same device and identity. For another device, use Migrate to New Device so identity-scoped data is handled correctly.

Neither an in-app backup nor a migration package directly archives the original config/secrets.json. If you explicitly opt in, the migration wizard can put eligible user-managed compute Provider API keys into a separate payload protected with scrypt and AES-256-GCM. Account sessions, official cloud credentials, and OAuth- or CLI-managed credentials are not migrated this way.

Clearing Data

In "Settings > Data & Privacy > Clear Local Data", you can selectively clear:

Data CategoryClear ScopeRecoverable?
Conversation RecordsChat messages, session history, receiptsNot recoverable
AgentsConfigurations, personas, memories (core agents auto-reinstall)Not recoverable
SkillsGlobal skills (built-in skills auto-reinstall)Not recoverable
ComputeProvider configurations, model listsNot recoverable
StorageS3 or object storage connection settingsNot recoverable
Code HostingGitHub, Gitee, Gitea connection settingsNot recoverable
User ProfileIdentity, avatar, memory bankNot recoverable
Market DataMarketplace repository cacheAuto-rebuilds
Cache & LogsIndex cache, logs, troubleshooting dataAuto-rebuilds

Audit logs can be exported as a separate export category. The current clear-data entry does not expose a separate audit-log category; related execution records are handled through their actual storage locations, such as conversations or cache and logs.

Secrets, raw directory copies, and migration packages

Copying the entire data root is different from in-app export: it may copy config/secrets.json, so treat the result as credential-bearing data. If a migration package includes optional encrypted API keys, store it separately from its migration passphrase. Sign-in state and externally managed credentials that cannot be migrated must be authorized again on the new device.