oh-my-graph

module
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2026 License: MIT

README

English | 한국어

oh-my-graph logo

oh-my-graph

Describe the goal — it runs the graph, on your Claude subscription.

Latest release MIT license Go 1.25 Runs on your Claude subscription

oh-my-graph

A graph-native multi-agent orchestrator whose node runtime is your own logged-in claude CLI — not the Anthropic API.

The live view mid-run — a real dogfood run (the ADR-0012 skill-mapping graph) captured live: node output feed on the left, the DAG map on the right, cost and elapsed time in the header.

What it is

Graph engineering — wiring specialized agents together as a DAG — currently forces you onto the Anthropic API, the Agent SDK, and a metered ANTHROPIC_API_KEY. Every existing graph-native orchestrator bills per token.

There is no orchestrator that drives the subscription claude CLI. That is the gap oh-my-graph fills: you describe the work as a DAG, and each node runs as a raw claude -p subprocess on the subscription you already pay for (Bring your own login has the plan and credential detail).

How oh-my-graph compares to its nearest neighbours — conductor, OMK, open-multi-agent — is surveyed in docs/PRIOR-ART.md.

What it can do

  • The engine. A graph is YAML — a list of nodes whose edges are inline depends_on ids — and each node is one claude -p subprocess under its own tool ceiling (allowed_tools, permission_mode), with parallelism emerging from the topology up to a concurrency cap. Exactly four objects in the whole codebase may spawn a process, and every one of them starts its child from an environment with ANTHROPIC_API_KEY and ANTHROPIC_AUTH_TOKEN deleted (the graph model · DESIGN.md · ADR 0002 · ADR 0005 · ADR 0006).
  • Failure is a first-class grammar. A node passes on evidence, not on self-report: success_check with an engine-run verify command, per-cause retry, graph-level on_fail, bounded feedback: review loops, auto's plan→run→assess goal cycles, human gates, and a subscription session limit that pauses the run instead of failing it — resume --retry-failed later finishes exactly the work that never ran (what else a node can declare).
  • Observation. A web live view served on 127.0.0.1 while a leg runs — or serve with no run id for a dashboard of every run at once, one live mini-DAG card each — then runs list / show / watch afterward, over an append-only events.jsonl any consumer can tail — plus a per-node cost ledger with a run total (Usage · docs/RUN-FEED.md).
  • Your own Claude setup. Nodes are the claude -p you already log into, so they inherit it; agent: runs a node as one of your own Claude Code subagents, and auto maps planned nodes onto your agents and skills (auto in depth).

The dashboard, one step up from a single run — a real dogfood board: every card is a real run of this repository's own development. The $906.1948 in the header is cumulative subscription usage across the project's whole development — not a per-run price, and not free.

What makes it different

  • The graph is an artifact, not a transcript. The DAG lives in a YAML file you version, review in a pull request and replay — the same topology, the same tool ceiling, the same prompts every time. That is the opposite of an agent improvising a fresh plan, or writing a fresh throwaway script, on every invocation.
  • A human can stand in the middle of the run. A type: gate node stops the run for approval and oh-my-graph resume continues it — from the terminal or straight from the live view — so an irreversible step waits for a person instead of for the best case.
  • Failure semantics live in the engine, not in your glue code. Evidence checks, per-cause retry, continue-or-halt policy, bounded feedback loops, gate pauses and failed-run salvage are behaviour you declare in the graph, not shell you write and maintain around it.
  • It ships itself. Dogfooding here is not a demo: this repository is built by the tool it contains. Features, fixes, docs and releases are authored by its own graphs — a claude node implements on a branch, sibling nodes run the checks and the reviews, and a final node opens the draft PR. The verifiable part, as of 2026-08-02: 23 of the 80 pull requests merged into main carry a Claude co-author trailer in their squash commit — the receipt that a claude session wrote them. Count them yourself: git log main --first-parent -i --grep="co-authored-by: claude" (24 matches: those 23 squash commits plus the initial commit). That trailer names the model, not the pipeline, so from 2026-08-02 on, commits authored by a graph lane also carry Co-Authored-By: oh-my-graph <graphs@oh-my-graph.dev> — a transparency convention, not proof of authorship; see CONTRIBUTING.md. The templates in graphs/ are not samples: self-dev.yaml, adr-driven-dev.yaml and apply-flags.yaml are the pipelines this repo ships itself with, and a full dogfooding run is walked through in docs/EXAMPLES.md.

