The nodetool chat command starts an interactive terminal interface for conversing with language models and running
tools.
Starting the Interface
Run nodetool chat from your shell. A welcome panel appears with the current model, agent status, and workspace path.
Type /help at any time to see available commands.
CLI Commands
Commands use a / prefix. Important commands include:
- /help β Show available commands and workspace operations.
- /provider β Show current provider and authentication status.
- /providers β List available providers.
- /models β List models from the current provider.
- **/model
** β Select the language model to use. -
**/agent [on off]** β Toggle agent mode for toolβaugmented conversations. - /tools [name] β List available tools or show details for one.
- /usage β Show usage statistics for the current provider.
- /exit β Quit the chat session.
Workspace Commands
Within the chat you can manage files in a sandboxed workspace located under ~/.nodetool-workspaces. Workspace
operations do not use the / prefix:
pwdβ Print the current directory.ls [path]β List directory contents.cd [path]β Change directory.mkdir <dir>β Create a directory.rm <path>β Remove a file or directory.open <file>β Open a file with the system default application.cat <file>β Display file contents with syntax highlighting.cp <src> <dest>β Copy files or directories.mv <src> <dest>β Move or rename items.grep <pattern> [path]β Search text within files.cdwβ Jump to the workspace root.
Settings and History
Session settings are stored in ~/.nodetool_settings and command history in ~/.nodetool_history. These files allow
the chat interface to remember your model choice, agent mode, and other options between runs.