Skip to content

Slash commands

Slash commands give you live control over the agent's configuration, tools, and session state without leaving the chat prompt. Every command is available through the / palette - type / at an empty prompt, then filter by typing, navigate with Up / Down, and confirm with Enter. Pressing Esc closes the palette without running anything.

Quick reference

Command What it opens
/model Model picker - choose the planner model, set idle timeout, browse and download local models, manage remote models
/tools Two-level tool browser - all agent tools grouped by capability set, with their tier
/mcp MCP server list - servers, their tools, and per-server approval mode
/config Config editor - capabilities, lazy tools, sandbox mode, context compaction, prefill cache, and logging
/compact Compact the current conversation immediately
/help Keyboard reference and command list
/fresh Start a new conversation (mints a fresh session id)
/reset Start a new conversation (alias for /fresh)
/clear Clear the visible screen (keeps the current session and history)
/exit Quit Ripple
/quit Quit Ripple (alias for /exit)

/model - model picker

Opens a unified overlay for managing the planner model. The overlay has three tabs:

  • Select - choose an on-device MLX model or a registered remote model as the planner for this session. Also shows the idle timeout setting (how long Ripple holds a loaded model in memory before unloading it).
  • Local - browse the Hugging Face model catalog, see which models are already in the local cache (~/.cache/huggingface/hub/), and trigger downloads from within the chat.
  • Remote - browse OpenRouter's free model catalog, add models to your registry, and remove ones you no longer want.

Switching models takes effect for the next turn. The selected model is persisted to settings.json as selectedModel.

See Models (overview) for a full discussion of model types, config, and download options.


/tools - tool browser

A two-level browser that shows every tool the agent currently has access to:

  • Level 1 - capability sets (e.g. filesystem, shell, MCP server tools).
  • Level 2 (press Enter on a set) - the individual tools within it, each with its description.

With lazy tools on, each tool also shows its tier: a filled for a core tool (its schema is in the model's prompt) and a hollow with an [auxiliary] tag for one the agent has to find with search_tools first. A toolset that is entirely auxiliary says so under its name. Auxiliary tools are listed here because they are still fully callable - they are just not prefilled.

This is read-only - use Configuration (/config) or toolPolicy in settings.json to enable or disable tools, or to move them between tiers.


/mcp - MCP server browser

Lists every configured MCP server alongside its transport type, authentication status, and approval mode. Press Enter on a server to drill into its individual tools.

Additional actions from within the browser:

  • Press r to initiate an OAuth sign-in for servers that require it.
  • Press x to sign out (clear stored OAuth tokens) for a server.

See MCP servers for configuration details, transport types, and troubleshooting.


/config - configuration editor

An interactive editor for the session's live configuration:

  • Capabilities - enable or disable middleware (e.g. clipboard integration, screenshot access), and configure the JSONL debug transcript (Logging).
  • Lazy Tools - keep tools out of the prompt until the agent searches for them: the feature switch, the retriever (lexical or a ColBERT encoder), how many matches a search returns, and a core / auxiliary tier per toolset and per MCP server. See Lazy tools.
  • Sandbox - set the sandbox mode (off, failover, container-only).
  • Context - how full the context may get before older turns are summarized.
  • Cache - the on-disk prefill cache: whether it runs, how much room it may take, and what it is currently holding.

The Context tab

Row Key What it does
Compact at space The share of the model's context window that may fill before compaction runs, cycling 20/30/40/50/60/70/80/90%. Shows what it costs on the loaded model, e.g. 20% - 52k tokens. Persisted as compactionPercent.

Each model reports the context window its own card documents rather than a pre-shrunk one - 32k on most LFM2.5 rows, 128k on 8B-A1B and Gemma 4, 131k on LFM2.5-2.6B, 262k on Ornith and Qwen3.6 - so this threshold, not a smaller declared window, is what decides how large a conversation may grow.

That matters most on the large-window models: at the 80% default a 262k window means roughly 210k tokens before the first compaction, which is far past what a laptop will carry. Lower it on those, or on any memory-tight machine. See Context & compaction.

The Cache tab

Ripple keeps the reusable prompt prefix (system prompt + tool schemas KV) under ~/.cache/deepagents/prefix-kv, so a fresh launch resumes it and skips the multi-second prompt prefill. Snapshots run to a few hundred MB per model, so the tab shows the cost and lets you take it back:

Row Key What it does
Prefill cache space On or off. Off writes nothing new; what is already saved stays. Persisted as prefixKVCache.
Snapshots space How many saved prefixes to keep per model, cycling 2/4/6/8/12. Per model, so a planner you use occasionally keeps its warm prefix instead of being evicted by the one you use all day. Persisted as prefixKVSnapshotsPerModel.
Size limit space Ceiling on the snapshots' total size, cycling 1/2/4/8/16 GB and "no limit". The oldest go first once it is passed; the newest is never evicted. Persisted as prefixKVMaxGigabytes.
All models x The total, and deletes everything.
One row per model x That model's size, and deletes its saved prefixes.

Both limits are needed: a count alone does not bound the directory, because one model's snapshot can be larger than another model's whole allowance. Lowering either prunes immediately rather than at the next save, so the space comes back while you are still looking at the panel.

Deleting is not destructive in any lasting sense - the cache is derived, so it costs one slower turn per model and nothing else. There is no confirmation prompt for that reason.

All of these are honored by headless ripple -p runs too.

Changes made here are applied immediately for the current session and written back to settings.json. See Configuration (overview) for the full settings schema.


/compact - manual compaction

Triggers context compaction immediately, regardless of how full the context window currently is. Ripple summarizes the older turns of the conversation into a single summary turn, preserves the recent tail verbatim, and offloads the original messages to disk so nothing is lost.

Tip

Compaction also fires automatically at 80% of the model's context window (compactionPercent in settings.json). Use /compact early when you know the conversation is about to grow large (e.g. before a long coding session) to keep the context meter low.

See Context & compaction for details on the summarization strategy, configuration knobs, and recovery of original messages.


/help - keyboard and command reference

Displays the full in-app keyboard reference and command list. This is a quick in-session lookup; the complete reference is in Keyboard reference.


/fresh and /reset - new conversation

Both commands start a completely fresh conversation by minting a new session id. The old session is not deleted - it stays resumable via ripple --resume. Tool policy, model selection, and configuration carry over to the new session.

Note

/fresh and /reset are equivalent. They exist as aliases to match different muscle memories.


/clear - clear the screen

Clears the visible terminal output. The current session id, message history, and all state are preserved - /clear is purely cosmetic, unlike /fresh which starts a new session.


/exit and /quit - quit

Both commands exit Ripple cleanly. The current session is saved to disk before exit and will be available the next time you run ripple --resume.