How to use it

Two paths, both runnable in a minute: let auto plan the graph from a plain-language goal, or write the YAML yourself when you want precise control.

The easy path — install, init, state a goal

go install github.com/jitokim/oh-my-graph/cmd/oh-my-graph@latest

# Write the example graphs that ship inside the binary into ./graphs/:
oh-my-graph init

# Zero config — describe the goal and let auto plan the graph:
oh-my-graph auto "lint this repo and summarize the findings" --input repo=$PWD

# Or run a shipped graph — the cheapest real smoke test (a few cents):
mkdir -p /tmp/omg-smoke
oh-my-graph run graphs/haiku-smoke.yaml --input dir=/tmp/omg-smoke

go install copies one executable and nothing else, so init unpacks the example graphs embedded in that executable into ./graphs/ — including ./graphs/fragments/, the shared node shapes two of those templates cite with use:, without which they would not load. Pass a directory (oh-my-graph init <dir>) to write to <dir>/graphs/ instead. It never overwrites: if any target file already exists it names that path and writes nothing at all.

No ANTHROPIC_API_KEY needed — the smoke test runs on your logged-in claude subscription; if the key (or ANTHROPIC_AUTH_TOKEN) is set in your shell, it's deleted from each node's subprocess environment before that node runs (see Bring your own login below).

auto is the zero-config default: one claude call (through the same subscription-auth, env-scrubbed runner) turns the goal into a graph spec, which is validated and executed by the same engine. The plan is printed before it runs, and the generated spec is saved to ~/.oh-my-graph/runs/<run-id>/graph.json — since JSON is valid YAML you can hand-edit it and re-run it with oh-my-graph run. A planned node can never use permission_mode: bypassPermissions; custom YAML remains the path for precise control. Its knobs — goal cycles, agent mapping, skill mapping — are in auto in depth below.

While a graph runs you'll see a live line per node — ▶ write running…, then ✓ write PASS $0.0091 4.2s — the terminal is never silent during a multi-node run. At the end you get a ledger: one row per node (session id, cost, verdict, detail) and the total cost. The shipped graphs/haiku-smoke.yaml above (two nodes: write then critique, wired by the default artifact handoff) is the cheapest real end-to-end check of all of it:

Running graph "haiku-smoke" (run 20260729-101532)

▶ write  running…
✓ write  PASS  $0.0091  4.2s
▶ critique  running…
✓ critique  PASS  $0.0034  2.1s

Run 20260729-101532 — 2 node(s)
NODE             VERDICT    SESSION                     COST(USD)  DETAIL
------------------------------------------------------------------------------
critique         PASS       a1b2c3d4-e5f6-47a8-9c1…       0.0034
write            PASS       f9e8d7c6-b5a4-4321-8765…      0.0091
------------------------------------------------------------------------------
TOTAL COST: $0.0125

When stdout is a terminal, run, auto and resume also serve the web live view of the leg they are starting on an ephemeral 127.0.0.1 port and open it in your default browser; the server lives exactly as long as that leg. In a script, a pipe, or CI (stdout not a terminal) — or with --no-web — nothing is served or opened and the output is unchanged.

To watch runs that are already going, run oh-my-graph serve. With no run id it is a dashboard — the board pictured above: one port, one tab, one live mini-DAG card per run — in-flight runs first with their state, elapsed, cost and node counts, settled runs collapsed below — and clicking a card opens that run's full live view. Cards appear and settle live, so a run started after you opened the page shows up on it. It opens in your browser too (on a terminal; --no-open opts out), and oh-my-graph serve <run-id> still goes straight to that one run's view. Unlike the embedded live view above, serve is the thing you asked for: in a script, a pipe, or CI it still binds the port and serves — it just opens no browser, and its output is unchanged.

More walkthroughs — auto mode in depth, dogfooding, watching a run as it happens, ambient chat — plus per-feature recipes live in docs/EXAMPLES.md.

Prebuilt binaries

