This guide summarizes common actions and how to invoke them with vtcode. The agent exposes a suite of tools to the LLM; you interact with them via chat. When you ask to search, read, or edit files, the agent chooses an appropriate tool.
vtcode --help lists every subcommand, including niche utilities such as benchmark, notify, and session-store.
The table below maps the primary subcommands to their purpose; detailed sections for the most-used commands follow.
| Command | Purpose |
|---|---|
vtcode / vtcode chat |
Interactive TUI session |
vtcode ask <prompt> |
One-shot prompt; prints the reply without tools or a session |
vtcode exec <prompt> |
Headless execution with full agent loop; --json streams events |
vtcode eval --suite <file> |
Run an evaluation suite with pass@k / pass^k metrics |
vtcode review |
Non-interactive review of the current diff, files, or a git target |
vtcode continue |
Resume the most recent conversation; --session-id forks it |
vtcode init |
Scaffold vtcode.toml and AGENTS.md in the workspace |
vtcode init-project |
Register a project entry in the user state directory |
vtcode setup |
Run the first-time setup wizard (provider, model, permissions) |
vtcode config |
Generate or reset vtcode.toml configuration layers |
vtcode login <provider> / vtcode logout <provider> / vtcode auth |
OAuth or API-key login, logout, and status |
vtcode secret |
Store provider API keys in the OS keyring |
vtcode models |
List, set, test, and inspect providers and models |
vtcode schedule |
Durable scheduled tasks by cron, interval, or one-shot time |
vtcode tool-policy |
Allow or deny specific tools per workspace |
vtcode mcp |
Manage Model Context Protocol servers |
vtcode a2a |
Agent2Agent protocol client and server |
vtcode acp |
Start the Agent Client Protocol bridge for editors |
vtcode webmcp |
Authenticated browser editor bridge and local MCP stdio service |
vtcode skills |
Manage Agent Skills (list, create, load, validate) |
vtcode plugins |
Manage Agent Plugins (add, list, validate, remove) |
vtcode schema |
Emit built-in tool schemas for automation discovery |
vtcode analyze |
Analyze workspace structure, security, and performance |
vtcode trajectory |
Pretty-print run logs for debugging and audits |
vtcode debug capabilities |
Show which OS sandbox mechanisms are available on this platform |
vtcode debug seatbelt --cmd <argv…> |
Run a command under macOS Seatbelt with the workspace policy |
vtcode debug landlock --cmd <argv…> |
Run a command under Linux Landlock with the workspace policy |
vtcode snapshots / vtcode revert |
List and roll back to workspace snapshots |
vtcode cleanup-snapshots |
Prune old snapshots with a retention limit |
vtcode update |
Check for and install binary updates from GitHub Releases |
vtcode man |
Generate or display man pages |
vtcode man --all-pages --output man/man1 |
Write the main page and all visible command pages to a directory |
vtcode debug probes use the sandbox policy resolved for the current workspace, so they
show what an agent command would experience. A sandbox that is unavailable on the host fails
closed rather than running the probe unsandboxed.
For a local MCP connection that exposes Companion coding tasks, use
vtcode webmcp stdio --companion with an explicitly selected workspace. The
VT Code Companion guide covers package setup and host
marketplaces. The CLI command does not install the plugin or configure a host.
| Command | Purpose |
|---|---|
/fast |
Toggle native OpenAI ultrafast or Anthropic fast on eligible models |
/fast on |
Enable fast processing at premium pricing and save the choice |
/fast off |
Clear the active provider override and restore its default speed |
Changes apply to subsequent requests and persist through the same configuration path as /model.
Enabling on another route explains which models to select; it does not switch models. Disabling also works after
switching to an unsupported route or ChatGPT subscription authentication. Each accepted command saves the choice and
rebuilds the client to reconcile configuration reloads; repeated settings produce the same configuration.
See the fast mode guide.
The TUI reminds you once per session about /fast on when using an eligible native API-key route and
fast mode is off. Using /fast dismisses the reminder. Claude speed changes affect prompt-cache reuse.
Set a persistent thread goal and let the agent keep working across turns until it is paused, cleared, or done. The goal survives restarts (restored paused, never self-driving) and accrues elapsed time and token usage while active.
| Command | Purpose |
|---|---|
/goal |
Show the thread goal (status, objective, elapsed time, token usage) |
/goal <objective> |
Set (or replace) the goal and start working on it immediately |
/goal pause |
Pause the loop (the clock stops) |
/goal resume |
Resume a paused goal and continue working |
/goal edit |
Show the saved objective (/goal <text> replaces it) |
/goal clear |
Clear the goal entirely |
/goal budget [<tokens>|0 to clear] |
Show, set, or clear the token budget |
While a goal is active, completed turns automatically continue toward the objective (up to the
cross-turn budget; type continue to resume after it exhausts). Pausing, clearing, stopping, hard
budget stops, and turns that ask for input all idle the loop instead of continuing. Pause prevents
the next automatic goal turn from starting. An already admitted turn can finish. The agent can
complete the goal with update_goal using the activation ID from get_goal, or with
GOAL ACHIEVED: followed by a same-line summary in the goal turn's verified final response.
A token budget set via /goal budget stops automatic goal continuations when usage reaches the
cap at a turn boundary. Lowering the cap to recorded usage or below takes effect immediately.
Setting the budget to 0 clears it. Provider-reported input and output are counted when usage
arrives, including cached input once. A response arriving after a pause or replacement is attributed
according to the goal state at that point. Accumulated usage carries over when the session is reopened.
An active goal prints a one-line status ([i] Pursuing goal: …) as turns settle.
In VT Code Desktop the same commands run through the goal bar above the composer, which
shows the Pursuing goal / Paused goal status with pause/resume, clear, and expand actions. The
bar's elapsed timer ticks live while the goal is active. Setting or resuming a goal during an
active Desktop turn queues its prompt. Ending the session pauses the goal.
Enter these slash commands in the interactive VT Code chat input. They summarize recorded execution without another model call.
| Command | Purpose |
|---|---|
/explain |
Latest task's goal, changes, decisions, verification, and review priorities |
/explain --scope task |
Explicitly select the latest task (the default) |
/explain --scope session |
Explain all retained tasks |
/explain --details |
Inspect public facts and evidence in Transcript Review |
/explain diagram |
Show recorded execution order and file relationships |
/explain diagram --scope session |
Show execution relationships across retained tasks |
/explain --web |
Open the live Explanation view, or create an offline report |
/explain --export html |
Export a private standalone HTML report |
Choose one output mode: the summary, --details, diagram, --web, or --export html. Add --scope task or
--scope session to any mode. The default summary has five sections and at most 20 logical lines; wrapped terminal
text can occupy more rows. Omission counts point to additional facts available in the detailed views.
- Run
/explainafter the agent finishes. Read Goal for the outcome and Review first for inspection priorities. - Run
/explain --detailsfor the full public facts. With mouse capture enabled, Alt+click a fact in Transcript Review to inspect its recorded evidence. Ordinary click and drag still select text. Use the configured review binding (defaultCtrl+T) to close the viewer. - Run
/explain diagramto inspect recorded action order, failures, delegation, and file relationships.
The latest task includes its initial request, active corrections, approval handoffs, retries, and autonomous
continuations. A new request entered while the agent is idle starts a new task. Use --scope session to include earlier
retained tasks.
- Changes attributes successful recorded file operations to the agent. A separate current workspace diff includes staged and unstaged tracked changes against HEAD; it does not establish who made them and excludes untracked files.
- Decisions shows optional public rationale reported by the agent. Missing rationale remains unavailable.
- Verification passes only for a completed recorded check with exit code zero. Pending checks and absent exit codes remain unconfirmed. Checks before later mutation attempts are marked stale, including failed or pending mutations.
- Review first lists deterministic inspection signals with reasons and evidence. A priority is not a proven bug or a claim of test coverage.
- Missing, malformed, evicted, or unavailable evidence is reported explicitly. Usage, cost, timing, and ancestry appear only when recorded.
/explain --web opens the existing WebMCP app's Explanation view when the live bridge is active. Complete browser
pairing if needed; see the WebMCP guide. Without an active bridge, the command
creates and opens an offline HTML report.
/explain --export html saves a report without opening the browser and prints its path:
.vtcode/sessions/<session-id>/derived/explain/explanation-<id>.html. Open that file directly in a browser. It embeds
redacted public facts and available evidence, supports local evidence navigation, and needs no network connection or
pairing credentials. Large or expired evidence is marked incomplete. A browser-opening failure leaves the report at
the printed path.
See the development guide for event and evidence limits.
exec, ask --print, and review are safe with no TTY. stdout carries only the result (--json streams events);
diagnostics go to stderr. Failures exit non-zero and never block on a prompt.
vtcode exec "summarize this repo" </dev/null
echo "fix the failing test" | vtcode exec --json - | jq .
VTCODE_TRUST_WORKSPACE=full-auto vtcode exec "run the checks" --workspace /tmp/work
vtcode ask "what is a monad?" </dev/null
NO_COLOR=1 vtcode --print "summarize this repo" | catWorkspace trust is fail-closed: untrusted workspaces error out. Grant once interactively, or set
VTCODE_TRUST_WORKSPACE=full-auto in CI (VTCODE_TRUST_WORKSPACE_QUIET=1 silences the notice). Missing credentials
error out with vtcode secret add <provider> / env-var guidance; no silent provider fallback. [automation.full_auto]
must be enabled for exec.
Use exec_command.cmd with rg or grep for flexible shell text search.
The default model-visible tools are exec_command, write_stdin, and apply_patch. code_search is available through
the advanced VT Code profile. It accepts a required literal query plus optional path, file_types, result_types,
and max_results. Its four result categories are recognised definitions, exact syntactic usages, literal text, and
matching paths. A usage is a same-spelling syntax occurrence, not a resolved reference. Queries use literal smart-case.
When truncated is true, narrow a filter in another call; the response does not claim an exact repository-wide total.
Use exec_command with a text search tool for arbitrary structural patterns.
Use vtcode --version to print the active config, data, state, cache, runtime, executable, and legacy roots, as well as
the migration marker and report paths. This is the quickest way to diagnose an XDG override, a sandbox environment, or a
legacy ~/.vtcode migration without relying on platform-specific guesses.
- Find TODO/FIXME with 2 lines of context in Rust files only:
Ask: Search for TODO or FIXME across the repo with 2 lines of context in Rust files.
{
"cmd": "rg -n -C 2 'TODO|FIXME' -g '*.rs' ."
}
- Literal search for
unsafe {anywhere (hidden files ignored):
{
"cmd": "rg -n -C 1 -F 'unsafe {' ."
}
- Search JavaScript files for a function name, case-insensitive:
{
"cmd": "rg -n -i 'doSomethingImportant' -g '*.js' ."
}
- Inspect files with shell commands through
exec_command.cmd, such asrg --files,sed -n,cat,head, andtail. - Edit files with
apply_patch. - Continue live shell sessions with
write_stdin.
VT Code can reopen archived sessions, continue the latest one, or fork a previous session into a new archive.
vtcode --continue
vtcode --resume session-123
vtcode --resume # interactive pickervtcode --fork-session session-123
vtcode --fork-session session-123 --session-id bugfix-branch
vtcode --resume session-123 --session-id bugfix-branch
vtcode --continue --session-id followup-branchNotes:
--session-idturns--resume ...or--continueinto a fork instead of an in-place resume.--resumewith no ID plus--session-id ...opens the interactive picker and then forks the selected session.--allexpands the picker/search scope across workspaces for resume and fork flows.
vtcode --fork-session session-123 --summarize
vtcode --resume session-123 --session-id handoff --summarize
vtcode --resume --session-id handoff --summarize # interactive picker, summarized forkSummarized forks do not copy the full transcript. VT Code starts the child session from:
- one structured conversation summary
- retained recent real user messages
- the session memory envelope
Normal forks keep the full archived transcript unchanged.
VT Code provides several quick actions directly in the chat input for faster workflow:
-
File Picker (
@) — Type@anywhere in your input to open the file picker and select files to reference in your message. This allows you to quickly mention files without typing full paths.The picker is hierarchical: with an empty query it browses one directory at a time (
Enteropens a folder,←ascends,PageUp/PageDownjump a page), and once you type it switches to a fuzzy search across the workspace. Rows show a type glyph (▸folder,▧image,⚙executable) and symlinks render their target, with dangling links flagged as(broken). PressAlt+Enteron a folder to reference it (@dir/) instead of opening it. Files and folders ignored by.gitignore,.vtcodegitignore, and the built-in sensitive-file list are never shown. -
Slash Commands (
/) — Type/at the start of input to access all available slash commands including/files,/status, and many more.
Run /splash to inspect the current CLI workspace, session, tool registry, and WebMCP listener. It omits pairing
credentials. In VT Code Desktop the same command opens Settings → Connections, refreshes bridge status, and shows the
Desktop-to-CLI protocol handshake; a standalone CLI process cannot observe another process's Desktop connection.
Each surface can hand its current thread to the other. A loaded session holds an exclusive lock for its whole lifetime (idle included), so the two directions differ: Desktop → CLI forks (both sides stay open), while CLI → Desktop loads the same thread (exit the CLI session first).
- CLI → Desktop (
/desktop, macOS only) — Opens VT Code Desktop with the current thread selected. Delivery goes through avtcode://session/<id>?workspace=<path>URL handled by the running app, so handoff to an open Desktop is instant (no new process, no reboot); a cold app launches and picks the link up on startup. When no bundle claims the scheme (dev builds, outdated installs), it falls back to resolving the app exactly likevtcode desktop(explicit path,VTCODE_DESKTOP_APP, then the standard install locations) with--session/--workspaceargv. Linking needs a saved checkpoint: threads checkpoint after every turn, so a fresh thread with no turns yet opens unlinked with a notice — run a turn and retry. With history persistence disabled the thread cannot be linked. The CLI holds the thread open until it exits, so the desktop load fails fast with a close-and-reload error until then — exit this session and reload the thread there. - Desktop → CLI — The thread-header Terminal button,
/cli, and the ⌘K "Continue in terminal" entry all open the same handoff card showingvtcode --fork-session <id>for the selected thread (the same command as Settings → Connections → Terminal). Fork, not resume: the desktop keeps the thread open, so the CLI continues an independent copy while the desktop thread stays live. Copy copies it; Continue in terminal copies it and runs it in the chosen terminal (Terminal.app runs it automatically via a generated script; iTerm2/Ghostty/Rex open at the workspace for pasting until their script handling is verified); Dismiss closes the card. The terminal is chosen in Settings → Connections. With no thread selected the button is disabled and the other entries explain why. While a turn runs, the card notes the copy includes only completed turns. - Typing
/desktopinside Desktop reports that you are already there instead of opening a second instance.
| Action | Command | Result |
|---|---|---|
| Open settings | /config (or /settings) |
Browse curated groups, or search the complete schema under Advanced settings |
| Open a section or field | /config <path> |
Jump directly to a group, Advanced index, or nested setting |
| Reset the active layer | /config reset |
Show the target file and request confirmation |
| Generate configuration | vtcode config |
Print a generated configuration document |
| Reset workspace/explicit layer | vtcode config reset |
Clear one workspace-layer file and reload the stack |
| Reset user layer | vtcode config reset --global |
Clear the canonical user config only |
| Reset project layer | vtcode config reset --project |
Clear the current project profile only |
Configuration resets preserve lower-precedence values and secure credentials. Interactive sessions live-reload safe
changes from watched layers; malformed edits retain the last valid snapshot and show a warning. See the
configuration guide for layer precedence and live-reload details. In VT Code Desktop, /config
opens a dedicated configuration page with the same groups, search, and typed editors, and /config <path> deep-links
into it; the runtime-owned sections (reset, clear, checkup, doctor, memory, tasks, jobs, log,
subprocess, notify) stay with the CLI runtime, and layer resets use vtcode config reset in the terminal.
- Slash commands are skill-backed. Each command routes through a namespaced command skill such as
cmd-statusorcmd-review. - The
/nameform remains the compatibility alias. You can also inspect or execute the same behavior through/skills info cmd-nameand/skills use cmd-name .... - Prompt-oriented slash commands such as
/revieware shipped as bundled system skills in the release binary. /reviewaccepts free-form instructions (/review Review the full diff for correctness and regressions) or legacy flags (--last-diff,--target <expr>,--file <path>, positional files,--style <style>). Instructions describe focus only and are never used as shell arguments. The command stays read-only unless the text explicitly asks to implement fixes./reviewruns as an ordinary agent turn with the session's tools and the same prompt asvtcode review, so it is recorded in the session log and works from the input queue.- To keep the default prompt lean, command skills are not injected into the runtime
## Skillsprompt section; use slash completion or/skillsdiscovery when you need them. /resumeopens archived sessions when the current run is idle./forkopens the session picker and then lets you choose between a full-copy fork and a summarized fork./compactmanually compacts the current conversation context immediately. The UI showsCompacting context...async with elapsed time, thenContext compacted · {duration} ({orig} -> {compacted} messages, {mode} compaction). Use/compact edit-promptor/compact reset-promptto manage the saved default prompt for manual compaction requests. On the local fallback path, VT Code keeps a structured summary plus retained user prompts instead of a mixed recent tail./agentinspects agent definitions and delegated child runs.@agent-nameremains a delegated child-agent control. Primary agents are switched from the TUI withShift+Tab(see Keyboard Shortcuts). The active primary agent is shown in the session header badge and influences the session's instructions, model, granular permission policy, and tool access./agent listshows all agent definitions with their availability (mode: primary,mode: subagent, ormode: all)./agent createscaffolds a new agent definition in.vtcode/agents/./planstarts or continues the planning workflow and switches to theplanprimary agent so the header badge, prompt, and tools match Plan mode. Execution agents may also suggest it for demanding or multi-phase tasks; interactive policies confirm the suggestion, while full-auto and skip-confirmations policies accept it automatically. After confirmation the header shows Plan immediately. When the plan agent needs a material clarification, the inline interview wizard presents selectable answers and resumes planning with the chosen answer. Use/plan offto cancel an active planning workflow without implementing its draft and restore the previous execution agent (build/auto)./doctorruns the setup checkup: installation, configuration, provider credentials, dependencies, MCP status, workspace links, loaded skills, reversible optimizations, and setup repairs (missing/broken config, unknown provider, invalid model, missing key, unanswered consent). Reports findings first and confirms before mutating anything. Use/doctor [--quick|--full](defaults to the interactive picker in the TUI, or a full pass elsewhere);/config checkup,/config doctor, and/checkupremain compatibility aliases./configalso has a "Diagnose & fix setup" action that jumps here, and desktop Settings has a Setup health group with the same repairs./doctor prompt-auditaudits always-loaded guidance instead of the installation. It reports instruction-file sizes and budget usage, full-content duplicates and shared long lines acrossAGENTS.md/CLAUDE.mdfiles, fenced example content that is usually derivable from the codebase, skill description cost, and configured MCP providers. The audit is read-only; apply fixes yourself./modelworks while a turn is running, including reasoning-effort selection in the model picker. The selection is shown immediately as pending the next request; the in-flight request keeps its original settings and the next model request uses the new provider, model, context budget, and reasoning effort (the same turn when it makes another request, otherwise the next turn). Header, session metadata, and persisted defaults reflect the effective selection once applied.- The model picker groups models under human-readable provider names in a stable order: frontier labs first
(OpenAI, Anthropic), then the open-source/local family (Hugging Face, Ollama, Ollama Cloud, LM Studio, llama.cpp),
then the remaining providers, with custom providers last. The CLI
/modelpicker and the desktop model palette use the same order; the active provider group is highlighted where it sits rather than moved to the top. /feedbackopens the VT Code GitHub issue form in your browser to report a bug or request a feature./donateopens a picker with the project's support links (Buy Me a Coffee and GitHub Sponsors) and opens the chosen one in your browser./secretand/config secretsopen Settings → Secrets in the terminal UI. The page shows credential sources and lets you add, delete, or migrate keys for built-in and custom providers. Deletion requires typingconfirm./secret listprints all providers, and/secret status [provider] [key-name]filters the status table./secret add <provider> [key-name],/secret delete <provider> [key-name], and/secret migrate [provider]invoke the corresponding actions directly.- Sessions without the inline TUI surface (for example turns driven through the VT Code Desktop service) degrade
interactive slash commands to plain text so a turn never wedges on a missing picker or modal:
/permissionsreports the effective mode,/modeprints the primary-agent list (/mode <name>still switches),/docsand/feedbackopen the browser directly and print the URL,/donateprints both support links,/login <provider>for browser-OAuth providers (Copilot stays available — it is CLI-driven) points atvtcode login <provider>in a terminal,/updateinstall points atvtcode update install,/config resetpoints atvtcode config reset,/clearreports that the transcript is kept, and/statsreports the disk event count. Bare/secretprints the provider status table./secret add|deletepoint to Desktop Settings orvtcode secretin a terminal.
/webmcp displays the active-session bridge status, prints a command guide, and can start the bridge inside an
interactive TUI session. Use /webmcp help to print the guide without the status details:
/webmcp
/webmcp help
/webmcp connect http://localhost:5173
/webmcp connect --replace http://localhost:5173
/webmcp pair http://localhost:5173
/webmcp pair --replace http://localhost:5173
/webmcp tools
/webmcp roots
/webmcp unpair
Use /webmcp connect <origin> (or its /webmcp pair alias) when the browser must submit real agent turns to this same
VT Code session. The printed WebSocket URL and one-time pairing code belong to that running TUI process.
For the published WebMCP app, use https://vtcode.vinhnx.chatgpt.site for the ChatGPT Site or
https://vinhnx.github.io for the GitHub Pages page at https://vinhnx.github.io/VTCode/. The path is not part of the
origin. Add both exact origins to [webmcp].allowed_origins when one listener should serve both pages.
Pair from the two sides in this order:
- In the VT Code TUI, run
/webmcp pair http://localhost:5173. - In the WebMCP editor, open Connect to a local VT Code bridge.
- Paste the TUI's WebSocket URL and one-time pairing code into the browser, then select Pair with VT Code.
Keep the TUI running. A URL and code from vtcode webmcp serve are for the headless workspace bridge and cannot receive
active-session agent turns.
If /webmcp pair <origin> reports that WebMCP is already listening, it prints the active WebSocket URL, exact browser
origin, pairing code, and expiry. A second configured origin receives a new code while existing sessions stay connected.
To revoke current sessions and replace the pairing, run /webmcp pair --replace <origin> and confirm Disconnect and
re-pair in the terminal. /webmcp unpair uses the same confirmation and closes the current browser connections.
The standalone command starts the opt-in authenticated WebSocket bridge for headless workspace operations:
vtcode webmcp serve --origin http://localhost:5173
vtcode webmcp pair --origin http://localhost:5173
vtcode webmcp status
vtcode webmcp tools
vtcode webmcp roots
vtcode webmcp unpairThe standalone vtcode webmcp unpair command cannot revoke an already running server's in-memory pairing state. It only
reports that revocation is owned by the server process. Stop that process separately with Ctrl-C to revoke its active
sessions.
The server binds to loopback and chooses an available port by default. Enter its one-time pairing code in the browser
editor. Exact origins are required; remote access must use --allow-remote --public-url wss://... behind a
TLS-terminating reverse proxy, and direct non-loopback binding is rejected. Browser confirmation cannot authorize a real
write: terminal permission or the existing explicit full-auto allowlist remains authoritative. See
WebMCP bridge development.
For a local coding companion, vtcode webmcp stdio --companion serves the same tools over stdin/stdout without a network
listener or OAuth setup. The host must launch it with a fixed --workspace; workspace trust and permissions still apply.
The optional vtcode webmcp serve --mcp --companion adds start_task, get_task, and
cancel_task to the remote MCP surface. It requires preconfigured full-auto workspace trust and retains exec
policy. Plan first, explicitly request implementation, then inspect recorded verification. See companion setup and
limits.
Read-only planning returns the final plan when inspection is sufficient; distinct shell inspections do not count as
repetitions merely because they use exec_command. Task completion still does not imply verified implementation.
For the browser walkthrough, including the WebMCP app, local pairing, connected drafts, and troubleshooting, see the WebMCP browser bridge user guide.
Use vtcode schedule when the task should survive restarts.
vtcode schedule create --prompt "check the deployment" --every 10m
vtcode schedule create --prompt "review the nightly build" --cron "0 9 * * 1-5"
vtcode schedule create --reminder "push the release branch" --at "15:00"
vtcode schedule list
vtcode schedule delete 1a2b3c4d
vtcode schedule serveSee Scheduled Tasks for session reminders, durable daemon behavior, and service installation details.
Display current configuration, available tools, and live performance metrics for the running session. Use --format to
choose text, json, or html output and --detailed to list each tool.
Inspect VT Code's built-in tool schemas at runtime so automation can discover exact tool names and input parameters without relying on stale docs.
# Full JSON document (default)
vtcode schema tools
# Compact schema descriptions for tighter context windows
vtcode schema tools --mode minimal
# NDJSON output for streaming parsers
vtcode schema tools --format ndjson
# Filter to specific tools
vtcode schema tools --name exec_command --name apply_patch--mode—minimal,progressive(default), orfull--format—json(default) orndjson--name— repeatable exact tool-name filter
Check for and install binary updates of VT Code from GitHub Releases. Updates are downloaded and verified against checksums for security.
# Check for available updates without installing
vtcode update --check
# Check for updates (same as above, default behavior)
vtcode update--check— Check for updates and display release notes without installing--force— Force update even if already on the latest version
- The command checks the GitHub API for the latest VT Code release
- It compares the remote version with your current version
- If a new version is available, it shows release notes and download information
- Interactive TUI sessions automatically check for updates on launch (short cached interval)
- Managed installs (Homebrew/cargo) show package-manager-specific update guidance
Standalone releases download the exact platform archive, verify a published SHA-256 checksum when available, safely
extract vtcode/vtcode.exe, and replace the running binary natively. Binaries built with the former updater must be
bootstrapped once with the native installer before this replacement flow can update them.
-
Check for updates:
vtcode update --check
-
Check for updates and show if you're on the latest version:
vtcode update
Manage Agent Plugins — portable packages that bundle Agent Skills and MCP servers under a
plugin.json manifest.
# Install a plugin from a git URL or local directory into ~/.agents/plugins
vtcode plugins add https://github.com/example/my-plugin
# List installed plugins with skill and MCP server counts
vtcode plugins list
# Show plugin details
vtcode plugins info my-plugin
# Validate a plugin directory without installing it
vtcode plugins validate ./my-plugin
# Uninstall a plugin
vtcode plugins remove my-pluginplugins addclones git URLs withgit clone --depth=1and requires local directories to contain a validplugin.json- Plugin MCP servers are exposed as
<plugin>.<server>providers and connect at session startup
Manage remote GPU-backed model pods over SSH. See the full feature guide in GPU Pod Manager.
# Start a pod-backed model
vtcode pods start --name llama \
--model meta-llama/Llama-3.1-8B-Instruct \
--ssh "ssh root@gpu.example.com" \
--gpu 0:A100 --gpu 1:A100 \
--gpus 2
# Inspect tracked pods
vtcode pods list
# Stream logs for one model
vtcode pods logs --name llamavtcode pods start- Launch a model on the active podvtcode pods stop- Stop one tracked modelvtcode pods stop-all- Stop every tracked model on the active podvtcode pods list- Show tracked model statusvtcode pods logs- Stream the remote log for a modelvtcode pods known-models- Show compatible and incompatible profiles
When you type an unrecognized vtcode subcommand, VT Code suggests the closest match:
$ vtcode initilize
# Did you mean?
# vtcode initSuggestions use fuzzy matching and are colorized. This also applies to slash commands inside interactive sessions.
Resume the most recent archived session:
vtcode --continue
# or in interactive mode:
# /resumeThis starts a fresh conversation with the context preserved from the last session. Use it to pick up where you left off after closing VT Code.
- The agent respects
.vtcodegitignoreto exclude files from search and I/O. - Prefer
exec_command.cmdwithrgfor fast, focused text searches with glob filters and context. - Ask for “N lines of context” when searching to understand usage in-place.
- Shell commands are filtered by allow/deny lists and can be extended via
VTCODE_<AGENT>_COMMANDS_*environment variables. - Use
vtcode update --checkregularly to stay informed about new features and security updates.