[agent]
provider = "openrouter"
default_model = "x-ai/grok-4-fast:free"
ui_surface = "inline"
[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"
[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"
[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"
cargo_check = "allow"
cargo_build = "prompt"
cargo_test = "allow"
cargo_clippy = "allow"
cargo_fmt = "allow"
git_status = "allow"
git_diff = "allow"
git_log = "allow"
srgn = "prompt"
git_push = "prompt"
[commands]
allow_list = ["ls", "pwd", "git status", "git diff", "cargo check", "echo"]
deny_list = ["rm -rf /", "rm -rf ~", "shutdown", "reboot", "sudo *", ":(){ :|:& };:"]
allow_glob = ["git *", "cargo *", "python -m *"]
deny_glob = ["rm *", "sudo *", "chmod *", "chown *", "kubectl *"]
[pty]
enabled = true
default_rows = 24
default_cols = 80
max_sessions = 10
command_timeout_seconds = 300
stdout_tail_lines = 20
[ui]
tool_output_mode = "compact"
[mcp]
enabled = true
[[mcp.providers]]
name = "time"
enabled = true
command = "uvx"
args = ["mcp-server-time"]
max_concurrent_requests = 3
[[mcp.providers]]
name = "context7"
enabled = true
command = "npx"
args = ["-y", "@upstash/context7-mcp@latest"]
max_concurrent_requests = 3
[[mcp.providers]]
name = "sequential-thinking"
enabled = true
command = "npx"
args = ["-y", "@modelcontextprotocol/server-sequential-thinking"]
max_concurrent_requests = 3