Each tagged release also publishes prebuilt binaries on the GitHub Releases page — darwin and linux, on both arm64 and amd64, as .tar.gz archives with a checksums.txt next to them. An alternative to go install when you'd rather not keep a Go toolchain around. There's no Homebrew tap, and Windows is not in the build matrix — build from source there.

Pick a tag from the Releases page, then:

VERSION=0.3.1 OS=darwin ARCH=arm64   # the tag (without the leading v) and your platform
ARCHIVE="oh-my-graph_${VERSION}_${OS}_${ARCH}.tar.gz"
curl -sSfLO "https://github.com/jitokim/oh-my-graph/releases/download/v${VERSION}/${ARCHIVE}"
curl -sSfLO "https://github.com/jitokim/oh-my-graph/releases/download/v${VERSION}/checksums.txt"
grep " ${ARCHIVE}$" checksums.txt | shasum -a 256 -c -   # on linux: sha256sum -c -
tar xzf "${ARCHIVE}"
./oh-my-graph version

Move oh-my-graph onto your PATH and the smoke test above runs unchanged.

The custom path — write the graph yourself

A graph is YAML: a name, optional inputs and concurrency, and a list of nodes. Each node is one claude -p subprocess. Edges are inline depends_on ids — there is no separate edge list, so the topology has a single source of truth. Parallelism is emergent: nodes that share a parent but don't depend on each other run concurrently, up to the cap.

name: dev-review-pr
inputs: [repo]
concurrency: 4
nodes:
  - id: dev
    cwd: "{{ inputs.repo }}"
    prompt: Implement the change and summarize what you did.
    allowed_tools: [Read, Edit, Write, "Bash(git *)"]
    permission_mode: dontAsk

  - id: e2e
    depends_on: [dev]
    cwd: "{{ inputs.repo }}"  # a session child works in its parent's tree
    handoff: session          # e2e resumes dev's session — it already knows everything dev just did
    prompt: Run make local and report PASS or FAIL.
    success_check:
      exit_zero: true
      result_matches: "PASS"          # what the node said
      verify: { command: "make local" }  # what the engine saw
    retry: { max: 1, on: [nonzero_exit, verify_failed] }

  - id: review
    depends_on: [e2e]
    permission_mode: plan     # read-only
    prompt: "Review the diff. e2e said: {{ artifacts.e2e | inline }}"

Three things worth knowing about from the start, each one line of YAML:

  • gates — a node declared type: gate stops the run for human approval, continued with oh-my-graph resume (spec).
  • feedback: — feedback: { rerun: impl, max: 2 } on a reviewer node turns a review into a bounded loop instead of an unrolled chain (ADR 0010 · demo: graphs/review-loop.yaml).
  • worktree: — parallel edit lanes, one isolated git checkout per lane name (recipe).

The full field list is in what else a node can declare below; DESIGN.md is the authoritative spec.

Recurring pipelines — write it once

A graph file is your prompt engineering, saved. The careful goal/format/rules prompt you would otherwise re-type into a chat every morning lives in the YAML once, and oh-my-graph run pipeline.yaml replays it identically on demand — daily analysis, weekly triage, release checks — on the subscription you already pay for. Within one run, handoff: session keeps the chain's context flowing, so downstream prompts stay one-liners instead of restating the goal and the format — see Handoff below.

name: daily-triage
nodes:
  - id: collect             # the careful goal/format/rules prompt lives here, once
    prompt: >
      Collect today's open issues and failing checks; list each with a
      one-line status.
  - id: analyze
    depends_on: [collect]
    handoff: session        # continues collect's conversation
    prompt: Analyze what you just collected and rank by urgency.
  - id: report
    depends_on: [analyze]
    handoff: session        # the chain keeps flowing
    prompt: Write the ranked findings up as a short report.

One boundary, stated plainly: runs do not remember each other. Each run starts fresh by design (ADR 0008 records why cross-run session reuse is deferred) — day-to-day consistency comes from the pinned prompts and the success_check / verify gates, not from Claude remembering yesterday.

Usage

