Install
The CLI is included when you install SuperDialog:superdialog chat
Interactive terminal chat against a flow. No infrastructure, no API keys for Unpod, no phone number. The fastest way to test your dialog machine exactly as an end user would experience it.
| Flag | Default | Description |
|---|---|---|
--flow | flow.json | Path to flow file (JSON or YAML) |
--llm | openai/gpt-4o-mini | Model URI for runtime |
--adapter | toolcall | toolcall (1 LLM call/turn) or llm (2 calls/turn, useful for debugging) |
superdialog flow lint
Validate a flow’s graph structure. Checks for unreachable nodes, missing edges, undefined slots, and other structural errors.
superdialog flow draw
Render a Mermaid diagram of the flow graph. Paste the output into any Mermaid renderer.
superdialog flow generate
Bootstrap a flow.json from a plain-language prompt. Equivalent to calling create_dialog_flow(prompt=..., llm=...) from Python.
| Flag | Default | Description |
|---|---|---|
--llm | openai/gpt-4o-mini | Model URI used to generate the flow |
--output | flow.json | Output file path |
--from | - | Read prompt from a file instead of inline |
superdialog eval (v0.3 - planned)
Run an eval harness against a corpus of test cases.
Traversal history
Any command that runs conversations supports--traversal-dir. When set, a timestamped JSON file is written for each completed session capturing:
- Every node visited (in order)
- Every turn (user text + agent reply)
- All collected slot values