Skip to main content
This guide covers everyday coding in Atomic’s fullscreen terminal interface: editor shortcuts, @ file references, ! shell commands, slash commands, message queueing, and exporting or sharing sessions. For a conceptual overview, see How Atomic works. For every flag and subcommand, see CLI reference.

Before you begin

Complete Install Atomic and Authenticate a provider.

First-time setup

On a fresh install (when ATOMIC_CODING_AGENT_DIR is unset and ~/.atomic/agent/settings.json doesn’t exist yet), interactive mode shows a two-step First-Time Setup screen before the editor:
  1. Choose a theme: Pick Dark, Light, or System (matching your detected terminal appearance, with live preview as you move through options).
  2. Choose an analytics preference: Opt in or out of anonymous usage analytics. Atomic stores your choice and a local random tracking ID in settings.json; it does not transmit analytics data.
Move with ↑ and ↓ (or j and k), confirm with Enter, or press Esc or Ctrl+C to skip setup without writing settings.json.

Understand the screen layout

Atomic divides the terminal into four areas:
  • Startup header: Key shortcuts plus lists of loaded context files, prompt templates, skills, and extensions. Press Ctrl+O to expand source paths. Custom themes don’t appear here; pick them in /settings.
  • Transcript: Your messages, assistant replies, tool calls, tool results, notices, errors, and extension UI.
  • Editor: The prompt box where you type. Its border color shows the active thinking level.
  • Footer: Token usage, cache usage, cost, and context usage sit above the editor. Below it, Atomic shows the active model, thinking level, working directory, Git branch, and session name while idle—or the interrupt hint while working (esc to interrupt on main, esc to pause while viewing a subagent).
When background subagents run, the agent panel appears below the footer. Select a subagent to swap the transcript and send prompts directly to it. On an empty prompt:
  • Press ↓ to focus the agent panel.
  • Press ← while viewing a subagent to return to main.
  • Press Ctrl+X Ctrl+K twice within 3 seconds to stop all background work.
  • Press ? to see active shortcuts.
Built-in overlays such as /settings, /model, or custom extension views replace the editor temporarily while open.

Startup animation and working indicator

The startup animation introduces Atomic on launch; press any key (including Ctrl+C) to skip straight to the prompt. Set quietStartup to true to hide it, or "header" to keep it. Non-TTY runs, Apple Terminal.app, and ATOMIC_REDUCED_MOTION=1 skip 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 showing elapsed time and output tokens. A new run resets the meter; steering keeps the current meter. Retry, fallback, compaction, cancellation, and error notices take priority, and approval prompts hide ordinary status text. Extensions can customize the working indicator. During compaction, ∀ stays still with elapsed time and the cancel key. Afterward, Atomic shows one boundary line—⚛ Context cleared · 182.0k tokens, or ⚛ Context compacted · morph/morph-compactor · 182.0k → 21.4k tokens when a compactor model ran. Press Ctrl+O (or click the line) to inspect what was compacted and where the earlier conversation lives in session history.

Interact with the transcript

Use these pointer and scroll interactions while reading the transcript:
  • Expand or collapse one block: Click any expandable block (tool calls, grouped summaries, ! shell blocks, finished-agent cards, or compaction boundaries) to toggle it without changing other blocks. Press Ctrl+O to toggle all blocks at once.
  • Click key hints: Click key hints below the prompt, in dialogs, or in /tasks to trigger that action without losing your draft.
  • Scroll and jump back: Scroll with your mouse wheel, or hold Alt+wheel to scroll five times faster when your terminal forwards Alt with wheel events. While scrolled up, the current turn’s prompt stays pinned at the top and a ↓ jump to bottom · ctrl+end pill appears above the editor.
See Transcript scrolling and mouse for mouse selection, auto-copy, right-click paste, and paging shortcuts.

Use editor features

The following table summarizes the most useful editor shortcuts: Key editor behaviors to know:
  • @ file picker and completion: Fuzzy-searches project files while respecting .gitignore and skipping .git/. Paths containing spaces wrap in quotes automatically (for example @"path with spaces"). If fd isn’t available, the picker falls back to single-directory listing. In @ and / menus, Tab completes without sending and Enter inserts an @ path or runs a / command.
  • Prompt history (↑ / ↓ and Ctrl+R): ↑ and ↓ step through up to 100 recent prompts from the current run (collapsing consecutive duplicates) for whichever agent you view. Ctrl+R searches saved prompts newest first and deduplicates matches across the session:
    • For prompt templates and skills (for example /skill:tdd edge cases), Ctrl+R searches the unexpanded command you typed rather than the expanded text.
    • If an extension rewrites a prompt through the input event, Ctrl+R searches the rewritten text while ↑ and ↓ step through what you typed.
    • While viewing a subagent, Ctrl+R searches that subagent’s 100-entry editor history instead of the full session store.
    • Press Esc once to clear your search query, and a second time to close search without losing your draft or interrupting the agent. Avoid typing secrets directly into prompts.
  • Interactive shell commands (! and !!): Only one ! or !! command can run at a time; submitting another warns and restores your draft. Native Windows uses PowerShell (pwsh.exe, then powershell.exe; see Windows), while Linux, macOS, and WSL use Bash. Atomic prepends shellCommandPrefix to each command, so match your active shell’s syntax. Press Esc or Ctrl+C to cancel a running command. ! and !! are disabled while viewing a subagent; press ← on an empty prompt to return to main.
  • Double-Escape (doubleEscapeAction): Pressing Esc twice within 500 ms on an empty, idle editor opens /tree by default. Change it to "tree", "fork", or "none" in Settings.
  • Suspend or open a subshell: On macOS, Linux, and WSL, Ctrl+Z suspends Atomic and fg resumes it. On native Windows, Alt+Z opens an interactive PowerShell subshell while background tasks keep running (type exit to return), keeping Ctrl+Z for editor undo.
