Skip to content

Slash Commands ​

UGENT provides a rich set of slash commands for the TUI and REPL. Type / in the input box to see autocomplete suggestions. This guide covers every built-in command, grouped by category.

Quick Reference

Type /help inside UGENT to see all available commands at any time.

Help and System ​

CommandDescription
/help (alias /h)Show all available commands with usage examples
/version (alias /v)Show UGENT version information
/statusShow system status — version, session, tasks, memory, LSP, MCP, plugins, cron, skills. Use /status --full for details
/reloadReload workspace configuration and rebuild runtime services. Picks up config file changes without restarting
/cd <path>Switch to a different workspace directory at runtime. Requires confirmation — re-enter the command to confirm
/clearClear chat history in the current session
/quit (aliases /q, /exit)Exit UGENT

Provider and Model ​

CommandDescription
/setupOpen the setup hub. Subcommands: llm, audio, embedding, context, doctor, legacy
/providersManage LLM instances. list to see all, use <instance> to switch the default instance, model [picker|set <name>] to change its model, model catalog <id>|clear to map it to a catalog entry, policy <instance> user-select|subagent on|off, edit to open config
/builtin-searchToggle provider-native built-in web search. on / off, optionally specify a provider instance
/with <instance[@model]> <prompt>Send one message to another instance or model. Neither default changes, and the next plain message runs on the default again

A turn's model is its own. A turn that delegates is resumed on the model it started on once its workers finish, the one /with named included, while that instance is still configured. Channel and web users choose a model of their own with /model, which the TUI and REPL do not have. See Which Model a Turn Runs On.

See also: LLM Providers

Live (Realtime Sessions) ​

In the TUI, /live holds a realtime session with a voice model. What you say and what it says both appear in the chat, each line once, and the partial transcript shows in the status line. A provider error is shown and the session carries on; it ends when you stop it or the provider closes it. One session is active at a time.

An OpenAI session runs on OpenAI's GA Realtime API, built and read by the same code as a live call in the web workspace. Unlike a call, it has no ask_agent tool and no time limit: you are talking to the voice model alone. /live is a TUI command; the REPL does not have it.

CommandDescription
/liveOpen a session on the default instance
/live <instance>Open a session on a named instance (<instance> or <provider>:<instance>)
/live say <text>Send a text turn to the active session
/live stopEnd the active session (alias: /live end)
/live statusSay whether a session is active, and on which instance

Supported Providers and Models ​

Realtime models only

The session uses the instance's [media.live] model, or its default_model when that is unset, and the name must contain realtime or live. A chat model is refused as not realtime-capable.

ProviderRealtime modelNotes
OpenAIgpt-realtime-2.1Your speech is transcribed with gpt-transcribe; turns are taken by semantic voice activity detection.
Azure OpenAIYour realtime deployment's nameAn openai-compatible instance with an Azure base_url; the resource-scoped realtime URL is built for you. api-key or Entra ID auth.
Googlegemini-3.8-liveGemini Live. Both sides are transcribed, talking over a reply interrupts it, and a session survives the server's goAway by resuming. Checked against recorded protocol frames only, not yet against the live service.

Anthropic and Ollama instances cannot hold a session. A session carries audio and text only; no video is sent.

Configuration ​

toml
[llm.instances.voice]
type = "openai"
api_key = "$OPENAI_API_KEY"
default_model = "gpt-6-luna"

[llm.instances.voice.media.live]
model = "gpt-realtime-2.1"   # on Azure, the deployment name
voice = "alloy"              # alloy when unset
input_audio = true           # capture the microphone (live-audio builds only)
output_audio = true          # ask for spoken replies

/live reads model, voice, input_audio and output_audio. enabled only decides whether the instance also serves calls in the web workspace, and /live does not read [llm.voice]; see Voice.

Audio Mode ​

With the live-audio cargo feature, /live captures the microphone (mixed to mono, resampled to 24 kHz PCM16), plays spoken replies, and stops playback when you start talking. Without it, or when no audio device can be opened, /live runs in text mode: send turns with /live say <text> and read the transcript in the chat.

Usage Example ​

text
/live voice             # Open a realtime session on the voice instance
/live say hello there   # Send a text turn
/live status            # Check session state
/live stop              # End the session

