{
  "meta": {
    "lastTouchedVersion": "2026.1.24-3",
    "lastTouchedAt": "2026-02-07T08:34:26.772Z"
  },
  "auth": {
    "profiles": {
      "anthropic:default": {
        "provider": "anthropic",
        "mode": "api_key"
      },
      "anthropic:claude-cli": {
        "provider": "anthropic",
        "mode": "oauth"
      }
    },
    "order": {
      "anthropic": [
        "anthropic:claude-cli",
        "anthropic:default"
      ]
    }
  },
  "models": {
    "mode": "merge",
    "providers": {
      "moonshot": {
        "baseUrl": "https://api.moonshot.ai/v1",
        "api": "openai-completions",
        "models": [
          {
            "id": "kimi-k2-0905-preview",
            "name": "Kimi K2 0905 Preview",
            "reasoning": false,
            "input": [
              "text"
            ],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 256000,
            "maxTokens": 8192
          },
          {
            "id": "kimi-k2.5",
            "name": "Kimi K2.5",
            "reasoning": false,
            "input": [
              "text"
            ],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 256000,
            "maxTokens": 8192
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "anthropic/claude-opus-4-6",
        "fallbacks": [
          "anthropic/claude-opus-4-5",
          "moonshot/kimi-k2-0905-preview"
        ]
      },
      "models": {
        "moonshot/kimi-k2-0905-preview": {
          "alias": "kimi"
        },
        "moonshot/kimi-k2.5": {
          "alias": "kimi"
        },
        "anthropic/claude-opus-4-5": {
          "alias": "opus"
        },
        "anthropic/claude-sonnet-4-20250514": {
          "alias": "default"
        },
        "deepseek/deepseek-chat": {
          "alias": "deepseek"
        },
        "deepseek/deepseek-reasoner": {
          "alias": "r1"
        }
      },
      "workspace": "/home/ccuser/rateright-growth/rivet",
      "contextTokens": 1000000,
      "memorySearch": {
        "sources": [
          "memory",
          "sessions"
        ],
        "experimental": {
          "sessionMemory": true
        },
        "query": {
          "hybrid": {
            "enabled": true,
            "vectorWeight": 0.7,
            "textWeight": 0.3,
            "candidateMultiplier": 4
          }
        },
        "cache": {
          "enabled": true,
          "maxEntries": 50000
        }
      },
      "contextPruning": {
        "mode": "cache-ttl",
        "ttl": "1h"
      },
      "compaction": {
        "mode": "safeguard"
      },
      "thinkingDefault": "high",
      "heartbeat": {
        "every": "15m",
        "model": "moonshot/kimi-k2.5"
      },
      "maxConcurrent": 4,
      "subagents": {
        "maxConcurrent": 20,
        "model": "moonshot/kimi-k2.5"
      }
    }
  },
  "tools": {
    "web": {
      "search": {
        "apiKey": "BSAX4hhpkzkj2McQl4-wEqi7xzKhSwM"
      }
    }
  },
  "messages": {
    "ackReactionScope": "group-mentions"
  },
  "commands": {
    "native": "auto",
    "nativeSkills": "auto",
    "restart": true
  },
  "channels": {
    "whatsapp": {
      "dmPolicy": "disabled",
      "groupPolicy": "allowlist",
      "mediaMaxMb": 50,
      "debounceMs": 0
    },
    "telegram": {
      "enabled": true,
      "dmPolicy": "pairing",
      "botToken": "8294933660:AAGkWKC9tI032HGim3YnkomZyMXFTcRAuzE",
      "groups": {
        "-1003505625266": {
          "requireMention": false,
          "enabled": true,
          "allowFrom": [
            7377499346
          ]
        }
      },
      "groupPolicy": "allowlist",
      "streamMode": "partial"
    }
  },
  "gateway": {
    "mode": "local"
  },
  "plugins": {
    "entries": {
      "whatsapp": {
        "enabled": true
      },
      "slack": {
        "enabled": true
      },
      "telegram": {
        "enabled": true
      },
      "voice-call": {
        "enabled": true,
        "config": {
          "provider": "twilio",
          "fromNumber": "+61238205443",
          "toNumber": "+61426246472",
          "twilio": {
            "accountSid": "AC754dd1caab85d4b6eef942ce6e515594",
            "authToken": "a9477c47f2e1c321739da9ac37d8595d"
          },
          "serve": {
            "port": 3334,
            "path": "/voice/webhook"
          },
          "tailscale": {
            "mode": "funnel",
            "path": "/voice/webhook"
          },
          "outbound": {
            "defaultMode": "conversation"
          },
          "inboundPolicy": "allowlist",
          "allowFrom": [
            "+61426246472"
          ],
          "inboundGreeting": "Hey Michael, it's Rivet. What do you need?",
          "tts": {
            "provider": "elevenlabs",
            "elevenlabs": {
              "apiKey": "e62ff6bc79e5e876bb4c6f67a38625e0a60cf9ca51bac5bb0a88ee99fd352cc3",
              "voiceId": "IKne3meq5aSn9XLyUdCD",
              "modelId": "eleven_turbo_v2_5",
              "voiceSettings": {
                "speed": 1.2,
                "stability": 0.5,
                "similarityBoost": 0.75
              }
            }
          },
          "responseSystemPrompt": "You are Rivet, the COO system for RateRight. You're on a phone call with Michael, the founder. Be direct, no waffle. Answer questions concisely. If he gives instructions, confirm and execute. Australian English.",
          "maxDurationSeconds": 600
        }
      }
    }
  }
}
