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:
    model: claude-haiku-4-5           # fast + cheap fits Q&A volume
    toolsets: [files, web, memory, skills]
    disabled_toolsets: [edit_file, apply_patch, artifact]
channels:
  discord:
    agent: support
    projects: [docs]
    allow_from: ["*"]        # anyone in the server can ask

Naming a fast model keeps a busy public channel cheap; leave the model line out and the agent runs on your default. The tool policy makes the bot read-and-answer only: it can read the docs and search the web, but a public channel's agent has no business editing files or publishing pages — see Tools for every toolset name.

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