See also: Voice for voice messages, read aloud and live calls in the web workspace; OpenAI and Google AI (Gemini) for each provider's realtime settings.

Tools and Integration ​

MCP Servers ​

CommandDescription
/mcpList configured MCP services and their connection status
/mcp add <name> stdio <command> [args...]Add an MCP service with stdio transport
/mcp add <name> http <url>Add an MCP service with HTTP transport
/mcp wizardLaunch interactive MCP setup wizard
/mcp enable <name>Enable an MCP service
/mcp disable <name>Disable an MCP service
/mcp test [name]Test connection to one or all MCP services

/mcp add http takes a URL and nothing else, so it cannot configure a server that needs a bearer token. For those use ugent mcp add, which accepts --header and --token-ref and works without a REPL — the headless case.

See also: MCP Servers

LSP ​

CommandDescription
/lspShow LSP server status
/lsp startStart a language server
/lsp stopStop LSP server
/lsp restartRestart LSP server
/lsp detectDetect available language servers for the workspace
/lsp autoToggle automatic LSP startup

Security ​

CommandDescription
/firewallShow injection firewall status
/firewall pins [--changed]Show MCP pin baselines (use --changed to show only changed pins)
/firewall approve <server>Approve an MCP server's pin
/firewall approve --allApprove all pending MCP pins
/firewall resetReset all MCP pin approvals

OS Sandbox ​

CommandDescription
/sandboxShow effective sandbox status
/sandbox statusEffective state and per-class policy summary
/sandbox profile <class>Resolved policy for bash, tooling, mcp_server, external_agent, or plugin
/sandbox testProve containment is enforced right now (distinguishes sandbox EPERM from ordinary EACCES)
/sandbox reloadRe-read sandbox.toml and rebuild
/sandbox on / /sandbox offToggle for this session only

The sandbox is kernel-enforced containment for every process UGENT spawns. Human-only — never exposed as an LLM tool. See also: OS Sandbox

See also: Security & Firewall

Plugins ​

CommandDescription
/pluginList all plugins and their status
/plugin enable <name>Enable a plugin
/plugin disable <name>Disable a plugin
/plugin restart <name>Restart a plugin worker
/plugin logsView recent plugin logs

Skills ​

CommandDescription
/skillsList loaded MCP services and skills
/skills reloadReload skills from disk
/<skill_name>Execute a loaded skill by name

See also: Skills

Rules Engine ​

CommandDescription
/rulesShow usage for the subcommands
/rules reloadRe-read the rules file. On a parse error the previous rules stay and the error is only in the log; the reply is always "Rule set reloaded." In the TUI this reloads the copy /rules test uses
/rules statusSay whether a rules file is configured, and its path. It does not check that the file parsed
/rules test <message>Dry-run a message against the loaded rules, as channel cli (tui in the TUI), source type user, with no input_mode

See also: Rule Engine

Swarm ​

CommandDescription
/swarmShow swarm status
/swarm initInitialize swarm node
/swarm peersList trusted peers
/swarm connect <url>Connect to a peer
/swarm trustManage peer trust
/swarm taskDispatch a task to a peer
/swarm contextShare context with peers
/swarm revokeRevoke peer trust

External Agents ​

CommandDescription
/claudeClaude Code session management
/claude exec [prompt]Execute a Claude Code session (supports --session, --max-iterations, --yolo, --safe, --inherit, --custom)
/claude statusShow active Claude Code sessions
/claude listList all tracked sessions
/claude instancesList Claude Code instances
/codexOpenAI Codex session management (same subcommands as /claude, plus --full-auto)

Terminal Multiplexer ​

CommandDescription
/herdrToggle Herdr terminal multiplexer integration
/herdr onEnable Herdr integration
/herdr offDisable Herdr integration
/herdr statusShow Herdr integration status

Memory and Context ​

Memory ​

CommandDescription
/memoryShow memory system status
/memory statusDetailed memory store statistics
/memory remember <text>Manually record a memory entry
/memory reindexRebuild the memory search index
/memory compactTrigger memory compaction
/memory reembedRe-embed all memory entries with the current embedding model
/memory feedback <helpful|not_helpful>Provide feedback on memory recall quality
/memory openOpen the memory store directory

See also: Memory

Context Client ​

