Each channel is a project, each thread is a session. Message your agents from anywhere and come back to finished work.

Record a voice note. Kimaki transcribes it, then drives Midjourney in the browser.


npx -y kimaki@latest --gateway. Do not clone this repo to run the bot.1npx -y kimaki@latest
curl -fsSL https://opencode.ai/v2/install | bash. If you have OpenCode 1, install OpenCode 2 first with the same command.┌──────────────────────────────────────────────────┐ Discord server │ Your machine │ ┌──────────────────┐ │ │ │ #web-app ────────┼──────┼──▶ /code/web-app ──▶ OpenCode session (thread) │ │ #api ────────────┼──────┼──▶ /code/api ──▶ OpenCode session (thread) │ │ #docs ───────────┼──────┼──▶ /code/docs ──▶ OpenCode session (thread) │ └──────────────────┘ │ ▲ │ │ thread = session │ │ reads, edits, runs commands │ ▼ │ ▼ in the project directory │ agent replies ◀───────┼──── AI agent (any model, your subscriptions) │ └──────────────────┘ └──────────────────────────────────────────────────┘
/login, pick a provider, choose OAuth, and authenticate with your subscription. Logins are stored by OpenCode, so the same accounts work in Discord and in the OpenCode TUI. Kimaki adds the Claude Pro/Max login to OpenCode with a small plugin.. queue and even edit it later to update the queued text.. btw or run /btw./new-worktree starts a session in an isolated Git worktree so it never touches your main checkout. In a thread it forks the current context. /merge-worktree merges the commits into a local branch with rebase or squash./diff generates a shareable URL to review changes in a real diff viewer from your phone or browser.cove. Run kimaki --voice juniper once to change it: Kimaki saves it in SQLite, so restarts, reboots and autostart keep it. --voice default resets it.! to run a shell command in the session folder./<name>-agent command./session-id prints the command.. queue or use /queue. See Message Handling.1npx -y kimaki@latest
| Command | Description |
/resume <session> | Resume a previous session (with autocomplete) |
/abort | Stop the current running session |
/model | Change the AI model for this channel or session |
/agent | Change the agent for this channel or session |
/login | Authenticate a provider (OAuth subscription or API key) |
/queue <message> | Queue a message to send after the current response finishes |
/btw <prompt> | Fork context into a new thread to ask a side question |
/new-worktree <name> | Start a session in an isolated git worktree |
/merge-worktree | Merge this worktree into a local branch |
/diff | Generate a shareable diff URL |
/session-id | Show the session ID and the command to open it in the OpenCode TUI |
kimaki send.opencode service restart. Kimaki reconnects by itself.kimaki restart. To update Kimaki, install the latest version with npm i -g kimaki@latest, then run kimaki restart. Run kimaki logs to find the log file.