causal CLI is the surface for the staged/live workflow. Graphs bootstrap from documents; you approve the good triples; only the approved (live) ones are used for verification and reasoning.
Commands
Folder identifiers are the document folder tag (e.g.
billing, product-docs).
causal get
live_nodesandlive_edges— used in verification and reasoning.staged_nodesandstaged_edges— waiting for review.
--json for structured output.
Common quick check:
causal settings show / set
--connection <kind:id>— link the graph to a specific data source (e.g.documents_folder:billing).--retrieval-preset <preset-id>— the preset extraction uses to pull context.--dedup-policy <policy>— how duplicates are handled (merge,keep_newer,keep_older,keep_all).--auto-restage true|false— automatically re-bootstrap when the linked source changes.
causal bootstrap
approve.
--model <m>— model used for extraction. Defaults to workspace default.
refresh is usually what you want.
causal refresh
--auto-restage isn’t your fit.
causal approve / reject
--ids <id,…>— the specific staged row IDs. Omit to act on all STAGED.
approve:
- The rows move to LIVE.
- Verification starts using them immediately.
- STAGED still contains anything not touched by this command.
reject drops the rows without promoting. They can be re-created by the next bootstrap or refresh.
Recipes
Bootstrap a folder end-to-end from CLI
CI: fail if STAGED is too large
Prevents unbounded backlog:Selective approve after human review
Suppose your review workflow marks approvals in an external system with the row IDs. Bulk-approve them:Snapshot the LIVE graph for audit
The STAGED / LIVE model
The two-stage model exists because causal extraction is best-effort — the model proposes, you dispose. Direct edits to LIVE aren’t allowed from the CLI (use the app’s graph canvas for those). But bulk approval/rejection is what the CLI is for. If you want to hand-edit a live graph — add a specific edge, remove a wrong node — do it in the app. The CLI’s role is bulk bootstrap/refresh/approve.Related
- Causal graph overview — concepts and use cases.
- Verify agent answers — how LIVE graphs are used.
nora retrieval—--include-subgraphexpands search using the graph.