CommandDescription
/contextShow context client status
/context statusDetailed context client status (indexed files, sync state, queue)
/context sync [--since <dur>]Incremental sync — only changed files. --since accepts durations like 1h, 30m
/context sync --since-commit <ref>Sync files changed since a git commit
/context force-sync [path]Force full re-sync of all files or a specific path
/context restartRestart the context client service
/context setupConfigure context client settings interactively
/context enableEnable context client for this workspace
/context disableDisable context client for this workspace

Session and Checkpoint ​

CommandDescription
/newStart a fresh conversation (archives the current session)
/resumeResume a previous session. Shows a picker if no argument, or /resume <number> to pick directly
/compress (alias /compact)Manually compress current session context using LLM summarization
/checkpointsList all checkpoints for the current workspace
/restoreRestore a checkpoint. Shows a picker, or /restore [--force] <id-prefix> to restore directly
/recallUndo the last user message. If messages are queued, pops the most recent (LIFO). Otherwise aborts any in-flight LLM call and drops that turn from history
/steering <message>Add guidance to the currently active LLM turn — injected before the next iteration without interrupting active tool calls

Scheduling and Automation ​

Task Management ​

These act on the session's task list, the plan the agent keeps for its work. Delegated workers are in the Sub-Agents panel (/subagents); see Tasks and Checks.

CommandDescription
/task, /task status or /task listShow the task list, numbered, with each task's state
/task stop <name|index|all>Stop one or all tasks
/task continue <name|index|all>Continue paused, failed or cancelled tasks
/task force-completeMark every task completed, whatever its state

Cron Jobs ​

CommandDescription
/cronShow cron scheduler status
/cron listList all cron jobs
/cron show <id>Show details of a specific cron job
/cron addAdd a new cron job interactively
/cron add-memoryAdd a memory maintenance cron job
/cron set-scheduleModify an existing job's schedule
/cron enableEnable cron scheduling
/cron disableDisable cron scheduling
/cron task addAdd a task to a cron job
/cron task editEdit a cron task
/cron task delDelete a cron task
/cron delDelete a cron job
/cron run <id>Trigger a cron job immediately
/cron reviewReview recent cron run results and logs

Loop and Goal ​

CommandDescription
/loop <interval> <prompt>Run a prompt repeatedly at a fixed interval (e.g., /loop 5m check build status)
/loop <prompt> every <N> <unit>The same, with the interval after the prompt (e.g., /loop check build status every 10 minutes)
/loop <prompt>Self-paced: UGENT schedules each next run and stops when done
/loop status or /loop listShow this session's loop and goal runs
/loop stop <id|all>Stop one run or all of them; id prefixes are accepted
/goal <objective>Set a persistent objective that UGENT works toward across turns
/goal statusShow the goal, its progress and its latest run
/goal pausePause after the current iteration
/goal resumeResume a paused or blocked goal
/goal clearStop and delete the current goal

Configure verification gates so a goal cannot report completion until your own checks pass. See Autonomous Runs.

Continual Harness ​

Off by default; set [harness] enabled = true to make these available. Nothing a refinement proposes is applied until you approve it. Over a channel (with allow_channel_review), each user lists and decides only their own proposals, unless global_review_actors lists them for the shared set. See Continual Harness.

CommandDescription
/refine [focus]Read this session's trajectory and queue proposed edits to the durable harness. Nothing is applied
/harness (or /harness list)Show pending proposals, the approved entries, and recent refinement passes
/harness show <id>Full detail for one proposal, including the exact text that would be injected
/harness approve <id>Apply a proposal to the entry set. It reaches the model at the next turn
/harness reject <id>Discard a proposal without applying it
/harness rollback <refinement-id>Undo every approved edit from one refinement pass

UI Panels ​

These, /recall and /steering are TUI commands; the REPL does not have them.

CommandDescription
/monitorToggle the monitoring panel (also Ctrl+I) — shows metrics, resource usage, and backpressure
/debugToggle the debug log panel (also Ctrl+D) — includes memory recall and feedback lines
/status-barSwitch the bottom status bar widget. Options: mascot, pixel, toggle
/subagentsToggle the Sub-Agents panel (also Ctrl+F). Navigate with Up/Down, Enter for detail, Shift+Enter for all, q to close
/btwShow read-only status of this session's delegated sub-agents. Out-of-band — never enters the agent's context

Released under the Private Beta License.