memcode docs
AgentsExamples

Support answers

A bot in your Discord or Slack that answers product questions when mentioned.

Put an agent in your community server that answers the questions you answer every week — pricing, setup, "does it support X" — grounded in your own docs, and only when it's addressed.

What you need

  • A Discord or Slack bot in the server
  • A project holding your docs or FAQ, registered with memcode project add

Set it up

Give the bot its own persona so its memory and instructions stay separate from your personal assistant, and lock the channel to the docs project:

agents:
  support: { type: assistant }
channels:
  discord:
    agent: support
    projects: [docs]
    allow_from: ["*"]        # anyone in the server can ask

In a group the bot answers only when mentioned or replied to, so it doesn't speak up on ordinary chatter. allow_from: ["*"] is a deliberate choice — the gateway warns about it at startup, and the safety floor still holds: a public question can never turn into commands on your machine.

Make it yours

Teach the persona your house answers: put them in the persona's own ~/.memcode/agents/support/MEMCODE.md and they'll shape every reply. When it answers something wrong once, correct it in that file and it stays corrected.

On this page