Five steps, a few minutes. Steps 1–4 use the CLI (pre-built autonomous behavior). Step 5 uses the SDK (your own workflows). Skip to step 5 if you only want the library.Documentation Index
Fetch the complete documentation index at: https://bastani.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Workflows run with the agent’s permission checks disabled so pipelines don’t block on prompts. Run them inside a devcontainer or a git worktree, not directly on your host. See the permissions model.
Prerequisites
Atomic gives your coding agent a workflow to follow — it doesn’t replace the agent or your terminal. Three things must exist on the host:- A terminal multiplexer — every stage runs inside a detachable session on a dedicated
atomicsocket (your personal tmux is untouched). On macOS/Linux this is tmux; on Windows it’s psmux. Both are auto-installed on the first non-infoatomiccommand via your platform’s package manager. - At least one coding agent, installed and authenticated — Atomic spawns the agent’s own CLI at each stage:
- Claude Code — run
claudeand authenticate - OpenCode — run
opencodeand authenticate - GitHub Copilot CLI — run
copilotand authenticate
- Claude Code — run
- The
atomicCLI — see Installation. The bootstrap script ships a prebuilt binary with no Bun/Node prerequisite.
1. Install
2. Get oriented with /atomic
Atomic ships an onboarding skill that lives inside your agent. Open a session and ask it for a tour:
/atomic for the help menu, or jump straight to a section:
| Command | What you get |
|---|---|
/atomic | Help menu — every entry point at a glance |
/atomic overview | 30-second summary of how Atomic fits together |
/atomic example | A spec-driven walkthrough using the built-in workflows |
/atomic workflows | Primer on workflows + how to author your own |
/atomic what's new | Recent releases and changes |
/atomic <question> | Free-form Q&A — the skill reads Atomic’s source if it doesn’t already know |
3. Generate context files
Still insideatomic chat, run /init. Atomic explores your codebase with sub-agents and writes CLAUDE.md / AGENTS.md, so every future session starts with the right context. See context files.
4. Run Ralph
Ralph plans, implements, reviews, and debugs a task on its own — up to 10 iterations, exiting after 2 consecutive clean reviews.-d / --detach and reattach later:
ralph, deep-research-codebase, and open-claude-design. See built-in workflows.
5. Build your own workflow
Encode your team’s process — review, CI, PR, approval, merge — as TypeScript once; everyone runs the same pipeline.src/workflows/review-to-merge/claude.ts:
src/claude-worker.ts with runWorkflow — the SDK ships pure primitives, so compose with Commander, citty, yargs, or whatever you prefer:
Next steps
Why Atomic
The problem workflows solve.
Workflows
Stages, the execution graph, and human-in-the-loop gates.
CLI commands
Every
atomic subcommand.SDK reference
defineWorkflow, runWorkflow, registries, and embedding.