8000 GitHub - getkurisu/kurisu: Turn your coding agent subs into a team · GitHub
[go: up one dir, main page]

Skip to content
getkurisuPublic

About

Turn your coding agent subs into a team

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Kurisu

Your AI team in one chat. Kurisu is a small self-hosted program that runs Claude Code, Codex, OpenCode and Antigravity for you, on your own machine with your own configured providers, and lets you run all of it from one conversation: in the terminal, a local web page, or Telegram.

ci

Why Kurisu

  1. Talk to one AI, not ten. You only talk to Kurisu (the lead). It creates and manages your sessions for you (e.g. what directory should be the workspace, what MCPs / skills should use). No more babysitting ten concurrent sessions yourself. Kurisu knows who owns which branch so you don't have to handle 10 different merge conflicts all by yourself.
  2. Native intelligence. Opus on Claude Code, Astra on Codex and Gemini on Antigravity, each running in its own native CLI, so you get the best intelligence for your money. You can bring your existing subscriptions and start right away.
  3. Multiple CLIs. Kurisu handles the chat session history across different CLIs. It can offboard one session worker and onboard it to a different harness with the same task. So you don't have to wait for one harness's usage limit to reset before continuing the work.
  4. Self improving. Kurisu knows the exact commit it was built from (ku --version or /version in telegram) and can rebuild itself. For example you can ask Kurisu to a new slash command you want in Telegram and redeploy itself.
  5. Cost savings. Kurisu can assign tasks to session workers with a different model, reasoning effort and MCP server based on the task. So you don't have to pay a frontier model for a simple task that can be done by a cheaper one, or to pay the input token for a MCP server that's not useful in the task.
  6. Lean and efficient. Kurisu is written in Rust to stay lean in memory so it can run along side with different CLIs in a modest hardware.
  7. Always On. Kurisu is designed to run continuously. Turns cut off by a deploy resume automatically, and sessions resume on their next message.

How it works

  • A Lead and its peers. You talk to the Lead (Kurisu), a long-lived session. It creates worker sessions for each job like Dev or QA, messages them and reports back. Every session runs the installed claude, codex, opencode or agy CLI under your login. Each worker has its own working directory, harness, model, MCPs and skills.
  • kurisu-mcp. Kurisu gives every session a small set of tools: who exists (peers_list), create, message, read and hand over sessions, schedule wake-ups (a daily standup, "remind me in 30 minutes"), and a shared board.
  • One history, any CLI. Every message, reply and tool call is stored in Kurisu's own SQLite database. "Look at session X and continue from there" works across Claude Code, Codex, OpenCode and Antigravity, and across a harness switch.
  • You stay in control. Tool calls that need permission come to you as approval cards (Telegram, web, or ku approve); rules pre-approve the safe ones; everything is audited.

Install

You need tmux and one installed harness: Claude Code (claude, logged in), Codex (codex login), OpenCode, or Antigravity (agy acp --login). OpenCode can use models advertised as free without a paid account; verify installed discovery before selecting one. Antigravity has no non-interactive login (no --api-key, no env var); it uses a cached OAuth token from ~/.gemini/antigravity-cli, so a fresh machine needs one interactive login first, and the free personal tier exposes no usage meter.

Build from source for now: prebuilt releases are not published yet, so scripts/install.sh cannot currently complete. On a fresh Debian/Ubuntu server:

apt-get update
apt-get install -y build-essential git tmux curl ca-certificates
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
. "$HOME/.cargo/env"
git clone https://github.com/getkurisu/kurisu.git <
8732
span class="pl-k">&& cd kurisu
cargo install --path crates/kurisu
ku doctor

Once installed, move it to a newer commit with a source build:

ku upgrade            # getkurisu/kurisu @ main; keeps the previous binary
ku upgrade --check    # local vs remote commit, builds nothing

Run the package commands as root (or with sudo); run Rust/Kurisu installation as your normal user. Accept rustup's default installation when prompted. On macOS, install Rust with rustup, tmux, git and the C toolchain (xcode-select --install). Node is unnecessary: the built web UI is committed and embedded in the Rust binary.

Once releases are available, the installer will fetch the prebuilt binary for Linux (x86_64, arm64) or macOS (Apple silicon, Intel), verify its SHA-256, and put ku in ~/.local/bin:

curl -fsSL https://raw.githubusercontent.com/getkurisu/kurisu/main/scripts/install.sh | sh

Telegram (Recommend)

ku telegram setup

It walks you through it: create a bot with @BotFather (/newbot), paste the token, then send /start to your bot so Kurisu finds your chat. Only that chat can use the bot. From then on you talk to the Lead from your phone: replies, approval and question cards, photos and files, /list, /model (pick the harness, then the model), /usage, /compact, /stop, and the final replies of every session.

Discord DMs

Discord can reach the same Kurisu sessions without a Telegram account. Configure ku discord on --token-file FILE --guild GUILD_ID, then pair each person locally with ku discord pair --person NAME --user DISCORD_USER_ID. See Discord setup, supported commands and Phase 2A limits.

CLI

ku status                       # your CLIs, versions and logins
ku lead "Create two workers, ask one for 17+25 and the other for the capital of Australia, then summarise."
ku sessions                     # the team
ku history lead                 # the Lead's conversation
ku web                          # open the running instance's web chat (one-time link)
ku upgrade --check              # newer commit available? (build nothing)
ku upgrade                      # build and install it, keeping the previous ku

New sessions use whichever CLI is installed and logged in (Claude Code first). Pick one with --harness claude|codex|opencode|agy; move a session later with ku update <name> --harness codex. The full CLI tour (approvals, rules, MCP servers, the web UI) is in docs/guide.md.

Optional add-ons

Nothing here runs until you turn it on.

  • Voice notes. With a working stt command (a local faster-whisper tool, or any transcriber via ku stt use --command "…"), voice notes become text.
  • Live Browser. A real, shared Chrome for every session through the lb tools (live-browser). Send /browser in Telegram to watch or take over from your phone.
  • Remote terminal. Send /terminal in Telegram for a one-time link to a shell in your phone's browser.
  • Web chat. Send /web for a one-time link to a chat UI: every session's history as bubbles, live updates, and a box to reply.

/terminal, /browser and /web can be turned on from the phone: an approval card asks first. They listen on your Tailscale address (or your LAN), never on the open internet, and every link shows a pairing code you approve in Telegram before anything opens. Install Tailscale on the computer and the phone to use them away from home.

Small

Kurisu itself uses about 9 MB of RAM with Telegram and the add-ons on (our previous stack used about 2.6 GB). Each live claude or codex takes what it always takes; Kurisu stops idle ones on request (ku stop, ku shutdown).

Terms

Kurisu drives the real, unmodified interactive CLIs (Claude Code in a private tmux, Codex through its app server) under your own login, exactly as you would. It never uses the Agent SDK, never reads or stores your credentials, and never edits ~/.claude.json or ~/.codex/config.toml. See docs/terms-check.md.

OpenCode is supported through the installed CLI’s ACP interface. See OpenCode setup, capabilities and Telegram command matrix.

Antigravity is supported through the installed CLI’s ACP interface. See Antigravity setup and model mapping.

About

Turn your coding agent subs into a team

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0