Skip to main content

Module core

Module core 

Source

Modules§

agent
auth
automation
commands
custom_provider
dotfile_protection
Dotfile protection configuration.
model
permissions
plugins
prompt_cache
provider
sandbox
Sandbox configuration for VT Code
security
skills
Skills configuration
tools

Structs§

AgentCodexAppServerConfig
AgentConfig
Agent-wide configuration
AgentOnboardingConfig
AgentPromptSuggestionsConfig
Inline prompt suggestion configuration for the chat composer.
AnthropicConfig
Anthropic-specific provider configuration
AnthropicPromptCacheSettings
Anthropic Claude cache control settings
AuthConfig
AutoModeConfig
Classifier-backed auto mode configuration.
AutoModeEnvironmentConfig
Trust-boundary configuration for auto mode.
AutomationConfig
Automation-specific configuration toggles.
BundledSkillsConfig
Bundled skills configuration.
CommandsConfig
Command execution configuration
CopilotAuthConfig
CustomProviderCommandAuthConfig
Command-backed bearer token configuration for a custom provider.
CustomProviderConfig
Configuration for a user-defined OpenAI-compatible provider endpoint.
DeepSeekPromptCacheSettings
DeepSeek prompt caching configuration (automatic KV cache reuse)
DockerSandboxConfig
Docker sandbox configuration
DotfileProtectionConfig
Dotfile protection configuration.
EditorToolConfig
External editor integration configuration
ExternalSandboxConfig
External sandbox configuration (Docker, MicroVM)
FullAutoConfig
Controls for running the agent without interactive approvals.
GatekeeperConfig
Gatekeeper mitigation configuration (macOS only)
GeminiPromptCacheSettings
Gemini API caching preferences
MemoriesConfig
Codex-compatible memories configuration.
MicroVMSandboxConfig
MicroVM sandbox configuration
ModelConfig
Model-specific behavior configuration
MoonshotPromptCacheSettings
Moonshot prompt caching configuration (leverages server-side reuse)
NetworkAllowlistEntryConfig
Network allowlist entry
NetworkConfig
Network egress configuration
OpenAIAuthConfig
OpenAIConfig
OpenAI-specific provider configuration
OpenAIHostedShellConfig
OpenAI hosted shell configuration.
OpenAIHostedShellDomainSecret
Per-domain secret injected by the OpenAI hosted shell runtime.
OpenAIHostedShellNetworkPolicy
Request-scoped network policy for OpenAI hosted shell environments.
OpenAIManualCompactionConfig
Manual compaction defaults for the native OpenAI /responses/compact flow.
OpenAIPromptCacheSettings
OpenAI prompt caching controls (automatic with metrics)
OpenAIToolSearchConfig
OpenAI hosted tool search configuration.
OpenResponsesConfig
Open Responses specification compliance configuration
OpenRouterAuthConfig
Configuration for OpenRouter OAuth authentication.
OpenRouterPromptCacheSettings
OpenRouter passthrough caching controls
PermissionsConfig
Permission system configuration - Controls command resolution, audit logging, and caching
PersistentMemoryConfig
PluginRuntimeConfig
Runtime configuration for dynamic plugin loading.
PromptCachingConfig
Global prompt caching configuration loaded from vtcode.toml
ProviderPromptCachingConfig
Per-provider configuration overrides
ResourceLimitsConfig
Resource limits configuration
SandboxConfig
Sandbox configuration
ScheduledTasksConfig
Controls for the built-in scheduled task subsystem.
SeccompConfig
Linux seccomp configuration
SecurityConfig
Security configuration
SensitivePathsConfig
Sensitive paths configuration
SkillsConfig
Skills system configuration
ToolSearchConfig
Configuration for Anthropic’s tool search feature (advanced-tool-use beta) Enables dynamic tool discovery for large tool catalogs (up to 10k tools)
ToolsConfig
Tools configuration
WebFetchConfig
Web Fetch tool security configuration
ZaiPromptCacheSettings
Z.AI prompt caching configuration (disabled until platform exposes metrics)

Enums§

ExternalSandboxType
External sandbox type
GeminiPromptCacheMode
Gemini prompt caching mode selection
OpenAIHostedShellEnvironment
How VT Code should provision OpenAI hosted shell environments.
OpenAIHostedShellNetworkPolicyType
Hosted shell network access policy.
OpenAIHostedSkill
Hosted skill reference mounted into an OpenAI hosted shell environment.
OpenAIHostedSkillVersion
Hosted skill version selector for OpenAI Responses hosted shell mounts.
OpenAIPreferredMethod
OpenAIPromptCacheKeyMode
OpenAI prompt cache key derivation mode.
OpenAIServiceTier
Native OpenAI service tier selection.
PermissionMode
Unified permission mode for authored policy evaluation.
PluginTrustLevel
Trust model for third-party plugins.
PromptFormat
Prompt format for skills section (Agent Skills spec)
ResourceLimitsPreset
Resource limits preset
SandboxMode
Sandbox mode following the Codex model
SeccompProfilePreset
Seccomp profile preset
SkillsRenderMode
Skills rendering mode
ToolPolicy
Tool execution policy

Functions§

build_openai_prompt_cache_key
Build a stable OpenAI prompt_cache_key for requests that should share provider-side cache routing.
tool_call_delay_for_rate
tool_loop_limit_reached