Quickstart
This page gets you from install to a useful first Atomic session. Atomic is the loop engine for all engineering work: it runs reliable coding-agent loops with stages, tools, artifacts, verification, subagents, review gates, checkpoints, and human approvals.Prerequisites
- Node.js 24 LTS or newer — Atomic requires the latest Node LTS runtime. Check with
node --version. - A package manager — use npm (included with Node), pnpm, Yarn, or Bun. Bun installs need Bun 1.3.14+.
- Model-provider access — Use
/loginafter startup. Supports provider subscriptions and APIs.
Install
Install the published package globally with npm, pnpm, or Bun: With npm:--ignore-scripts to the install command.
Which runtime runs your workflows
How you install Atomic decides which runtime hosts it: a package-manager install runs under Node, while the standalone binaries are Bun-compiled and run under Bun. Authored workflows execute inside whichever host is active, so a workflow that reaches for aBun.* global runs only under the standalone binary and fails with Bun is not defined under an npm install. Installing Bun separately does not change that — the npm install still runs on Node. Write workflow code against APIs both hosts provide, such as node:child_process and node:fs; see Workflows for the rule and worked examples.
Alpine and musl Linux archives
For Alpine Linux, useatomic-linux-x64-musl.tar.gz on x64 or atomic-linux-arm64-musl.tar.gz on arm64. These archives provide native search and PTY bindings. Install their runtime libraries with apk add --no-cache libgcc libstdc++, then see the Alpine and musl Linux archive notes for the clipboard fallback and external Postgres or Docker requirement for durable workflows.
Then start Atomic in the project directory you want it to work on:
Uninstall
Remove the global package with the same package manager you used to install it:~/.atomic/agent/ unless you delete that directory yourself.
Authenticate
Atomic can use subscription providers through/login, or API-key providers through environment variables or the auth file.
Option 1: subscription login
Start Atomic and run:Option 2: API key
Set an API key before launching Atomic:/login and select an API-key provider to store the key in ~/.atomic/agent/auth.json.
See Providers for all supported providers, environment variables, and cloud-provider setup.
First session
On a fresh install with no prior Atomic startup state, Atomic shows a one-time first-run explanation after any What’s New notes and directly above the input box describing Atomic as a verifiable coding agent runtime for building and running agent workflows you can feel confident in. Returning users with prior startup state are marked onboarded automatically and continue directly into the normal chat UI; stored credentials by themselves do not skip the first-run explanation. The composer is the normal Atomic input from the start: type a message, run/login first if no provider is connected, open /atomic, or launch a workflow command without a special onboarding transition.
Once Atomic starts, default to a workflow for non-trivial work and for requests with inherent structure plus a verifiable objective. Implementation, build, debugging, bug fixes, migrations, features, scoped multi-file edits, validation/review work, and loop-shaped requests are workflow candidates; reserve direct chat for tiny deterministic low-risk answers or edits where tracking clearly adds more overhead than value.
Workflow-first is not builtin-only or monolithic. Atomic can discover and run named builtin, project, user, and package workflows; author a rich custom TypeScript workflow({...}) inline; and compositionally import reusable workflow definitions—including builtins from @bastani/workflows/builtin—into parent workflows with ctx.workflow(...). Nested children can nest again within maxDepth, so custom graphs can combine proven research, implementation, design, verification, and approval workflows instead of copying them. They can also classify and branch, dynamically fan out and synthesize artifacts, run adversarial repair cycles, tournament-rank candidates, and loop until checks pass with explicit bounds.
Atomic turns repeatable engineering loops into executable stages with inspectable evidence instead of relying on a markdown checklist the model may or may not follow.
For an interactive tour any time, run /atomic inside the TUI; /atomic overview, /atomic workflows, and /atomic example walk through the same flow in more depth.
Try the built-in workflows
Atomic ships with nine workflows you can run immediately. Use/workflow list to see them and /workflow inputs <name> to inspect their inputs in your environment.

