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:
atag data pathIf 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,.envand databases tobackups/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-desktopfolder is never deleted. Models and traces are moved, everything else is copied.
What lives in the folder
| Path | What it holds |
|---|---|
config.json | Your settings. See Configuration. |
.env | Secrets such as API keys and bot tokens. Readable by your user only. |
sessions.sqlite | Chats and their history. |
memory.sqlite | What the agent remembers about you. See Memory. |
tasks.sqlite | Scheduled 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.json | Saved “always allow” rules. See Approvals. |
hooks.json | Hooks, 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:
config.jsonis valid. Broken JSON is reported, never guessed at.config.jsonis readable by you only (not on Windows).- Every MCP server that runs a local command can find that command.
- 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.
- Press Check. Each finding appears as OK, Check or Problem, with a Fix: line when there is a safe fix.
- If there is a fix, press Fix. Doctor backs up
config.jsonfirst. If the agent is idle, the app restarts it to read the new settings. - Press Check again to see what is left.
atag doctor # list findingsatag doctor --fix # apply the safe fixes, after backing up config.jsonatag doctor --undo # put back config.json from the newest doctor backupatag doctor --json # findings as JSON, for scripts--fix and --undo cannot be used together.
The fixes doctor can apply on its own:
- Set
llm.activeTextProviderto the first configured provider, when its current value is not valid. - Make
config.jsonreadable 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.
atag data backup ~/atomic-agent-backup.tar.gzatag data backup ~/atomic-agent-backup.tar.gz --with-modelsatag data restore ~/atomic-agent-backup.tar.gz --yesrestore needs --yes. It moves your current folder aside to ~/.atomic-agent.before-restore-<time> and prints where. If the backup has no models, the models you already downloaded are kept.
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.
atag data move /Volumes/External/atomic-agentThe new folder must be new or empty, and cannot be inside the current one.
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.
atag data reset --keep-models --yesBoth flags are required. The old data goes to ~/.atomic-agent.reset-<time>.
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.