oh-my-graph <init|run|auto|lint|chat|resume|runs|show|watch|serve|version> ...
subcommand purpose
init [dir] Write the example graphs embedded in the binary to <dir>/graphs/ (dir defaults to .), including the fragments/ subdirectory the templates cite with use:, listing each file written. Never overwrites — if any target file exists, the command fails naming it and writes nothing.
run <graph.yaml> Execute a hand-written DAG — the precise-control path. --dry-run validates, resolves --input interpolation, prints the plan, runs nothing.
auto "<goal>" Plan a DAG from a plain-language goal, then execute it with the same engine — the zero-config default. --max-cycles N iterates plan→run→assess up to N times (--max-goal-budget-usd adds a soft spend ceiling between cycles; requires --max-cycles of 2 or more).
lint <graph.yaml> Statically validate a graph file, reporting every problem at once. Read-only, zero cost.
chat Interactive REPL (prototype): conversational turns are answered, task-shaped turns are planned into a graph and run.
resume <run-id> ((--approve | --reject) <gate-id> | --retry-failed) Resume a run: decide the gate it is paused at, or --retry-failed to salvage a failed run — passed nodes' results are kept and only the failed and cancelled nodes re-execute. Takes --concurrency N and --no-web.
runs list List runs, newest first: graph name, node count, cost, verdict, plus a total. Read-only.
show <run-id> Print one run's per-node ledger (session, cost, verdict, duration) and the total. Read-only.
watch <run-id> Tail a run's event stream as plain text, tail -f style. Read-only.
serve [<run-id>] Web live view, bound to 127.0.0.1 only (default port 8642, --port to change). With no run id it is a dashboard: one live mini-DAG card per run, each card opening that run's view at /run/<id>/. With a run id it goes straight to that run. Opens in your browser when stdout is a terminal; --no-open, a pipe, or CI prints the URL and serves it without opening anything. Read-only except for one thing: a run paused at a gate can be approved or rejected from the page.
version Print the tool version.

run and auto share --input k=v (repeatable), --concurrency N (ceiling 10), and --continue-on-fail. Both print a live per-node feed as the graph executes, then a cost ledger. A graph can also declare the failure policy itself with graph-level on_fail: continue (default halt) — the right default for a batch of independent lanes, where one lane's failure should not cancel the others' in-flight work. The flag ORs with the field: either saying continue means continue.

lint checks structure — DAG/cycle, unknown depends_on ids, the session-handoff parent rule, verify blocks — and exits 0 when valid, 1 when not. On a valid graph it also prints advisory warning: lines to stderr for placeholder-like {{ ... }} tokens that won't resolve — a typoed filter (| inlin), a singular {{ artifact.x }}, an undeclared input, or an artifacts.<id> naming a node that doesn't exist or isn't an ancestor — plus, for a handoff: session node, a cwd/worktree that differs from its session-parent's, or a retry block (a retried attempt starts cold). Warnings never change the exit code. At run time, malformed tokens pass through verbatim (a prompt may legitimately contain literal {{ }} text), while a well-formed reference to an unbound input or unknown node fails its node when interpolation runs. run --dry-run shares that exit contract and the same warnings, and additionally proves {{ inputs.* }} resolution against your actual --input values. An in-flight run shows in runs list as RUNNING (with - placeholders until its first snapshot lands).

auto in depth — goal cycles, agents, skills

Want auto to keep going until the goal is actually met? --max-cycles N (default 1) turns one invocation into a bounded loop of up to N whole plan→run→assess cycles: after each run, a tool-stripped assessor judges the goal against the run's own recorded evidence, and if work remains, the next cycle replans around it — every cycle re-validated under the same tool ceiling, every plan and verdict printed as it happens, and a goal summary totalling each cycle's spend at the end. Exit 0 requires both a goal-met verdict and a passed final run. --max-goal-budget-usd X adds an optional soft spend ceiling checked between cycles; it requires --max-cycles of at least 2, since a single-cycle run has no cycle boundary to check it at, and the flag is rejected at parse otherwise. Stated honestly: auto is non-interactive, so an unattended --max-cycles 5 may spend five planner calls, five graphs and five assessments with nobody watching — the governance is the bound you typed, the per-cycle validation, and the printed record, not a confirmation prompt.

