Skip to content

Interactive Mode

Glue runs as an interactive REPL. Type messages, use slash commands, or enter bash mode. The agent streams responses in real-time and can call tools in parallel.

Slash Commands

CommandDescription
/approveToggle approval mode (confirm ↔ auto)
/clearClear conversation history
/configOpen config.yaml in $EDITOR, or initialize it with /config init
/copyCopy the last assistant response to the clipboard
/debugToggle debug mode (verbose logging)
/exitExit Glue
/helpShow available commands and keybindings
/historyBrowse history or fork by index/query
/mcpInspect MCP servers
/modelSwitch model (no args = picker, with arg = switch directly)
/openOpen a Glue directory in your file manager
/pathsShow Glue data paths (config, sessions, logs, skills, plans, cache)
/providerManage providers (list, add, remove, test)
/recapSummarize the current session in one line
/renameRename the current session
/resumeResume a session (panel or by ID/query)
/runtimeShow the active execution runtime
/sessionShow current session info, or /session copy to copy ID
/shareExport the current session as html, markdown, or gist
/skillsBrowse skills or activate one by name
/toolsList available tools
/usageShow token usage for this session (per role: main, subagent, title)

Keybindings

KeyAction
Ctrl+AMove to start of line
Ctrl+EMove to end of line
Ctrl+UClear entire line
Ctrl+WDelete previous word
Alt+LeftMove cursor one word left
Alt+RightMove cursor one word right
Up / DownNavigate input history
TabAccept autocomplete suggestion
PageUp / PageDownScroll output
Shift+TabToggle approval mode (confirmauto)
EscapeCancel current generation
Ctrl+CCancel generation (double-tap to exit)

See also

Released under the MIT License.