[agent]
provider = "openrouter"
default_model = "x-ai/grok-4-fast:free"
[router.models]
simple = "x-ai/grok-4-fast:free"
standard = "x-ai/grok-4-fast:free"
complex = "x-ai/grok-4-fast:free"
codegen_heavy = "x-ai/grok-4-fast:free"
retrieval_heavy = "x-ai/grok-4-fast:free"
max_conversation_turns = 150
reasoning_effort = "medium"
refine_prompts_enabled = false
refine_prompts_max_passes = 1
refine_prompts_model = ""
enable_self_review = false
max_review_passes = 1
[agent.onboarding]
enabled = true
intro_text = "VT Code"
include_project_overview = false
include_language_summary = false
include_guideline_highlights = false
guideline_highlight_limit = 4
usage_tips = []
recommended_actions = []
chat_placeholder = ""
[security]
human_in_the_loop = true
require_write_tool_for_claims = true
auto_apply_detected_patches = false
[automation.full_auto]
enabled = false
require_profile_ack = true
profile_path = "automation/full_auto_profile.toml"
allowed_tools = ["read_file", "list_files", "grep_search", "simple_search"]
[tools]
default_policy = "prompt"
max_tool_loops = 100
[tools.policies]
read_file = "allow"
list_dir = "allow"
grep_search = "allow"
run_terminal_cmd = "allow"
curl = "prompt"
create_file = "allow"
edit_file = "allow"
delete_file = "deny"
semantic_search = "allow"
tree_sitter_analyze = "allow"
ast_grep_search = "allow"
cargo_check = "allow"
cargo_build = "prompt"
cargo_test = "allow"
cargo_clippy = "allow"
cargo_fmt = "allow"
git_status = "allow"
git_diff = "allow"
git_log = "allow"
git_commit = "prompt"
git_push = "prompt"
srgn = "prompt"
[commands]
allow_list = [
"ls",
"pwd",
"cat",
"grep",
"find",
"head",
"tail",
"wc",
"git status",
"git diff",
"git log",
"cargo check",
"cargo tree",
"cargo metadata",
"which",
"echo",
]
deny_list = [
"rm -rf /",
"rm -rf ~",
"rm -rf /*",
"shutdown",
"reboot",
"halt",
"poweroff",
"sudo rm",
"sudo chmod",
"sudo chown",
"format",
"fdisk",
"mkfs",
"dd if=",
"wget",
"curl",
":(){ :|:& };:",
]
allow_glob = [
"git *",
"cargo *",
"rustc *",
"python -m *",
"node *",
"npm *",
"yarn *",
"pnpm *",
]
deny_glob = [
"rm *",
"sudo *",
"chmod *",
"chown *",
"kill *",
"pkill *",
"systemctl *",
"service *",
"mount *",
"umount *",
"docker run *",
"kubectl *",
]
allow_regex = [
"^(ls|pwd|cat|grep|find|head|tail|wc)\\b",
"^git (status|diff|log|show|branch)\\b",
"^cargo (check|build|test|doc|clippy|fmt)\\b",
]
deny_regex = [
"rm\\s+(-rf|--force)",
"sudo\\s+.*",
"chmod\\s+.*",
"chown\\s+.*",
"docker\\s+run\\s+.*--privileged",
"kubectl\\s+(delete|drain|uncordon)",
]
[pty]
enabled = true
default_rows = 24
default_cols = 80
max_sessions = 10
command_timeout_seconds = 300
[router]
enabled = true
heuristic_classification = true
llm_router_model = ""
[telemetry]
trajectory_enabled = true