vtcode-battery-pack

July 17, 2026 · View on GitHub

Battery Pack Rust Book Blog crates.io docs.rs

vtcode-battery-pack

Curated battery pack of VT Code crates for building Rust coding agents with OS-native sandboxing, multi-provider LLM support, and extensible skills.

What's Included

FeatureCratesDescription
configvtcode-configConfig loader components shared across VT Code
commonsvtcode-commonsShared traits for paths, telemetry, and error reporting
macrosvtcode-macrosProcedural macros for VT Code
protocolsvtcode-acpACP bridge and client implementation for Zed
executionvtcode-bash-runner, vtcode-exec-eventsShell execution sandbox and execution telemetry
statevtcode-session-storeSession state, durable loop state, and progress tracking
toolsvtcode-utility-tool-specs, vtcode-indexerTool specs and code indexing/search
evalvtcode-evalAgent evaluation framework
authvtcode-authOAuth and credential storage

Quick Start

cargo bp add vtcode-battery-pack

Or pick a subset:

cargo bp add vtcode-battery-pack --features config,commons,execution

Start a new project from the minimal template:

cargo bp new vtcode-battery-pack --template minimal

Presets

  • default — execution + state + tools + auth
  • full — every crate in the pack

Why not vtcode-core / vtcode-ui?

The currently published vtcode-core and vtcode-ui versions on crates.io have compilation issues with their rmcp dependency. They also depend on internal crates (vtcode-a2a, vtcode-mcp, vtcode-llm, vtcode-skills, vtcode-safety) that are not published separately. These will be added to the battery pack once they are available and stable on crates.io.

Resources

  • Battery Pack — core tooling for creating and managing packs
  • Rust Book — guide to battery packs in the Rust ecosystem
  • Blog Post — announcing battery packs for Rust
  • VT Code — the full coding agent application these crates are extracted from

License

Licensed under either of:

at your option.