First-time setup
On a brand-new installation (whenATOMIC_CODING_AGENT_DIR is unset and ~/.atomic/agent/settings.json does not exist yet), interactive mode opens a quick two-step setup prompt before the editor:
- Choose a theme: Pick
Dark,Light, orSystem(defaulting to your terminal’s detected appearance, with live preview as you move through options). - Choose analytics preference: Opt in or out of anonymous usage analytics. Your choice and a random local tracking ID are stored in
settings.json; Atomic does not transmit analytics data in this release.
↑/↓ or j/k, confirm with Enter, or press Esc/Ctrl+C to skip setup without writing settings.json.
Terminal interface
The screen has four main areas:- Startup header. Shortcuts plus named lists of loaded context files, prompt templates, skills, and extensions. Press
Ctrl+Oto expand source paths. Custom themes are not listed here; pick them in/settings. - Transcript. User messages, assistant responses, tool calls, tool results, notifications, errors, and extension UI.
- Editor. The prompt box where you type. Its border color reflects the active thinking level.
- Footer. Token usage, cache usage, cost, and context usage sit above the editor. Below it, Atomic shows the active model, reasoning level, working directory, Git branch, and session name while idle, or the interrupt key while working (
esc to interruptonmain,esc to pausewhile viewing a subagent).
↓ on an empty prompt to focus the agent panel, ← on an empty prompt while viewing a subagent to return to main, Ctrl+X Ctrl+K (twice within 3 seconds) to stop all background work, and ? on an empty prompt for active shortcuts.
Built-in views such as /settings, /model, or custom extension UI temporarily replace the editor while open.
Startup animation and working indicator
The startup animation introduces Atomic on launch; press any key (includingCtrl+C) to finish it immediately. Set quietStartup to true to hide it, or "header" to keep it. Non-TTY runs, Apple Terminal.app, and ATOMIC_REDUCED_MOTION=1 skip the animation and show the static mark.
To disable terminal colors and text styles (bold, italic, dim, underline, inverse, strikethrough), set NO_COLOR (to any value, including an empty string) or FORCE_COLOR=0 / FORCE_COLOR=false. Setting FORCE_COLOR to 1, 2, 3, true, or "" forces color output.
While the agent works, ∀ pulses beside a status line with elapsed time and output tokens. A new run resets the meter; steering keeps the current meter. Retry, fallback, compaction, cancellation, and error notices take precedence, and approval prompts hide ordinary activity. Extensions can customize the working indicator.
During compaction, ∀ stays still with elapsed time and the cancel key. Afterwards, a single boundary line appears—⚛ Context cleared · 182.0k tokens, or ⚛ Context compacted · morph/morph-compactor · 182.0k → 21.4k tokens when a compactor model ran. Press Ctrl+O to inspect what was compacted and where the earlier conversation lives in session history.
Transcript interaction
- Clickable blocks. Single-click any expandable block (tool calls, grouped summaries,
!shell blocks, finished-agent cards, compaction boundaries) to open or fold that block without affecting others.Ctrl+Otoggles all blocks together. - Clickable key hints. Click key hints below the prompt, in dialogs, or in
/tasksto trigger that key or command without losing your prompt draft. - Scrolling and jump to bottom. Scroll with the mouse wheel, or hold
Alt+wheelto scroll five times as far when your terminal forwards Alt with wheel events. While scrolled up, the current turn’s opening prompt stays pinned at the top and a↓ jump to bottom · ctrl+endpill appears above the editor.
Editor features
@file picker and completion menus: The@picker fuzzy-searches project files while respecting.gitignoreand skipping.git/, supports quoted paths with spaces (@"path with spaces"), and wraps paths containing spaces automatically (falling back to single-directory listing iffdis unavailable). In@and/menus,Tabcompletes without sending, andEnterinserts an@path or submits a/command.- Prompt history (
↑/↓andCtrl+R):↑and↓walk up to 100 recent prompts typed during the current run (collapsing consecutive identical prompts) for whichever agent you are viewing.Ctrl+Rsearches recorded prompts newest first and deduplicates identical prompts across the session:- For prompt templates and skills (such as
/skill:tdd edge cases),Ctrl+Rsaves and searches the unexpanded command you typed rather than the expanded body (only older entries without raw text fall back to expanded text). - If an extension transforms a prompt through the
inputevent,Ctrl+Rsearches the transformed text while↑/↓walk the raw text you typed. - While viewing a subagent,
Ctrl+Rsearches that subagent’s 100-entry editor history (without timestamps) rather than the full session store. - Press
Escto clear the search query first, then close search without losing your draft or interrupting the agent. Avoid typing secrets directly into prompts.
- For prompt templates and skills (such as
- Interactive shell commands (
!and!!): Only one interactive!or!!command can run at a time; submitting another warns and restores your draft. On native Windows,!and!!run PowerShell (preferring PowerShell 7pwsh.exe, then Windows PowerShellpowershell.exe; see Windows), while Linux, macOS, and WSL use Bash.shellCommandPrefixis prepended to each command, so match the active shell’s syntax. PressEscorCtrl+Cto cancel a running command.!and!!are disabled while viewing a subagent; switch tomainto run them. - Double-Escape (
doubleEscapeAction): PressingEscapetwice within 500 ms on an empty, idle editor opens/treeby default. Change it to"tree","fork", or"none"in Settings. - Suspend and subshell: On POSIX systems and WSL,
Ctrl+Zsuspends Atomic andfgresumes it. On native Windows,Alt+Zopens an interactive PowerShell subshell while background tasks keep running (typeexitto return), leavingCtrl+Zfor editor undo.
Startup typing
You can start typing immediately while Atomic finishes loading. In interactive mode, typing and editing keys act live whileEnter, command shortcuts, and mouse events wait until the session is ready.
Slash commands
Type/ in the editor to open command completion. Extensions can register custom commands, skills run as /skill:name, and prompt templates expand via /templatename.
Commands that take no arguments match only when entered by themselves; adding extra text sends the line to the model as a regular prompt. While viewing a subagent, built-in commands target main (confirming destructive changes, refusing /model and /thinking, and using /copy for the viewed subagent’s last message), while skills, templates, and user or project extension commands target the viewed subagent.
Here are the everyday commands you will use most often:
Atomic’s bundled extensions also register
/agents (Subagents), /mcp (MCP servers), /intercom (Intercom), /llama (Local models), and /curator, /websearch, /search, /google-account (Web access).
For the complete command catalog, exact argument parsing rules, and subagent-view routing, see the Slash commands reference.
Message queue
Because Atomic runs the session in a separate background process from the terminal UI (How Atomic works), you can keep typing, queue follow-ups, or interrupt work while the agent streams or runs tools.Queueing and interrupting
The same keys apply onmain and while viewing a subagent, except Esc pauses a viewed subagent instead of interrupting main:
Steering messages always run ahead of follow-ups in submission order. Both run ahead of background notices that queued meanwhile, such as task, subagent and Intercom messages, so a long backlog never holds back what you typed; while one of your follow-ups waits, those notices wait behind it. Messages, templates, and skills submitted during compaction or retry waits queue in order until compaction completes or is cancelled, while non-prompt slash commands such as
/settings, /tasks, and /model run immediately.
Interrupts hold only messages still waiting in the queue. A message the agent already started stays in the transcript; if an interrupt cancels its reply before any output appears, Atomic answers it rather than stranding it.
On Windows and WSL, follow-up queueing uses Ctrl+Q and dequeue uses Alt+Q to avoid Windows Terminal’s Alt+Enter fullscreen toggle. Configure delivery rules with steeringMode and followUpMode in Settings.
Interrupt grace period and recovery
Normal interrupts request cooperative cancellation while keeping the background session process running. Pending tool calls abort immediately. If an active tool call does not stop within 10 seconds (configurable viaATOMIC_TOOL_ABORT_GRACE_MS), the turn moves on with an abort notice and discards late output from that call.
Manual recovery with
Ctrl+C: If a custom extension dialog stops responding to input, Ctrl+C closes it. If the background session process stops answering—or a cancel or queue-clear request stalls for over one second—Ctrl+C terminates and restarts the session process. Recovery never triggers automatically. Check /tasks and the transcript before repeating interrupted actions.Sessions
Sessions auto-save to~/.atomic/workflows/journal.sqlite by default; JSONL session directories (~/.atomic/agent/sessions/) and shared PostgreSQL databases are opt-in.
Common startup flags include atomic -c (continue latest in this directory), atomic -r (browse sessions), atomic --session <id|prefix>, atomic --fork <id|prefix>, atomic --name "Refactor", atomic --import <file>, and atomic --no-session. See Manage sessions, Context and compaction, and CLI session options.
Context and system prompt files
Atomic automatically loads project instructions (AGENTS.override.md, AGENTS.md, or CLAUDE.md) from global config, ancestor directories, and the current trusted project, plus optional SYSTEM.md (replace the default system prompt) and APPEND_SYSTEM.md (append standing instructions). See Add project instructions for exact precedence, worktree deduplication, and trust rules. Disable context files for one run with --no-context-files (-nc).
The agent can also recall earlier sessions in the same project through history:// when you reference past work or comparable tasks. See Recalling earlier work.
Exporting and sharing sessions
Use/export [file] to export the current session to HTML (defaulting to atomic-session-<session>.html in the current working directory) or to JSONL when file ends in .jsonl (case-insensitive). Paths containing spaces can be quoted; unclosed quotes return an error. In exported HTML, press T to toggle thinking blocks, O to toggle tool output, and H to show hidden custom messages.
Use /import <file> to load an exported .jsonl session; Atomic asks for confirmation before replacing the current session.
Use /share to export a copy of the session as session.jsonl (stripping worktree snapshot contents and large tool-output blobs), upload it as a secret GitHub gist with gh, and print both:
Share URL: Opens the gist inhttps://bastani.ai/session/(override withATOMIC_SHARE_VIEWER_URL).Gist: The raw GitHub gist URL.
/share requires the GitHub CLI (gh) installed and authenticated (gh auth login). Press Esc or Ctrl+C while uploading to cancel.
Next steps
CLI reference
Every flag, subcommand, model-matching rule, and exit code.
Slash commands
Complete list of built-in and bundled extension slash commands.
Keybindings
All keyboard shortcuts, picker controls, and custom keybindings.
How Atomic works
Mental model of the agent loop, two-process runtime, and context assembly.