Gateway Configuration

OpenVesper reads config from (priority order):

  1. ./.openvesper.json โ€” project-specific overrides
  2. ~/.openvesper/openvesper.json โ€” global user settings
  3. config/default.json โ€” built-in defaults

Minimal config

{
  "agent": {
    "model": "anthropic/claude-opus-4-5"
  }
}

Full schema

{
  "agent": {
    "model": "<provider>/<model-id>",
    "temperature": 0.5,
    "max_tokens": 4096,
    "max_iterations": 20
  },
  "permissions": {
    "default": "ask",
    "rules": {
      "read": "allow_always",
      "external": "allow_always",
      "write": "ask",
      "execute": "ask",
      "trade": "ask"
    }
  },
  "memory": {
    "enabled": true,
    "workspace": "~/.openvesper/workspace"
  },
  "trading": {
    "dry_run": true,
    "max_position_usd": 1000
  }
}