Skip to main content

Crate vtcode_battery_pack

Crate vtcode_battery_pack 

Source
Expand description

§vtcode-battery-pack

Curated battery pack of VT Code crates for building Rust coding agents.

§What’s Included

FeatureCratesDescription
configvtcode-configConfig loader
commonsvtcode-commonsShared traits, telemetry, error types
macrosvtcode-macrosProcedural macros
protocolsvtcode-acpACP protocol support
executionvtcode-bash-runner, vtcode-exec-eventsShell sandbox, PTY, telemetry
statevtcode-session-storeSession state, loop persistence, progress
toolsvtcode-utility-tool-specs, vtcode-indexerTool schemas, code indexing, search
evalvtcode-evalAgent evaluation framework
authvtcode-authOAuth and credential storage

§Usage

cargo bp add vtcode-battery-pack

Or pick a subset:

cargo bp add vtcode-battery-pack --features core,llm,tools

§Presets

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

§Note

vtcode-core and vtcode-ui are not included because the currently published versions on crates.io have compilation issues. They will be added once fixed.

§License

Licensed under either of:

at your option.

§Battery pack contents

§Authentication

OAuth and credential storage

NameDescription
authAuthentication and OAuth

§Core Runtime (pick at most one)

Agent runtime, TUI, and event loop

NameDescription
configConfiguration loader
coreCore agent runtime and TUI

§Evaluation

Agent evaluation framework

NameDescription
evalAgent evaluation framework

§Execution

Shell execution, PTY management, and telemetry

NameDescription
executionShell execution and telemetry
Crates: vtcode-bash-runner, vtcode-exec-events

§Agent Protocols

Open protocols: ACP (Zed)

NameDescription
protocolsAll agent protocols: ACP

§State & Memory

Session state, durable loop state, and progress tracking

NameDescription
stateSession state and loop persistence

Tool specs, code indexing, fuzzy search

NameDescription
toolsTool specs and code indexing
Crates: vtcode-indexer, vtcode-utility-tool-specs

§Dependencies

NameDescription
vtcode-commonsShared traits for paths, telemetry, and error reporting reused across VT Code component extractions
vtcode-macros