Config Completa

Template: Configuração Completa

{
  "gateway": {
    "port": 18789,
    "bind": "localhost"
  },
  
  "agents": {
    "defaults": {
      "model": {
        "primary": "anthropic/claude-sonnet-4",
        "thinking": "anthropic/claude-opus-4"
      },
      "contextTokens": 100000,
      "timeout": 120000,
      "compaction": {
        "mode": "auto"
      }
    }
  },
  
  "channels": {
    "telegram": {
      "token": "TOKEN",
      "allowFrom": ["ID1", "ID2"]
    },
    "whatsapp": {
      "allowFrom": ["+55..."]
    },
    "discord": {
      "token": "TOKEN",
      "guildIds": ["..."]
    }
  },
  
  "heartbeat": {
    "enabled": true,
    "intervalMs": 1800000
  },
  
  "voice": {
    "tts": {
      "provider": "elevenlabs",
      "voice": "Rachel"
    }
  }
}