Skip to content

VTCode

VT Code is an open-source Rust terminal coding agent.

Install

$cargo install vtcode

Install command taken from the project's README or registry entry. Always review code before running it.

VT Code

An open-source coding agent for your terminal.

Plan, build, and review with hosted or local models, sandboxed tools, and resumable sessions.

Contents

Overview

Explore a codebase, plan changes, run tools, and review edits, in the interactive TUI or headless with vtcode exec. You pick the model and the permissions; the runtime handles context management, tool calls, and execution policy.

At a glance What you get
Planning Plan read-only, then review turn diffs.
Safety Auditable command policy and sandboxing.
Self-correct HOVER loop: Hypothesize, Observe,
Verify, Evaluate, Revise, Repeat on tool mismatch.
Long runs Headless exec with compaction, resumption, and logs.
Integrations MCP, Skills, plugins, and editor bridges.
Models Hosted or local providers, chosen per task.
flowchart LR
    H[Hypothesize] --> O[Observe tool evidence]
    O --> V[Verify outcome]
    V --> E[Evaluate vs hypothesis]
    E -->|mismatch| R[Revise and retry corrected]
    R --> H
    E -->|match| D[Done]

Legend: H states the expected outcome; O collects bounded tool evidence; V checks exit status and verifier result; E compares expectation against evidence; R applies an evidence-supported correction. mismatch (non-zero exit, empty search, stale patch, failed verifier, repeated evidence) loops back with corrected arguments; match exits to Done. Rereads alone are not revision. Full acceptance table: HOVER validation.

The rest of this page covers installation, configuration, a first task, and the deeper topics.

Quick start

Requirements: macOS, Linux, or Windows/WSL. Installing with Cargo also requires Rust 1.98.1+ (edition 2024).

1. Install

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Explore related