惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
博客园 - Franky
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Security Blog
Microsoft Security Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园_首页
腾讯CDC
D
Docker
The Cloudflare Blog
量子位
爱范儿
爱范儿
L
LangChain Blog
博客园 - 三生石上(FineUI控件)
博客园 - 司徒正美
aimingoo的专栏
aimingoo的专栏
Blog — PlanetScale
Blog — PlanetScale
Jina AI
Jina AI
Apple Machine Learning Research
Apple Machine Learning Research
Hugging Face - Blog
Hugging Face - Blog
博客园 - 聂微东
Vercel News
Vercel News
MyScale Blog
MyScale Blog

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - vinhnx/VTCode: VT Code is an open-source coding ...
vinhnx · 2026-04-25 · via Hacker News: Show HN

VT Code

A Rust terminal coding agent with safe workspace tools, multi-provider LLM support, and open protocol integrations.

Crates.io Version  GitHub Release  Skills  Zed ACP  MCP  Ask DeepWiki

VT Code demo

Quick start

Set a provider key and launch VT Code in a project:

export OPENAI_API_KEY="sk-..."
vtcode

Common commands:

vtcode ask "write a Rust factorial function" > factorial.rs
vtcode exec "summarize the current git diff"
vtcode --resume

Features

Area What VT Code provides
Agent runtime Interactive TUI, slash commands, streaming responses, non-interactive ask and exec, resume and continue, dynamic context curation
Coding tools Safe file operations, patching, ripgrep search, fuzzy file discovery, syntax-aware code intelligence, project indexing, terminal execution
Model providers GitHub Copilot, OpenAI, Anthropic, Gemini, DeepSeek, OpenRouter, Z.AI, Moonshot AI, MiniMax, Xiaomi MiMo, HuggingFace, Ollama, LM Studio, llama.cpp, custom OpenAI-compatible APIs
Extensibility Agent Skills, MCP clients and server mode, lifecycle hooks, subagents, background subprocess agents, custom providers, editor integrations
Interoperability Open Responses, Agent2Agent, Anthropic Messages API compatibility, ATIF trajectory export
Terminal UX Rich TUI, mouse support, text selection, live command output, Ghostty VT snapshots with legacy_vt100 fallback

Installation

macOS and Linux

curl -fsSL https://raw.githubusercontent.com/vinhnx/vtcode/main/scripts/install.sh | bash

Skip optional search tools:

curl -fsSL https://raw.githubusercontent.com/vinhnx/vtcode/main/scripts/install.sh | bash -s -- --without-search-tools

Windows PowerShell

irm https://raw.githubusercontent.com/vinhnx/vtcode/main/scripts/install.ps1 | iex

Note

Windows release artifacts are best-effort and may lag behind macOS/Linux builds.

Package managers

cargo install vtcode
brew install vtcode

# Development tap
brew tap vinhnx/tap
brew install vinhnx/tap/vtcode

Tip

Official macOS/Linux release archives include ghostty-vt/ runtime libraries for richer PTY snapshots. Custom installs continue to work with the built-in legacy_vt100 backend.

More details: Installation Guide, Native Installer Guide, Ghostty VT Packaging.

VT Code supports 20 LLM providers out of the box — from cloud APIs to local inference servers — plus any OpenAI-compatible API through [[custom_providers]].

Provider Provider ID Type
OpenAI openai Cloud
Anthropic anthropic Cloud
Gemini gemini Cloud
DeepSeek deepseek Cloud
GitHub Copilot copilot Cloud
OpenRouter openrouter Cloud
Xiaomi MiMo mimo Cloud
Hugging Face huggingface Cloud
Z.AI zai Cloud
Moonshot moonshot Cloud
MiniMax minimax Cloud
Mistral mistral Cloud
Qwen qwen Cloud
StepFun stepfun Cloud
Poolside poolside Cloud
OpenCode Zen opencode-zen Cloud
OpenCode Go opencode-go Cloud
Ollama ollama Local
LM Studio lmstudio Local
llama.cpp llamacpp Local
Custom API [[custom_providers]] Any OpenAI-compatible

For detailed setup guides, see Provider Guides.

Provider spotlight: Xiaomi MiMo V2.5 Series

VT Code is happy to be part of the Xiaomi MiMo Orbit Program

Xiaomi MiMo V2.5 - Invite builders

Xiaomi's MiMo V2.5 Pro is the default model in VT Code — available as the native MiMo provider and through OpenRouter. It delivers strong performance in agentic capabilities, complex software engineering, and long-horizon tasks with a 1M context window and deep reasoning.

Xiaomi MiMo V2.5 Pro on OpenRouter

Provider Model ID Context
OpenRouter xiaomi/mimo-v2.5-pro 1M tokens
OpenRouter xiaomi/mimo-v2.5 1M tokens
Xiaomi MiMo mimo-v2.5-pro 1M tokens
Xiaomi MiMo mimo-v2.5 1M tokens

Pricing: Pay-as-you-go · Subscription · Quick Access

Read: Xiaomi MiMo documentation | OpenRouter models.

Atlas Cloud

Atlas Cloud is an LLM provider accessible through VT Code's [[custom_providers]] support — no dedicated runtime provider needed.

