Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

16.4 KB
Raw Blame
//! Every harness Codync knows by name: its CLI, its ACP mode and registry build, and how it's set up and signed in.

use super::sign_in::{claude_signed_in, exit_ok, qoder_signed_in, says_logged_in};
use super::{Harness, Install, SignInCheck};

pub const HARNESSES: &[Harness] = &[
    Harness {
        id: "claude",
        name: "Claude Code",
        bins: &["claude"],
        local: None,
        registry: Some("claude-acp"),
        setup: "Install Claude Code and run `claude auth login`.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://claude.ai/install.sh | bash",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https://claude.ai/install.ps1 | iex\"",
        }),
        login: Some("{bin} auth login"),
        signed_in: Some(SignInCheck { args: "auth status", ok: claude_signed_in }),
    },
    Harness {
        id: "codex",
        name: "Codex",
        bins: &["codex"],
        local: None,
        registry: Some("codex-acp"),
        setup: "Install Codex CLI and run `codex login --device-auth`.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://chatgpt.com/codex/install.sh | sh",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https://chatgpt.com/codex/install.ps1 | iex\"",
        }),
        login: Some("{bin} login --device-auth"),
        signed_in: Some(SignInCheck { args: "login status", ok: exit_ok }),
    },
    Harness {
        id: "cursor",
        name: "Cursor",
        bins: &["cursor-agent", "agent"],
        local: Some("{bin} acp"),
        registry: Some("cursor"),
        setup: "Install Cursor CLI (curl https://cursor.com/install -fsS | bash) and run `cursor-agent login`.",
        install: Some(Install::Scripts {
            unix: "curl https://cursor.com/install -fsS | bash",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm 'https://cursor.com/install?win32=true' | iex\"",
        }),
        login: Some("NO_OPEN_BROWSER=1 {bin} login"),
        signed_in: Some(SignInCheck { args: "status", ok: says_logged_in }),
    },
    Harness {
        id: "pi",
        name: "Pi",
        bins: &["pi"],
        local: None,
        registry: Some("pi-acp"),
        setup: "Install pi (npm install -g @earendil-works/pi-coding-agent), run `pi` and type /login.",
        install: Some(Install::Npm("@earendil-works/pi-coding-agent")),
        login: Some("{bin}"),
        signed_in: None,
    },
    Harness {
        id: "omp",
        name: "oh-my-pi",
        bins: &["omp"],
        local: Some("{bin} acp"),
        registry: None,
        setup: "Install oh-my-pi (curl -fsSL https://omp.sh/install | sh -s -- --binary) and run `omp login`.",
        install: Some(Install::Scripts {
            // The prebuilt binary: by default the scripts build through any Bun on PATH and stop when it's older than they need.
            unix: "curl -fsSL https://omp.sh/install | sh -s -- --binary",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"& ([scriptblock]::Create((irm https://omp.sh/install.ps1))) -Binary\"",
        }),
        login: Some("{bin} login"),
        signed_in: None,
    },
    Harness {
        id: "opencode",
        name: "OpenCode",
        bins: &["opencode"],
        local: Some("{bin} acp"),
        registry: Some("opencode"),
        setup: "Install OpenCode (curl -fsSL https://opencode.ai/install | bash) and run `opencode auth login`.",
        install: Some(Install::Script("curl -fsSL https://opencode.ai/install | bash")),
        login: Some("{bin} auth login"),
        signed_in: None,
    },
    Harness {
        id: "grok",
        name: "Grok Build",
        bins: &["grok"],
        local: Some("{bin} agent stdio"),
        registry: Some("grok-build"),
        setup: "Install Grok Build (curl -fsSL https://x.ai/cli/install.sh | bash) and run `grok login --device-auth`.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://x.ai/cli/install.sh | bash",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https://x.ai/cli/install.ps1 | iex\"",
        }),
        login: Some("{bin} login --device-auth"),
        signed_in: None,
    },
    Harness {
        id: "gemini",
        name: "Gemini CLI",
        bins: &["gemini"],
        local: Some("{bin} --acp"),
        registry: Some("gemini"),
        setup: "Install Gemini CLI (npm install -g @google/gemini-cli) and run `gemini` to sign in with Google.",
        install: Some(Install::Npm("@google/gemini-cli")),
        login: Some("NO_BROWSER=true {bin}"),
        signed_in: None,
    },
    Harness {
        id: "copilot",
        name: "GitHub Copilot",
        bins: &["copilot"],
        local: Some("{bin} --acp --stdio"),
        registry: Some("github-copilot-cli"),
        setup: "Install Copilot CLI (curl -fsSL https://gh.io/copilot-install | bash) and run `copilot login`.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://gh.io/copilot-install | bash",
            windows: "winget install --id GitHub.Copilot -e",
        }),
        login: Some("{bin} login --device-code"),
        signed_in: None,
    },
    Harness {
        id: "qwen",
        name: "Qwen Code",
        bins: &["qwen"],
        local: Some("{bin} --acp"),
        registry: Some("qwen-code"),
        setup: "Install Qwen Code (its standalone installer), run `qwen` and type /auth.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh | bash",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.ps1 | iex\"",
        }),
        login: Some("{bin}"),
        signed_in: None,
    },
    Harness {
        id: "hermes",
        name: "Hermes Agent",
        bins: &["hermes"],
        local: Some("{bin} acp"),
        registry: None,
        setup: "Install Hermes Agent and run `hermes acp --setup` to choose a provider and model.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"iex (irm https://hermes-agent.nousresearch.com/install.ps1)\"",
        }),
        login: Some("{bin} acp --setup"),
        signed_in: None,
    },
    Harness {
        id: "goose",
        name: "goose",
        bins: &["goose"],
        local: Some("{bin} acp"),
        registry: Some("goose"),
        setup: "Install goose and run `goose configure`.",
        install: Some(Install::Script(
            "curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bash",
        )),
        login: Some("{bin} configure"),
        signed_in: None,
    },
    Harness {
        id: "kimi",
        name: "Kimi Code",
        bins: &["kimi"],
        local: Some("{bin} acp"),
        registry: Some("kimi"),
        setup: "Install Kimi Code (curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash) and run `kimi login`.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https://code.kimi.com/kimi-code/install.ps1 | iex\"",
        }),
        login: Some("{bin} login"),
        signed_in: None,
    },
    Harness {
        id: "droid",
        name: "Factory Droid",
        bins: &["droid"],
        local: Some("{bin} exec --output-format acp-daemon"),
        registry: Some("factory-droid"),
        setup: "Install Droid (curl -fsSL https://app.factory.ai/cli | sh) and sign in with `droid`.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://app.factory.ai/cli | sh",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https://app.factory.ai/cli/windows | iex\"",
        }),
        login: Some("{bin}"),
        signed_in: None,
    },
    Harness {
        id: "amp",
        name: "Amp",
        bins: &["amp"],
        local: None,
        registry: Some("amp-acp"),
        setup: "Install Amp (curl -fsSL https://ampcode.com/install.sh | bash) and run `amp login`.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://ampcode.com/install.sh | bash",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https://ampcode.com/install.ps1 | iex\"",
        }),
        login: Some("{bin} login"),
        signed_in: None,
    },
    Harness {
        id: "kilo",
        name: "Kilo",
        bins: &["kilo"],
        local: Some("{bin} acp"),
        registry: Some("kilo"),
        setup: "Install Kilo CLI (npm install -g @kilocode/cli) and run `kilo auth login`.",
        install: Some(Install::Npm("@kilocode/cli")),
        login: Some("{bin} auth login"),
        signed_in: Some(SignInCheck { args: "profile --json", ok: exit_ok }),
    },
    Harness {
        id: "cline",
        name: "Cline",
        bins: &["cline"],
        local: Some("{bin} --acp"),
        registry: Some("cline"),
        setup: "Install Cline CLI (npm install -g cline) and run `cline auth`.",
        install: Some(Install::Npm("cline")),
        login: Some("{bin} auth"),
        signed_in: None,
    },
    Harness {
        id: "auggie",
        name: "Auggie",
        bins: &["auggie"],
        local: Some("{bin} --acp"),
        registry: Some("auggie"),
        setup: "Install Auggie (npm install -g @augmentcode/auggie) and run `auggie login`.",
        install: Some(Install::Npm("@augmentcode/auggie")),
        login: Some("{bin} login"),
        signed_in: Some(SignInCheck { args: "account status", ok: exit_ok }),
    },
    Harness {
        id: "vibe",
        name: "Mistral Vibe",
        bins: &["vibe-acp", "vibe"],
        local: None,
        registry: Some("mistral-vibe"),
        setup: "Install Mistral Vibe (curl -LsSf https://mistral.ai/vibe/install.sh | bash) and run `vibe --setup`.",
        install: Some(Install::Script("curl -LsSf https://mistral.ai/vibe/install.sh | bash")),
        login: Some("vibe --setup"),
        signed_in: None,
    },
    Harness {
        id: "dsh",
        name: "DeepSeek Harness",
        bins: &["dsh"],
        local: Some("{bin} --profile acp"),
        registry: None,
        setup: "Install DeepSeek Harness (npm install -g @deepseek-ai/dsh) and save your DeepSeek API key in `dsh web` under Settings → Models, or as DEEPSEEK_API_KEY in ~/.dsh/.env.",
        install: Some(Install::Npm("@deepseek-ai/dsh")),
        login: Some("{bin} web"),
        signed_in: None,
    },
    Harness {
        id: "kiro",
        name: "Kiro CLI",
        bins: &["kiro-cli"],
        local: Some("{bin} acp"),
        registry: None,
        setup: "Install Kiro CLI (curl -fsSL https://cli.kiro.dev/install | bash) and run `kiro-cli login`.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://cli.kiro.dev/install | bash",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm 'https://cli.kiro.dev/install.ps1' | iex\"",
        }),
        login: Some("{bin} login"),
        signed_in: None,
    },
    Harness {
        id: "devin",
        name: "Devin",
        bins: &["devin"],
        local: Some("{bin} acp"),
        registry: Some("devin"),
        setup: "Install the Devin CLI (curl -fsSL https://cli.devin.ai/install.sh | bash) and run `devin auth login`.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://cli.devin.ai/install.sh | bash",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https://cli.devin.ai/install.ps1 | iex\"",
        }),
        login: Some("{bin} auth login"),
        signed_in: None,
    },
    Harness {
        id: "qoder",
        name: "Qoder CLI",
        bins: &["qodercli"],
        local: Some("{bin} --acp"),
        registry: Some("qoder"),
        setup: "Install Qoder CLI (curl -fsSL https://qoder.com/install | bash) and run `qodercli login`.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://qoder.com/install | bash",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https://qoder.com/install.ps1 | iex\"",
        }),
        login: Some("{bin} login"),
        signed_in: Some(SignInCheck { args: "status -o json", ok: qoder_signed_in }),
    },
    Harness {
        id: "codebuddy",
        name: "CodeBuddy Code",
        bins: &["codebuddy", "cbc"],
        local: Some("{bin} --acp"),
        registry: Some("codebuddy-code"),
        setup: "Install CodeBuddy Code (npm install -g @tencent-ai/codebuddy-code) and sign in with `codebuddy`.",
        install: Some(Install::Npm("@tencent-ai/codebuddy-code")),
        login: Some("{bin}"),
        signed_in: None,
    },
    Harness {
        id: "workbuddy",
        name: "WorkBuddy",
        // Its CLI is also named `codebuddy`, inside the app. PATH lookup would take CodeBuddy Code's.
        bins: &[],
        // `--serve` is what starts ACP. `--acp` selects the stdio transport.
        local: Some("{bin} --serve --acp"),
        registry: None,
        setup: "Install WorkBuddy from https://www.workbuddy.ai and sign in from Codync.",
        install: None,
        login: None,
        signed_in: None,
    },
    Harness {
        id: "minimax",
        name: "MiniMax Code",
        bins: &["mcode"],
        local: Some("{bin} acp"),
        registry: Some("minimax-code"),
        setup: "Install MiniMax Code (npm install -g @minimax-ai/code) and run `mcode login`.",
        install: Some(Install::Npm("@minimax-ai/code")),
        login: Some("{bin} login"),
        signed_in: None,
    },
    Harness {
        id: "junie",
        name: "Junie",
        bins: &["junie"],
        local: Some("{bin} --acp=true"),
        registry: Some("junie"),
        setup: "Install Junie (curl -fsSL https://junie.jetbrains.com/install.sh | bash) and sign in with `junie`.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://junie.jetbrains.com/install.sh | bash",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"iex (irm 'https://junie.jetbrains.com/install.ps1')\"",
        }),
        login: Some("{bin}"),
        signed_in: None,
    },
    Harness {
        id: "antigravity",
        name: "Google Antigravity",
        bins: &["agy"],
        local: None,
        registry: Some("antigravity-acp"),
        setup: "Install the Antigravity CLI (curl -fsSL https://antigravity.google/cli/install.sh | bash), then sign in from Codync with Log in with Google.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://antigravity.google/cli/install.sh | bash",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https://antigravity.google/cli/install.ps1 | iex\"",
        }),
        // Signing in with `agy` doesn't sign in its ACP server, which keeps its own sign-in
        // (`~/.gemini/antigravity-acp/settings.json`): only the server's own methods do.
        login: None,
        signed_in: None,
    },
    Harness {
        id: "cortex",
        name: "Cortex Code",
        bins: &["cortex"],
        local: Some("{bin} acp serve"),
        registry: Some("cortex-code"),
        setup: "Install Cortex Code (curl -LsS https://ai.snowflake.com/static/cc-scripts/install.sh | sh) and set up a connection with `cortex`.",
        install: Some(Install::Scripts {
            unix: "curl -LsS https://ai.snowflake.com/static/cc-scripts/install.sh | sh",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https://ai.snowflake.com/static/cc-scripts/install.ps1 | iex\"",
        }),
        login: Some("{bin}"),
        signed_in: None,
    },
    Harness {
        id: "poolside",
        name: "Poolside",
        bins: &["pool"],
        local: Some("{bin} acp"),
        registry: Some("poolside"),
        setup: "Install Poolside (curl -fsSL https://downloads.poolside.ai/pool/install.sh | sh) and run `pool login`.",
        install: Some(Install::Scripts {
            unix: "curl -fsSL https://downloads.poolside.ai/pool/install.sh | sh",
            windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https://downloads.poolside.ai/pool/install.ps1 | iex\"",
        }),
        login: Some("{bin} login"),
        signed_in: None,
    },
];