# Meerkat default configuration template.
# This file is used to bootstrap ~/.rkat/config.toml when missing.

[agent]
model = "claude-opus-4-6"
max_tokens_per_turn = 16384
budget_warning_threshold = 0.8

[models]
anthropic = "claude-opus-4-6"
openai = "gpt-4.1"
gemini = "gemini-1.5-pro"

max_tokens = 8192

[shell]
program = "nu"
timeout_secs = 30
security_mode = "unrestricted"
security_patterns = []

[rest]
host = "127.0.0.1"
port = 8080

[sub_agents]
# "inherit" = use parent agent's provider/model
default_provider = "inherit"
default_model = "inherit"

[sub_agents.allowed_models]
anthropic = ["claude-opus-4-6", "claude-sonnet-4-5", "claude-opus-4-5"]
openai = ["gpt-5.2", "gpt-5.2-pro"]
gemini = ["gemini-3-flash-preview", "gemini-3-pro-preview"]

[store]
# database_dir = "/path/to/db"  # redb session database directory (server surfaces)

[compaction]
auto_compact_threshold = 100000
recent_turn_budget = 4
max_summary_tokens = 4096
min_turns_between_compactions = 3

[hooks]
default_timeout_ms = 5000
payload_max_bytes = 131072
background_max_concurrency = 32
