Skip to content

Your data folder

Atomic Agent keeps everything it knows in one folder on your computer: chats, memory, tasks, settings, API keys and downloaded models. Read this page when you want to back up your data, move it to another disk, start fresh, or find out why something does not work.

One folder for the app and the terminal

The folder is .atomic-agent in your home folder (~/.atomic-agent). The desktop app and the terminal agent both use it. That means:

  • A chat started in the desktop app shows up in the terminal UI, and the other way round.
  • A model downloaded in one is ready in the other.
  • Settings and API keys you add in one apply to both.
  • Backing up, restoring, resetting or deleting the folder affects both programs.

To see where the folder is, open Settings › Diagnostics in the desktop app (the State folder row), or run:

Terminal window
atag data path

If the folder was moved with atag data move, this prints the link and where it points.

Moving over from an older desktop app

Early desktop versions kept their data in a separate ~/.atomic-agent-desktop folder. On the first launch of a newer version, the app copies that data into the shared folder once, by itself:

  • It first backs up the shared folder’s config.json, .env and databases to backups/pre-desktop-merge-<time>/ inside ~/.atomic-agent.
  • Where both folders have the same thing, the terminal’s data wins. The desktop’s data only fills what is missing.
  • The old ~/.atomic-agent-desktop folder is never deleted. Models and traces are moved, everything else is copied.

What lives in the folder

PathWhat it holds
config.jsonYour settings. See Configuration.
.envSecrets such as API keys and bot tokens. Readable by your user only.
sessions.sqliteChats and their history.
memory.sqliteWhat the agent remembers about you. See Memory.
tasks.sqliteScheduled and background tasks. See Scheduled tasks.
skills/Installed skills. See Skills.
plugins/Installed plugins. See Plugins.
models/Downloaded models and the local engine.
approval-rules.jsonSaved “always allow” rules. See Approvals.
hooks.jsonHooks, if you set any.
inbox/Files you sent to the agent over Telegram or Discord.
browser-profile/The agent’s own browser profile, with the cookies of sites it signed in to.
traces/A record of each session, for debugging. See Traces and replay.
logs/Logs, for example from overnight runs.
doctor-backups/Copies of config.json that atag doctor --fix made before changing it.

Not every entry exists on every install. Most appear the first time the matching feature is used.

Check your install with doctor

Doctor looks for problems it can name and fixes the safe ones. Run it first when something does not work.

It checks, in this order:

  1. config.json is valid. Broken JSON is reported, never guessed at.
  2. config.json is readable by you only (not on Windows).
  3. Every MCP server that runs a local command can find that command.
  4. Then either the local engine (installed, the chosen model on disk, enough memory for it, the model server and its port), or, when you use a cloud model, the provider’s API key.

Each finding is ok, a warning, or a failure. A failure that doctor cannot fix says which command or setting fixes it.

Open Settings › Diagnostics and find Doctor.

  1. Press Check. Each finding appears as OK, Check or Problem, with a Fix: line when there is a safe fix.
  2. If there is a fix, press Fix. Doctor backs up config.json first. If the agent is idle, the app restarts it to read the new settings.
  3. Press Check again to see what is left.

The fixes doctor can apply on its own:

  • Set llm.activeTextProvider to the first configured provider, when its current value is not valid.
  • Make config.json readable by you only.
  • Turn off an MCP server whose command is not installed. Install the command, then turn the server back on.

Back up and restore

A backup is one .tar.gz file. It holds your chats, memory, tasks, config.json, .env, skills, traces and the rest of the folder. Databases are copied safely even while they are in use.

A backup leaves out:

  • Downloaded models, unless you ask for them (they can be large, and you can download them again).
  • The agent’s browser profile, which holds site cookies.
  • Temporary files, locks and running-process records.

In Settings › Diagnostics, under Data:

  • Back up asks where to save the file (atomic-agent-backup-<date>.tar.gz). Models are not included.
  • Restore… asks for a backup file, then asks you to confirm. Your current folder is kept next to it, not deleted, and downloaded models stay.

Close every Atomic Agent window and terminal before you restore, move or reset from the terminal. The desktop app stops its own agent first and restarts itself when it is done.

Move the folder to another disk

Use this when your home disk is full, for example because of large models.

In Settings › Diagnostics, press Move folder… and pick where it should go. The app moves everything, models included, into an atomic-agent folder there, and then restarts.

After a move, ~/.atomic-agent becomes a link to the new place, so both programs find it as before. When the move crosses disks, the old copy is renamed (~/.atomic-agent.moved-<time>) instead of deleted. Delete it yourself once everything works.

Start fresh but keep your models

A reset clears chats, memory, tasks, skills and settings, including API keys, for both programs. Downloaded models stay, so you do not have to download them again. Nothing is deleted: the old data is moved next to the folder.

In Settings › Diagnostics, press Reset, keep models… and confirm. The app restarts with a clean setup.

To remove everything, models included, uninstall instead: see Uninstalling.

The Diagnostics screen

Settings › Diagnostics in the desktop app is the place to go when something breaks. Besides Doctor and Data, it shows:

  • App, Agent, State folder, Working folder and Local model server, each with a copy button.
  • Save report for support writes a text file to your Downloads folder with the app version, your settings with keys, tokens and passwords removed, and the end of the agent’s log. The log can include parts of recent chats and file paths. The file is not sent anywhere: attach it yourself when you write to us on Discord or in a GitHub issue.
  • Copy details copies all the rows at once.
  • Open agent log opens the agent’s log file.

Every doctor and data command is also listed in the CLI reference.

Checked on 18 Nov 2026 against Atomic Agent v0.8.0 and Desktop v0.0.9.

Get updates by email

One email when a new version comes out.