Configuration
Configuring ody
Configuration file
Configuration lives in .ody/ody.json in your project root. A global configuration can also be placed at ~/.ody/ody.json or ~/.config/ody/ody.json. When both exist, local (project-level) settings override global ones.
Config keys
Prop
Type
Example configuration
{
"backend": "claude",
"maxIterations": 5,
"autoCommit": true,
"validatorCommands": ["bun lint", "bun fmt", "bun typecheck"],
"model": "claude-sonnet-4-20250514"
}Config resolution
ody resolves configuration in the following order:
- Global config --
~/.ody/ody.jsonor~/.config/ody/ody.json(checked in that order) - Local config --
.ody/ody.jsonin the current project
Local settings are merged on top of global settings, so you can set shared defaults globally and override them per-project.