github-backup/docs/15-slack-activation-runbook.md

Edit Back to List

Slack Activation Runbook

Current Decision

Use the existing Slack app Easier in the Easier workspace.

Model Account Reality

ChatGPT and Claude web subscriptions are useful for human work, but server-side Slack Hermes needs API-backed inference. OpenAI documents ChatGPT and API billing as separate systems, and Anthropic documents Claude.ai subscriptions and API Console usage as separate products.

Recommended first broker:

Do not start the Slack gateway until an API key with spend controls exists.

Live Slack App State

Completed on 2026-05-28:

Not completed:

Minimal Slack UI Steps Remaining

  1. In Slack, create private channel int-agentops.
  2. Invite @Easier to int-agentops.
  3. Record the channel ID in:
  4. SLACK_ALLOWED_CHANNELS
  5. SLACK_HOME_CHANNEL
  6. Add OPENROUTER_API_KEY and choose the first HERMES_MODEL.
  7. Start the gateway.

VM Environment

Update /srv/easier-hermes/data/.env:

SLACK_BOT_TOKEN=xoxb-... # present on VM
SLACK_APP_TOKEN=xapp-... # present on VM
SLACK_ALLOWED_USERS=U08FCV1MB9S
SLACK_ALLOWED_CHANNELS=<int-agentops-channel-id>
SLACK_HOME_CHANNEL=<int-agentops-channel-id>
SLACK_HOME_CHANNEL_NAME=int-agentops
SLACK_REQUIRE_MENTION=true
SLACK_STRICT_MENTION=true
OPENROUTER_API_KEY=sk-or-...
HERMES_INFERENCE_PROVIDER=openrouter
HERMES_MODEL=<chosen-openrouter-model>

Never place these values in the repo or the vault.

Runtime Install

cd /srv/easier-hermes/ops
sudo bash deployment/scripts/install-hermes-venv.sh
sudo cp deployment/systemd/easier-hermes-gateway.service /etc/systemd/system/
sudo systemctl daemon-reload

This is already complete on the GCE host.

Dry check:

sudo systemctl cat easier-hermes-gateway
sudo systemctl status easier-hermes-gateway --no-pager

Start only after Slack app token, channel ID and model API key are present:

sudo systemctl start easier-hermes-gateway
sudo journalctl -u easier-hermes-gateway -n 80 --no-pager

Safety Defaults