Command Line Interface
Quick Reference
language-pipes # Launch interactive TUIlanguage-pipes -c config.toml # Launch TUI with a config preloadedlanguage-pipes -c config.toml --start # Launch TUI and start serving immediatelylanguage-pipes -c config.toml run # Run headless from a config filelanguage-pipes -c config.toml config # Print the configurationlanguage-pipes keygen [output] # Generate an AES encryption keyArgument order matters.
-c/--config,--start,-v, and-hare options on the top-level command and must appear before the subcommand (run,config,keygen). For example,language-pipes run -c config.tomlfails — uselanguage-pipes -c config.toml run.
Global Options
These are parsed by the top-level language-pipes command and apply to every
subcommand. They must be given before the subcommand name.
| Option | Description | Default |
|---|---|---|
-h, --help | Show help message and exit | |
-v, --version | Print the version and exit | |
-c FILE, --config FILE | Configuration to load (see below) | Show Main Menu |
--start | Skip the startup confirmation and begin serving immediately | false |
How --config is resolved
The value passed to -c/--config is interpreted as follows:
- If it contains
.toml, it is treated as a path to a TOML file. - Otherwise it is treated as the name of a saved configuration and resolved to
<app_dir>/configs/<name>.toml.
If the resolved file does not exist, the command exits immediately with:
ERROR: <value> is not a valid path or saved configurationSee Configuration for all available properties, types, and defaults.
Commands
language-pipes (no subcommand)
Launches the interactive TUI for creating, viewing, editing, and loading configurations.
language-pipes # Open the main menulanguage-pipes -c config.toml # Open with a configuration preloadedlanguage-pipes -c config.toml --start # Open and begin serving immediately-c/--configpreloads a configuration instead of showing the main menu.--startbegins serving all configured services without waiting for confirmation.
In TUI mode the configuration file is authoritative. Environment variables and
flags do not override config values. The exceptions are machine-local settings
(LP_APP_DIR, LP_MODEL_DIR, LP_HUGGINGFACE_TOKEN), which describe the host
environment rather than the node’s behavior.
run
Start a Language Pipes server node without the TUI, streaming output to stdout.
Format:
language-pipes -c FILE runA configuration is required. If -c/--config is not provided, the command
exits with:
ERROR: --config param requiredThe configuration file is resolved the same way as the global --config option
(a .toml path, or a saved configuration name under <app_dir>/configs/).
language-pipes -c config.toml runlanguage-pipes -c node4 run # resolves <app_dir>/configs/node4.tomlconfig
Resolve a configuration file and print its settings as a human-readable report (ports, API keys, layer models, end models, and network settings).
Format:
language-pipes -c FILE configA configuration is required (-c/--config), resolved the same way as run.
Example:
$ language-pipes -c node4.toml config============================================================--- Configuration Settings ---============================================================
Job Port: 8000API Keys:- None
Layer Models:- None
End Models:- None
============================================================ DSNode Configuration Details============================================================
--- Node Settings --- Node ID: node-4 ...The output is a formatted report intended for inspection. It is not valid TOML and is not designed to be piped back into a configuration file.
keygen
Generate an AES encryption key for network communication and write it to disk.
Format:
language-pipes keygen [output]| Argument | Description | Default |
|---|---|---|
output | Output file path | network.key |
Example:
$ language-pipes keygen network.key✓ Network key generated: <key>✓ Network key saved to 'network.key'Examples
Launch the TUI with a saved configuration
language-pipes -c node4Run a node headless from a config file
language-pipes -c config.toml runRun a node headless and log to a file as well as the terminal
language-pipes -c node4.toml run | tee node4.logInspect the configuration
language-pipes -c node4.toml configGenerate a network key
language-pipes keygen network.key