Kimaki
An open-source agent orchestrator that lets you drive OpenCode coding agents from Discord, with each channel as a project and each thread as a session.
At a Glance
Kimaki is MIT-licensed and free to use, self-hosted via npx. Model/provider costs (e.g. Claude or ChatGPT subscriptions, API keys) are external.
Engagement
Available On
Alternatives
Listed Nov 2026
About Kimaki
Kimaki is an open-source collaborative agent orchestrator created by Tommy (GitHub user remorses) that connects Discord to OpenCode coding agents running on your own machine. Each Discord channel maps to a project directory and each thread maps to one coding session. Setup runs through a single npx command and an interactive CLI wizard.
What It Is
Kimaki turns Discord into the control surface for OpenCode, a coding agent similar to Claude Code. You send a message in a project channel, and an agent reads, edits and runs commands in that project directory on your machine, replying in a thread you can return to later. Sessions can be resumed, searched and forked, and the same sessions also open in the OpenCode TUI.
Orchestration features
Kimaki layers several workflow features on top of OpenCode:
- Routines run prompts on a cron schedule or at a future time, such as a morning email digest thread.
- A message queue holds follow-ups until the current run finishes, and
btwforks context into a new thread for side questions while the agent keeps working. /new-worktreestarts a session in an isolated Git worktree, and/merge-worktreemerges it back by rebase or squash./diffgenerates a shareable diff-viewer URL for reviewing changes from a phone or browser.- Voice messages are transcribed using the project file tree, and voice calls are available in a dedicated voice channel.
- Images and files can be attached, and a
!prefix runs shell commands in the session folder. - Tunnels expose a local dev server at a public URL.
By default, a message sent during an active run interrupts it; ending the message with . queue waits instead.
Models and setup
Kimaki supports the models OpenCode supports, including Anthropic, OpenAI and Google, and /login can authenticate Claude Pro/Max and ChatGPT/Codex subscriptions through OAuth. Gateway mode uses a pre-built Discord bot with no Developer Portal setup, while self-hosted mode uses your own bot. Kimaki requires OpenCode 2 and installs it if missing.
Access control
Kimaki processes messages only from the server owner, users with Manage Server or Administrator permission, or users with a "Kimaki" role. A "no-kimaki" role blocks specific users, and messages from other bots are ignored. Scripts and CI can start sessions with kimaki send.
Community Discussions
Be the first to start a conversation about Kimaki
Share your experience with Kimaki, ask questions, or help others learn from your insights.
Pricing
Open Source
Kimaki is MIT-licensed and free to use, self-hosted via npx. Model/provider costs (e.g. Claude or ChatGPT subscriptions, API keys) are external.
- MIT License
- Run via npx -y kimaki@latest
- Gateway mode with Kimaki's pre-built Discord bot or self-hosted Discord bot
- Works with any model OpenCode supports using your own subscriptions or API keys
Capabilities
Key Features
- Discord channels as projects and threads as OpenCode sessions
- Scheduled routines (cron or one-time)
- Message queue
- btw side-question thread forking
- Isolated Git worktrees with merge command
- Shareable diff viewer URLs
- Voice message transcription
- Voice calls
- Image and file attachments
- OpenCode commands and skills as Discord slash commands
- Shell commands via ! prefix
- Tunnels for local dev servers
- Quick model and agent switching
- Claude Pro/Max and ChatGPT/Codex subscription login
- Role-based access control
- Gateway and self-hosted bot modes
- Sessions also open in OpenCode TUI