If you have your own Claude Code agents (~/.claude/agents, ./.claude/agents — project wins), auto also maps planned nodes onto them when a node's id clearly matches an agent's name — your review node runs as your code-reviewer. The match is deliberately conservative (one clear candidate or nothing, and an agent wanting tools beyond the node's planned allowlist is skipped with a note), every mapping is shown in the printed plan before anything runs, and --no-agent-mapping turns it off. The trade, stated up front: a mapped node loads your settings so the agent can resolve, instead of running fully settings-isolated — its declared tool list still binds.

Your Claude Code skills (~/.claude/skills only — never a project directory) reach auto runs too, by a blunter mechanism stated plainly: a planned node cannot see or invoke skills at all (measured), so when a node's id clearly matches a skill's name, the skill's SKILL.md body is copied into that node's prompt at plan time — fenced, attributed, capped at 16 KiB (oversize skills are skipped with a note, never truncated), paid for on every invocation of that node, and applied unconditionally where Claude Code itself would activate the skill only when relevant. Every inlining prints its size and a SHA-256 prefix before the run, the exact text — from which the full hash is recomputable — is snapshotted into the saved graph.json (later skill edits don't reach an already-planned run), and --no-skill-mapping turns it off. docs/EXAMPLES.md walks through the plan output, the tool ceiling, and the live node feed.

Handoff — what a child inherits

Edges say when a node runs; handoff says what it inherits from its parent.

artifact (default) session
The child inherits the parent's final reply, persisted to ~/.oh-my-graph/runs/<run-id>/<node-id>.out and substituted wherever {{ artifacts.<id> }} appears — the file path by default, the reply text itself with the | inline filter the parent's claude session, resumed with --resume: everything the parent read, did and concluded, not just its reply. The conversation, not the configuration — allowed_tools, permission_mode, agent, cwd and budget_usd are always the child's own
Parents allowed any number — fan-in and fan-out belong to artifact exactly one claude-run node (a root, a fan-in or a gate parent is rejected at load time), sharing the parent's cwd/worktree — lint warns on a mismatch
Session shape each node is a fresh claude session a sequential chain continuing one conversation

Why it matters: with artifact, context the parent didn't put into its final reply is gone — the child starts cold. With session, the child picks up mid-conversation, so a tight pipeline (implement, then test what you just built) needs no re-explaining. Session children still write their own prompt — what they inherit is the context, not the instructions.

What else a node can declare

Beyond the sample, a node can opt into (DESIGN.md is the authoritative spec):

  • agent: — run the node as one of your own Claude Code subagents, with its system prompt, tools and model (spec · recipe).
  • worktree: — parallel edit lanes in managed git worktrees, one isolated checkout per lane name (spec · recipe).
  • handoff — see Handoff — what a child inherits above (spec · recipe).
  • success_check / retry — evidence-grounded gating (exit_zero, result_matches, and the engine-run verify command) plus per-cause retry (spec).
  • budget_usd — a per-node cost cap, enforced live (--max-budget-usd) and post-hoc (spec · recipe).
  • timeout — a per-node wall-clock bound replacing the 20-minute default, for nodes whose legitimate work runs long (spec · ADR 0007).
  • feedback: — a bounded review loop without unrolling it: when a reviewer node fails its judgment, feedback: { rerun: impl, max: 2 } re-runs the path from impl back to the reviewer, handing the findings to the re-run as {{ feedback.review }} (empty on the first pass) — at most max times, every round priced in the ledger (spec · ADR 0010 · demo: graphs/review-loop.yaml).
  • use: fragments — reusable node shapes: a node says use: e2e-verify and is spliced, at load time, from a single-node fragment file in the graph's own fragments/ sibling directory, binding the fragment's declared substitution points with with: — the proven prompt, tool grant and success_check live once, upstream, so the next fix to a shared shape is one edit instead of a hand-sweep across every copy; the resolved graph is indistinguishable from a hand-written one (shipped shapes: graphs/fragments/ · ADR 0013).
  • gates — a type: gate node pauses the run for human approval, continued with oh-my-graph resume (spec).
  • failure salvage — resume <run-id> --retry-failed re-executes only a failed run's failed and cancelled nodes, keeping every passed node's artifact for its dependents (spec).
  • session limits pause, not fail — when your subscription hits its session limit mid-run, the limited node is not marked failed: the run stops launching new work, lets in-flight nodes finish, and exits with code 2 and a hint like Resume after 5:20pm with: oh-my-graph resume <run-id> --retry-failed — which later finishes exactly the work that never ran. Detection is honest string-matching on the CLI's message (it offers no structured signal), so an unrecognized wording safely degrades to an ordinary failure that the same command still salvages (ADR 0009).

Use it from Claude Code (plugin)

The CLI above is the product. To stay inside a Claude Code session instead, plugin/ is a thin plugin adding a /graph slash command — it shells out to the same oh-my-graph binary, no logic reimplemented — plus a graph-engineering agent as the lower-friction entry point: add omg () { claude --agent oh-my-graph "$@"; } to your shell rc, and omg opens a session where every turn is graph-aware. Install and usage: plugin/README.md (agent section).

Run artifacts and the run feed

Every run persists to ~/.oh-my-graph/runs/<run-id>/ (set OMG_HOME to relocate the base) — the same directory no matter where you invoke the tool from: a versioned snapshot (state.json) and an append-only event stream (events.jsonl), which runs list / show / watch / serve read back and any external consumer can tail. The layout is a documented, stable contract — see docs/RUN-FEED.md.

Nodes also run with session persistence on, so every node is an ordinary claude session in ~/.claude/projects that any tool reading those transcripts can pick up.

Bring your own login

oh-my-graph never ships credentials, never proxies auth, and never runs as a shared service. It re-uses your own already-logged-in claude session — the same standing as running claude -p yourself, or as claude-squad. It is a personal, local tool. Nodes run inside the Max/Pro plan you already pay for, with no metered key involved.

To keep that guarantee real, every node subprocess starts from your environment with ANTHROPIC_API_KEY and ANTHROPIC_AUTH_TOKEN deleted — those silently switch claude to metered API billing. The scrub is one shared policy (internal/childenv), unit-tested on its own (internal/childenv/childenv_test.go) and again at each of the four exec seams (internal/runner/claude_test.go, internal/verify/shell_test.go, internal/worktree/git_test.go, internal/browser/exec_test.go); oh-my-graph never uses --bare (which disables OAuth) and never touches the Agent SDK. Full stance: SECURITY.md.

Platform support

macOS and Linux are the supported targets; CI builds and tests on Linux. WSL is first-class: a WSL build is a Linux build and takes the identical code path — provided the claude CLI and sh live inside the distro. Native Windows compiles and runs, best-effort (no Windows CI): verify runs under cmd /c rather than sh -c, cancellation kills only the direct child, and the env scrub is case-sensitive — prefer WSL. Full platform detail, known limitations and the deferred list: docs/LIMITATIONS.md.

Development

make build      # build the binary
make test       # go test ./... -race
make vet        # go vet ./...
make fmt        # gofmt -w . (formats in place; always exits 0)
make fmt-check  # fails if any file is not gofmt-clean (the CI gate)

All engine logic is tested against a scripted FakeRunner — the test suite never spawns a real claude. The real-claude smoke (make smoke) is a manual step, never part of CI, so CI stays free.

See also: fleetops, a sibling project that reads the same ~/.claude/projects transcripts fleet-wide.

License

MIT © jitokim

Directories

Path Synopsis
cmd
oh-my-graph command
Command oh-my-graph runs a YAML-defined DAG of claude-run nodes on your own logged-in claude subscription.
Command oh-my-graph runs a YAML-defined DAG of claude-run nodes on your own logged-in claude subscription.
Package graphs embeds the pipelines this repo ships itself with, so they travel inside the binary.
Package graphs embeds the pipelines this repo ships itself with, so they travel inside the binary.
internal
browser
Package browser is the browser-open seam: it opens a URL — today, the `serve` live-view address — in the user's default browser through the operating system's own launcher (`open` on macOS, `xdg-open` on other unixes, `cmd /c start` on Windows).
Package browser is the browser-open seam: it opens a URL — today, the `serve` live-view address — in the user's default browser through the operating system's own launcher (`open` on macOS, `xdg-open` on other unixes, `cmd /c start` on Windows).
childenv
Package childenv owns the one environment policy every process oh-my-graph spawns must obey: the variables that silently switch the claude CLI from the user's logged-in subscription (OAuth) to metered API-key billing are DELETED from the child's environment.
Package childenv owns the one environment policy every process oh-my-graph spawns must obey: the variables that silently switch the claude CLI from the user's logged-in subscription (OAuth) to metered API-key billing are DELETED from the child's environment.
coordinator
Package coordinator turns a plain-language goal into a validated Graph by asking claude itself to plan the DAG — the engine behind `oh-my-graph auto`.
Package coordinator turns a plain-language goal into a validated Graph by asking claude itself to plan the DAG — the engine behind `oh-my-graph auto`.
gate
Package gate is the v1.1 human-pause seam: a `gate` node lets a graph pause for human approval before its dependents run.
Package gate is the v1.1 human-pause seam: a `gate` node lets a graph pause for human approval before its dependents run.
graph
Fragment resolution — ADR 0013.
Fragment resolution — ADR 0013.
handoff
Package handoff moves data between nodes.
Package handoff moves data between nodes.
ledger
Package ledger records what happened in a run and renders the end-of-run summary: one row per node EXECUTION (session id, cost, verdict, duration), the coordinator's one-time planning cost (auto mode only — zero and hidden for a hand-written `run`), and the total cost across the graph including that planning call.
Package ledger records what happened in a run and renders the end-of-run summary: one row per node EXECUTION (session id, cost, verdict, duration), the coordinator's one-time planning cost (auto mode only — zero and hidden for a hand-written `run`), and the total cost across the graph including that planning call.
runfeed
Package runfeed owns events.jsonl: the append-only stream of node lifecycle events written to ~/.oh-my-graph/runs/<run-id>/events.jsonl as a run executes, so an external consumer (fleetops) can tail live progress and reconstruct a run's history without parsing the human progress feed or polling state.json.
Package runfeed owns events.jsonl: the append-only stream of node lifecycle events written to ~/.oh-my-graph/runs/<run-id>/events.jsonl as a run executes, so an external consumer (fleetops) can tail live progress and reconstruct a run's history without parsing the human progress feed or polling state.json.
runner
Package runner is the claude-execution seam of oh-my-graph.
Package runner is the claude-execution seam of oh-my-graph.
runstate
Package runstate owns state.json: the resumable snapshot of a run, written atomically to ~/.oh-my-graph/runs/<run-id>/state.json after every node so that a gate pause, a Ctrl-C, or a crash can all be continued by a later `oh-my-graph resume` (see DESIGN.md, "Gate nodes and resume", and ADR 0003).
Package runstate owns state.json: the resumable snapshot of a run, written atomically to ~/.oh-my-graph/runs/<run-id>/state.json after every node so that a gate pause, a Ctrl-C, or a crash can all be continued by a later `oh-my-graph resume` (see DESIGN.md, "Gate nodes and resume", and ADR 0003).
schedule
Package schedule drives the DAG: it walks the graph in dependency order, runs the ready set concurrently under a cap, and enforces the run policy (success checks, flat retry, halt-on-fail).
Package schedule drives the DAG: it walks the graph in dependency order, runs the ready set concurrently under a cap, and enforces the run policy (success checks, flat retry, halt-on-fail).
serve
Package serve owns `oh-my-graph serve`: a web live view of ONE run — the DAG rendered in the browser with nodes colored live as they run (Airflow's Graph View, for this tool's runs).
Package serve owns `oh-my-graph serve`: a web live view of ONE run — the DAG rendered in the browser with nodes colored live as they run (Airflow's Graph View, for this tool's runs).
verify
Package verify is the evidence seam: it runs a node's success_check.verify command and reports what actually happened, so a node's success can be judged on something other than the model's own narration.
Package verify is the evidence seam: it runs a node's success_check.verify command and reports what actually happened, so a node's success can be judged on something other than the model's own narration.
worktree
Package worktree is the isolation seam: it provisions the managed git worktree a node declaring `worktree: <name>` runs in, so parallel edit lanes each get their own checkout instead of racing each other — and the user's own working tree — in the directory oh-my-graph was invoked from.
Package worktree is the isolation seam: it provisions the managed git worktree a node declaring `worktree: <name>` runs in, so parallel edit lanes each get their own checkout instead of racing each other — and the user's own working tree — in the directory oh-my-graph was invoked from.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL