atomicStart in a repo, then dispatch a workflow when the process matters.
Use interactive sessions for quick work; dispatch workflows when you need steps, artifacts, checks, and a review gate. Type /atomic for guided setup.
atomic Define repeatable coding-agent workflows with steps, review gates, artifacts, and isolated execution. The agent writes the code. Atomic runs the process around it.
A one-off edit can stay interactive. A feature, migration, or refactor usually needs the same sequence every time: research the repo, write a spec, change code, run checks, review the diff, and keep the artifacts.
Map the subsystem, collect file references, and save repo research before changing code.
Put inputs, step order, branches, checks, reviewers, and artifacts in a workflow file.
End long runs with the diff, check output, reviewer notes, and artifacts ready to inspect.
A typical workflow has three phases: map the repo, approve the spec, then run the implementation loop.
Use it when a coding-agent routine has become important enough to repeat, review, and save.
You keep asking agents to follow the same setup, prompts, skills, or handoff pattern.
Keep prompts, steps, logs, checks, notes, and final output so you can inspect the run, not just the answer.
Store the workflow in the repo instead of relying on prompt habits or undocumented team process.
Skip it for a quick one-file edit, a short coding question, or casual interactive pairing.
Atomic tracks the path from goal to review gate: steps, handoffs, checks, artifacts, and status.
Step order, inputs, handoffs, checks, gates, and artifacts are defined. The model still generates code and text. The workflow defines the sequence it has to follow.
Put the process in a workflow file. Review it, version it, and run it from the repo.
Read workflow file syntax
import defineWorkflow from "@bastani/workflows" export default defineWorkflow"ship-feature" input"task"type"text"requiredtrue runasync ctx const plan = await ctxtask"planner"prompt await ctxtask"build"prompt"Implement:\n{previous}"previous await ctxparallel name"review"task"Review the diff" name"tests"task"Run tests, report failures" if await ctxconfirm"Open PR?" await ctxtask"ship"prompt"Open a draft PR" compile
Ask Atomic chat about any running workflow. It can report stage, completed steps, pending work, artifacts, token usage, cost, logs, failures, and anything waiting on you.
Try:what is the status? It looks like the run is in a review and validation pass after iteration 4.
Two active review subagents were launched around 09:43:
They are reviewing the current diff for concrete docs correctness issues: broken links, inaccurate changelog claims, validator false positives or negatives, and package script issues. Their input files exist, but no output artifacts were present yet when I checked.
Iterations 1 through 4 are effectively complete. The implementation notes report:
Wait for the two current review subagents to finish. If they approve, Ralph should proceed toward final PR prep. If they find a concrete issue, Ralph will loop again or apply a focused fix.
Install Atomic, run atomic, then use /atomic to set up the repo or /workflow ralph to run a feature workflow.
Run them as-is, or use them as templates for your team's workflow files.
atomicUse interactive sessions for quick work; dispatch workflows when you need steps, artifacts, checks, and a review gate. Type /atomic for guided setup.
atomic /workflow ralphralph runs a plan, simplify, and review loop from a spec or goal, then stops with the branch, artifacts, check output, and final diff ready to inspect.
Run:/workflow ralph deep-research-codebasedeep-research-codebase writes durable repo research artifacts: file maps, implementation notes, prior decisions, and sources you can load before a migration or refactor.
Run:/workflow deep-research-codebase open-claude-designopen-claude-design explores several design directions in parallel branches, then lets you compare artifacts and carry forward the one you choose.
Run:/workflow open-claude-design Atomic includes reusable skills and scoped sub-agents for research, specs, tests, review, debugging, and UI checks. Workflow files call them as focused steps.
research-codebase: parallel sub-agents write a dated research doccreate-spec: turn research into an executable specsubagent: delegate scoped steps to bundled agentsintercom: coordinate across sessions on the same machineprompt-engineer: sharpen prompts, research questions, workflow inputstdd: red→green→refactor with a testing guideplaywright-cli: drive a real browser for tests and scrapingimpeccable: design, audit, and polish frontend UIcodebase-locator: find files, dirs, and components fastcodebase-analyzer: deep-dive a component's implementationcodebase-pattern-finder: surface similar implementations and usagecodebase-online-researcher: fetch authoritative web docscodebase-research-locator: find prior research docs in research/codebase-research-analyzer: extract decisions and rationalecode-simplifier: clean up without changing behaviordebugger: chase down errors, test failures, odditiesAtomic runs on Pi, the coding-agent runtime behind its TUI, providers, tools, sessions, MCP, skills, and extensions. You can use workflows without learning Pi first.
TypeScript modules that add tools, commands, hooks, providers, and UI components.
1:1 messaging between sessions on the same machine for planner-worker workflows.
Reusable prompt templates and themes (Catppuccin, Tokyo Night, your own, hot-reloaded).
Bundle workflows, skills, extensions, prompts, and themes. atomic install npm:… or git:….
0.8.30 Bumped the bundled upstream pi runtime libraries `@earendil-works/pi-agent-core`, `@earendil-works/pi-ai`, and `@earendil-works/pi-tui` from `^0.79.3` to `^0.79.4`, added `semver` as an explicit runtime dependency for package/version checks, and aligned companion extension peer ranges so Atomic inherits upstream provider/model metadata updates, agent-core fixes, the new terminal background-color query used by first-run theme detection, and shared TUI wrapping/keyboard compatibility fixes. 0.8.29 Added support for local `-e <dir>` extension sources to borrow project-local Atomic resources from `<dir>/.atomic`, legacy `<dir>/.pi`, and `<dir>/.agents/skills` after resolving trust for that extension source, preserving package-manager provenance and explicit-path workflow forwarding while avoiding untrusted borrowed resources ([#1354](https://github.com/bastani-inc/atomic/issues/1354)). 0.8.28 Added optional inline free-form text entry to the `ask_user_question` TUI's **Chat about this** footer row. Non-empty typed chat text now returns as a `kind: "chat"` answer surfaced to the agent without the legacy stop/wait termination envelope, while empty submissions keep the existing sentinel behavior.
Install once, run atomic in a repo, then sign in with /login or an API key. Use /atomic for setup, or /workflow ralph for feature work that needs a spec, checks, artifacts, and a review gate.
Atomic includes a coding-agent runtime, but the focus is the workflow layer: repeatable steps, artifacts, checks, reviewer passes, and review gates for complex engineering work. Quick interactive tools are still the right fit for one-off edits.
Use those for quick interactive sessions. Use Atomic when the work needs repeatable steps, saved artifacts, tests, lint, reviewer passes, and a review gate before handoff.
Markdown documents the process. Atomic runs it: steps, inputs, artifacts, checks, approvals, and handoffs are part of the run instead of another checklist the agent has to remember.
Atomic makes the workflow explicit and repeatable. The selected model still generates the code and text, so the model output itself can vary.
Open Atomic chat and ask for the workflow status. Atomic can summarize the current stage, progress so far, artifacts, token usage, estimated cost, logs, failures, and anything waiting on you.
Atomic is built around repo workflows: specs, research, plans, branches, diffs, tests, lint, artifacts, reviewers, and workflow files instead of a generic agent graph you have to adapt to coding work.