See Keybindings for all shortcuts and customization.

Type while Atomic starts

You don’t need to wait for startup to finish before typing. In interactive mode, typing and editing keys work right away while Enter, command shortcuts, and mouse events wait until the session is ready.
If a startup dialog appears (such as first-time setup, a project trust prompt, --resume, or a cross-project fork confirmation), text you typed waits as a draft and never auto-submits or answers the dialog for you. Review the draft and press Enter after startup finishes.

Run everyday slash commands

Type / in the editor to open command completion. Extensions can register custom commands, skills run as /skill:<name>, and prompt templates expand as /<template>. Commands that take no arguments run only when entered by themselves; adding extra text sends the line to the model as a regular message. While viewing a subagent, built-in commands target main (confirming destructive actions, refusing /model and /thinking, and using /copy for the viewed subagent’s last reply), while skills, templates, and user or project extension commands target the viewed subagent. The following table lists the everyday commands you use most often: Atomic’s built-in integrations also register /agents (Run subagents), /mcp (MCP servers), /intercom (Coordinate sessions with Intercom), /llama (Local models with llama.cpp), and /curator, /websearch, /search, /google-account (Web access). For every command and its exact parsing rules, see Slash commands.

Queue and interrupt messages

Because your terminal stays responsive while the session runs (How Atomic works), you can keep typing, steer a turn, queue follow-ups, or cancel work mid-stream. The same shortcuts work on main 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, and both run ahead of queued background notices (such as task completions or Intercom messages) so a busy backlog never delays what you typed. Messages, templates, and skills submitted during compaction or retry waits queue in order until compaction ends or is cancelled, while non-prompt commands such as /settings, /tasks, and /model run right away. 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 arrives, Atomic closes it cleanly instead of 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 manual recovery

A normal interrupt asks active work to stop cleanly. Pending tool calls cancel right away. If a running tool call doesn’t finish within 10 seconds (override with ATOMIC_TOOL_ABORT_GRACE_MS), the turn moves on with an abort notice and ignores late output from that call.
Recover a stuck dialog or session with Ctrl+C: If a custom extension dialog stops responding, Ctrl+C closes it. If the session process stops answering—or a cancel or queue-clear stalls for more than one second—Ctrl+C restarts the session process. Recovery never triggers automatically. Check /tasks and the transcript before repeating an interrupted action.
If sending fails, Atomic restores your unsent text (including pasted content) ahead of anything typed meanwhile and keeps later queued messages in order. See Application keybindings.

Sessions and project instructions

Atomic saves sessions automatically in ~/.atomic/workflows/journal.sqlite by default, with opt-in JSONL directories and shared PostgreSQL session storage. Resume from the shell with atomic -c, atomic -r, atomic --session <id|prefix>, atomic --fork <id|prefix>, atomic --name "<name>", atomic --import <file>, or run ephemerally with atomic --no-session. See Manage sessions, Manage context and compaction, and CLI session options. Atomic loads project instructions (AGENTS.override.md, AGENTS.md, or CLAUDE.md) automatically for trusted projects and supports SYSTEM.md and APPEND_SYSTEM.md. See Add project instructions or disable them for one run with --no-context-files (-nc). To search or read earlier sessions from inside a conversation, use history://. See Recall earlier work.

Export and share sessions

Use these commands to export, import, or share saved sessions:
  • Export to HTML or JSONL: Run /export [<path>]. Without a filename, Atomic writes atomic-session-<id>.html in the current directory (or atomic-session-<file>.html, named after the JSONL file, on JSONL stores). Pass a path ending in .jsonl (case-insensitive) to export the active branch as JSONL. Wrap paths containing spaces in matching quotes ("..." or '...'). In exported HTML, press T to toggle thinking blocks, O to toggle tool output, and H to show hidden custom messages.
  • Import a JSONL export: Run /import <path.jsonl>. Atomic asks for confirmation before replacing the current session.
  • Share with /share: Exports a copy of the session as session.jsonl (stripping worktree snapshot contents and large tool-output blobs), uploads it as a secret GitHub gist with gh, and prints both:
    • Share URL: Opens the gist in https://bastani.ai/session/ (override with ATOMIC_SHARE_VIEWER_URL).
    • Gist: The raw GitHub gist URL.
/share requires the GitHub CLI (gh) installed and signed in (gh auth login). Press Esc or Ctrl+C during upload to cancel.
Treat exported and shared sessions as sensitive. Transcripts can include source code, file paths, and credentials—review a session before sharing it with anyone who has the link.

Troubleshoot interactive mode

Check these common fixes if interactive mode behaves unexpectedly:
  • ! and !! commands are disabled: You are viewing a subagent transcript. Press ← on an empty prompt to return to main, then run the command.
  • /reload is refused: Atomic blocks /reload while a reply is streaming or compacting. Wait for the turn to settle or press Esc, then run /reload.
  • Alt+Enter toggles fullscreen on Windows Terminal: Use Ctrl+Q to queue a follow-up and Alt+Q to pull queued messages back on Windows and WSL.
  • Session or extension dialog stops responding: Press Ctrl+C to close a stuck extension dialog or restart a stalled session process, then check /tasks before retrying.

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 turn loop, responsive UI, and context assembly.