Discode crab icon Discode

Getting Started

Discode bridges your local AI coding CLI to Discord channels. Start with prerequisites, onboarding, and one discode new command.

Prerequisites

  • Bun 1.3+ and tmux 3.0+.
  • A Discord bot token and server where the bot is invited.
  • At least one supported AI CLI: claude, gemini, or opencode.

If your bot is not set up yet, follow Discord Bot Setup first.

Using Slack instead? Follow Slack Bot Setup to issue xoxb-... and xapp-... tokens.

Install Discode

Choose one method:

curl -fsSL https://discode.chat/install | bash
npm install -g @siisee11/discode
bun add -g @siisee11/discode
git clone https://github.com/siisee11/discode.git
cd discode
bun install
bun run build
bun link

Run onboarding once

onboard stores your token, detects server ID, and configures default agent settings.

discode onboard
discode config --show
discode config --server SERVER_ID

Use onboard for first-time setup. It auto-detects your Discord server. Use config for later edits.

Start your first session

cd ~/projects/my-app
discode new

new can auto-detect installed agents, create a Discord channel, start the daemon, launch tmux, and attach to the session.

discode new claude
discode new --no-attach

Next steps

  • Use CLI Reference for full command coverage.
  • Check status with discode status and list projects via discode list.
  • Detach tmux with Ctrl-b d without stopping the agent.