[agent]
provider = "atlascloud"
default_model = "deepseek-ai/DeepSeek-V3-0324"

[[custom_providers]]
name = "atlascloud"
display_name = "Atlas Cloud"
base_url = "https://api.atlascloud.ai/v1"
api_key_env = "ATLASCLOUD_API_KEY"
model = "deepseek-ai/DeepSeek-V3-0324"

Atlas Cloud provider configuration

Other custom OpenAI-compatible providers use the same [[custom_providers]] pattern.

Recommended validated Atlas chat model pool examples for default_model or vtcode ask --model <model-id> include:

  • deepseek-ai/DeepSeek-V3-0324
  • deepseek-ai/deepseek-r1-0528
  • moonshotai/Kimi-K2-Instruct
  • Qwen/Qwen3-Coder
  • google/gemini-2.5-flash
  • openai/gpt-5.2-chat
  • anthropic/claude-opus-4.5-20251101
  • zai-org/glm-4.7
  • minimaxai/minimax-m2.1
  • xai/grok-4-0709

Configuration

VT Code reads configuration from vtcode.toml in your project root. The default agent uses the MiMo provider with mimo-v2.5-pro as the default model.

[agent]
provider = "openai"
default_model = "gpt-5.4"

Useful configuration docs:

Extension points

Skills

VT Code discovers repository, user, admin, and bundled system skills using the open Agent Skills SKILL.md format.

vtcode skills list
vtcode skills info my-skill
vtcode skills create my-skill
vtcode skills validate ./.agents/skills/my-skill

Read: Agent Skills Guide.

MCP

VT Code ships as both an MCP client and server:

  • Client: connect to any MCP server for tools like Figma, Playwright, Sentry, and more.
  • Server: expose VT Code tools to external agents and editors.

Read: MCP Integration.

Agents and editors

  • Zed: native ACP support with project-wide indexing.
  • VS Code / Copilot: use the vtcode ask CLI or background agent mode.
  • Claude Code: VT Code can operate as a subagent under claude.

Read: Zed ACP Guide, VS Code Guide, Claude Code Guide.

Safety model

VT Code runs a read-restricted shell. Every command passes through a sandbox that can block dangerous operations, log activity, and enforce policy.

Layer Behavior
Shell sandbox Restricts commands to a safe subset; dangerous patterns are blocked
Tool guardrails File operations are scoped to the project directory
Subprocess isolation Background agents run in bounded, supervised subprocesses
Audit logging All tool calls are logged for review

Read: Safety Architecture, Security Hardening, Threat Model.

Protocols and exports

Protocol Purpose Docs
Open Responses OpenAI-compatible response format Open Responses
ATIF Standardized session trajectory export ATIF Trajectory Format
A2A Agent discovery, task lifecycle, streaming, JSON-RPC A2A Protocol
Anthropic Messages API Compatibility server for Anthropic-style clients Provider Guides

Benchmarks

VT Code has a pending submission to vercel/next-evals-oss, the benchmark behind the Next.js AI Agent Evaluations leaderboard.

Agent Model Status Success Rate Passed Avg Duration
VT Code MiMo V2.5 Pro Pending -- -- --
Claude Code Claude Sonnet 4 Published 72.7% 24/33 173s
Codex CLI o3 Published 66.7% 22/33 234s
Copilot Claude Sonnet 4 Published 63.6% 21/33 244s
Gemini CLI Gemini 3 Flash Published 51.5% 17/33 173s
OpenAI Codex o3 Published 48.5% 16/33 221s
Aider Gemini 3 Pro Published 45.5% 15/33 228s

Development

git clone https://github.com/vinhnx/vtcode.git
cd vtcode
./scripts/run-debug.sh

VT Code uses Rust stable, edition 2024, and MSRV 1.88. The dev profile disables incremental compilation (sccache). Set CARGO_INCREMENTAL=1 to override.

Local checks:

./scripts/check-dev.sh             # fast gate (clippy, fmt, check)
./scripts/check-dev.sh --test      # + unit and integration tests
./scripts/check-dev.sh --workspace # + all workspace crates
./scripts/check-dev.sh --lints     # + additional lints

Running tests:

cargo nextest run                   # parallel runner (preferred)
cargo nextest run -p vtcode-core    # single crate
cargo nextest run test_name         # single test by name

Launching VT Code:

./scripts/run-debug.sh   # debug build + launch
./scripts/run.sh         # release build + launch

Both auto-bootstrap the Ghostty VT runtime. Without it, PTY snapshots fall back to legacy_vt100.

Read: Development Setup, Testing, CI/CD.

Contributing

Contributions are welcome -- typos, docs, bugs, code, ideas. Start with open issues or good first issues. For AI agents, read AGENTS.md first. Humans should also read CONTRIBUTING.md.

Support

VT Code is built in my spare time and shared freely with the community. If it helps you ship code, learn, experiment with agents, or save a few hours, a small donation helps me keep improving it.

You can support ongoing development at buymeacoffee.com/vinhnx. Stars, issues, feedback, and word of mouth also mean a lot.

Buy Me a Coffee QR code

Star History

If you find VT Code useful, please consider starring the repository. It helps more developers discover the project and gives the community a visible signal that the work is valuable.

Star History Chart

License

This repository is licensed under the MIT License.