{
  "session": {
    "dmScope": "per-channel-peer",
    "groupScope": "per-group"
  },
  "agents": {
    "ownership": "explicit",
    "entries": {
      "main": {
        "name": "Main",
        "workspace": "/REPLACE/workspace-main"
      },
      "support": {
        "name": "Support",
        "workspace": "/REPLACE/workspace-support"
      }
    }
  },
  "channels": {
    "whatsapp": {
      "dmPolicy": "allowlist",
      "allowFrom": ["+15551234567"],
      "selfChatMode": false,
      "groupPolicy": "disabled"
    },
    "telegram": {
      "enabled": true,
      "tokenFile": "/REPLACE/telegram-token.txt",
      "dmPolicy": "disabled",
      "groupPolicy": "allowlist",
      "groupAllowFrom": ["123456789"],
      "groups": {
        "-1001234567890": {
          "requireMention": true
        }
      }
    }
  },
  "bindings": [
    {
      "agentId": "support",
      "match": {
        "channel": "telegram",
        "peer": {
          "kind": "group",
          "id": "-1001234567890"
        }
      }
    },
    {
      "agentId": "main",
      "match": {
        "channel": "whatsapp"
      }
    }
  ]
}
