Skip to content

Anthropic + Discord

Required secret Overlay
ANTHROPIC_API_KEY, DISCORD_BOT_TOKEN values-anthropic-and-discord.yaml

When to use it

An Anthropic API key, Discord bot token, channel ID, and allowed user IDs are required.

Install

helm upgrade --install hermes-agent ./charts/hermes-agent \
  --namespace hermes-agent --create-namespace \
  -f charts/hermes-agent/values-anthropic-and-discord.yaml \
  --set-string env.ANTHROPIC_API_KEY='<real-value>' --wait

When an example requires more than one credential, pass every listed value with --set-string or use extraEnvFrom to reference an existing Secret.

Adapt before deploying

Use this to validate model and messenger settings together.

Open Raw YAML

Complete overlay

charts/hermes-agent/values-anthropic-and-discord.yaml
# values-anthropic-and-discord.yaml
#
# Hermes Agent using Anthropic (Claude) as the model provider AND running as a
# Discord bot: both wired in one file.
#
# All secrets below are DUMMY placeholders. Do NOT commit real keys: override
# them at install time (--set-string) or inject via a SealedSecret + extraEnvFrom
# (see examples/argocd/).
#
#   helm upgrade --install hermes-agent ./charts/hermes-agent \
#     --namespace hermes-agent --create-namespace \
#     -f charts/hermes-agent/values-anthropic-and-discord.yaml \
#     --set-string env.ANTHROPIC_API_KEY='sk-ant-<real>' \
#     --set-string env.DISCORD_BOT_TOKEN='<real-bot-token>' --wait

config:
  model:
    provider: anthropic
    # A current Claude model id: see https://docs.anthropic.com for the list
    # (e.g. claude-opus-4-8, claude-sonnet-4-6, claude-haiku-4-5).
    default: claude-sonnet-4-6
  terminal:
    backend: local

env:
  # --- Model provider (Anthropic) -----------------------------------------
  ANTHROPIC_API_KEY: "sk-ant-DUMMY_replace_me_0000000000000000000000"
  # Unused by the anthropic provider; overrides the chart's OpenAI placeholder.
  OPENAI_API_KEY: "unused"

  # --- Discord bot (secret bits) ------------------------------------------
  # Setting the token is enough to auto-enable Discord: no config.yaml change.
  # Create the bot at https://discord.com/developers/applications, enable the
  # "Message Content Intent", and invite it to your server.
  DISCORD_BOT_TOKEN: "MTA0DUMMYtoken000000000000.DUMMY.replace_me_with_a_real_token"

# Non-secret Discord knobs go here (plain env, not the Secret).
extraEnv:
  - name: DISCORD_HOME_CHANNEL        # channel id for cron / notification delivery
    value: "000000000000000000"       # DUMMY - your channel id (18 digits)
  - name: DISCORD_ALLOWED_USERS       # comma-separated user ids allowed to talk
    value: "111111111111111111"       # DUMMY - your Discord user id
  - name: DISCORD_ALLOW_ALL_USERS     # true only for throwaway/dev bots
    value: "false"