title: Configuration description: .dkod/config.toml reference — agents, redaction rules, and capture settings.
Configuration
dkod is configured via .dkod/config.toml in your repository root. Created by dkod init.
Full reference
# .dkod/config.toml
# Which agents to capture (all enabled by default)
[agents]
claude-code = true
codex = true
copilot-cli = true
gemini-cli = true
cursor = true
opencode = true
factory-ai = true
# Redaction settings
[redact]
enabled = true
patterns = [
"builtin:aws",
"builtin:github_token",
"builtin:openai_key",
"builtin:stripe",
"builtin:env_assignment",
]
custom = []Sections
[agents]
Enable or disable capture for specific agents. When disabled, dkod capture <agent> will skip the agent and run it without capture.
[redact]
Controls secret stripping before sessions are stored. See Redaction for full details.
enabled— master switch (default:true)patterns— list of built-in pattern names to applycustom— list of regex patterns to apply in addition to built-ins
File location
The config file must be at .dkod/config.toml relative to the repo root. dkod init creates it with default values.
Committing the config
.dkod/config.toml should be committed to your repo so all team members share the same capture and redaction settings.