key=value tokens. Values are JSON-parsed when possible, so count=5, flag=true, and prompt="multi word value" preserve useful types. If you call /workflow <name> without required inputs, the TUI opens an inline picker; pass --no-picker to skip it. Goal and Ralph support git_worktree_dir only when you explicitly want a reusable worktree, and skip PR creation unless you set create_pr=true for the post-approval final stage.
You can also launch workflows with natural language — describe the task in chat and ask Atomic to run a matching installed workflow or author a task-specific one:
Monitor and steer a run
Named workflow runs execute in the background. After launch you get the full run id; user-facing workflow surfaces show that complete UUID. You can still type the full id or a unique short prefix to inspect, connect, pause, quit, or resume a run. Ambiguous prefixes are reported rather than selecting a run arbitrarily.BACKGROUND panel uses two lines per card at 80 columns and wider: the status glyph and full id are on the first line, and the workflow name plus mode/progress/elapsed metadata are on the second. Below 80 columns it collapses to a count-only line. In chat surfaces, a full id wraps onto continuation lines at narrow widths instead of being cut, and the surrounding border remains intact.
Human-in-the-loop prompts (ctx.ui.input, confirm, select, editor) surface in the graph viewer, not as chat modals — connect to the run to answer them.
Atomic also posts main-chat lifecycle notices when a run completes, fails, or awaits input. If you answer a workflow prompt in the graph or attached stage chat, the main chat receives a display-only answer summary for audit; it does not wake the model, enter LLM context, or answer later prompts. See Workflows for the full reference and authoring guide.
Top skills to invoke directly
Skills are reusable expert instructions. Trigger one with/skill:<name> followed by a request:
Impeccable 4.1.1 resolves Live sessions to the selected app root, supports SvelteKit, Nuxt, TanStack Start, Astro, Next.js, Vite, and static HTML injection, and rejects absolute, traversing, or symlinked configured write targets. Its concept roll may contact
impeccable.style; set IMPECCABLE_NO_TELEMETRY=1 or DO_NOT_TRACK=1 to disable the anonymous choice ping. The image fallback runs only with OPENAI_API_KEY, sends prompts and optional reference images to OpenAI, and spends that account’s API credit. Generated image prompts are embedded in the image or a sidecar, so do not include secrets.
Use /skill:research-codebase for a focused subsystem or question. For repository-wide research, use fan-out-and-synthesize with distinct repository partitions and an artifact synthesis barrier. Use Goal for ledger-backed bounded orchestration and Ralph for research-first delegated implementation with iterative review; task size alone does not select either workflow.
Create your own workflow in natural language
Named workflows may be builtin, project, user, or package supplied. You do not have to hand-write TypeScript to add a new workflow. Describe what you want in plain chat and Atomic will design and write it for you using the Workflows reference as the source of truth:- ask clarifying questions if stage purpose, inputs, models, or handoffs are ambiguous,
- write a
.atomic/workflows/<name>.tsdefinition that usesworkflow({ ... })and importsTypefromtypebox, - run
/workflow reloadso the generated workflow is rediscovered and can be launched with/workflow <name>, - then report the generated workflow folder so you can inspect the code it wrote, using
Custom workflow created. You can inspect its code at: <workflow-folder-path>(for example,.atomic/workflows/); Atomic does this only for newly created custom workflows, never builtin or pre-existing workflows.
@bastani/workflows/builtin.
Default tools and prompts
If you’d rather start with a plain prompt, just type a request and press Enter:read- read filesbash- run shell commandsedit- patch fileswrite- create or overwrite filesfind- discover files by glob patternsearch- search file contentsask_user_question- ask structured questions in the TUItodo- manage file-based todos
find and search in addition to read, bash, edit, and write. Atomic runs in your current working directory and can modify files there. Use git or another checkpointing workflow if you want easy rollback.
Give Atomic project instructions
Atomic loads context files at startup. Add anAGENTS.md file to tell it how to work in a project:
~/.atomic/agent/AGENTS.override.md,AGENTS.md, orCLAUDE.mdfor global instructions (legacy~/.pi/agent/also works)AGENTS.override.md,AGENTS.md, orCLAUDE.mdfrom parent directories and the current directory
AGENTS.override.md file replaces the other context files in its directory. Restart Atomic, or run /reload, after changing context files.
Common things to try
Reference files
Type@ in any interactive editor to fuzzy-search files; or pass files on the command line:
Ctrl+V for reliable image paste; native Cmd+V depends on terminal forwarding. VS Code’s terminal may forward the empty bracketed-paste route through tmux, while Ghostty may not forward its Kitty super+v route through tmux. When the clipboard has both text and an image, Ctrl+V prefers the image; Cmd+V may paste text or the image depending on how the terminal delivers the gesture.
Run shell commands
In interactive mode:!!command to run a command without adding its output to the model context.
Switch models
Use/model or CTRL+L to choose a model. Use SHIFT+Tab to cycle thinking level. Use CTRL+P / SHIFT+CTRL+P to cycle through scoped models.
Continue later
Sessions are saved automatically:/resume, /new, /tree, /fork, and /clone to manage sessions.
Non-interactive mode
For one-shot prompts:--mode json for JSON event output or --mode rpc for process integration.
Next steps
- Using Atomic - interactive mode, slash commands, sessions, context files, and CLI reference.
- Workflows - run, inspect, and author multi-stage automation (including the built-in workflows).
- Skills - reusable expert instructions invoked with
/skill:<name>. - Providers - authentication and model setup.
- Settings - global and project configuration.
- Keybindings - shortcuts and customization.
- Atomic Packages - install shared extensions, skills, prompts, and themes.