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.

feat(host): add oh-my-pi as a supported harness

Anthony Giuliano61f44a36d6c3
diff --git a/host/src/agent/backends.rs b/host/src/agent/backends.rs
index cc9846d2..a1c4a762 100644
--- a/host/src/agent/backends.rs
+++ b/host/src/agent/backends.rs
@@ -133,6 +133,20 @@ pub const HARNESSES: &[Harness] = &[
login: "{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) and run `omp login`.",
+ install: Some(Install::Scripts {
+ unix: "curl -fsSL https://omp.sh/install | sh",
+ windows: "powershell -NoProfile -ExecutionPolicy Bypass -Command \"irm https://omp.sh/install.ps1 | iex\"",
+ }),
+ login: "{bin} login",
+ signed_in: None,
+ },
Harness {
id: "opencode",
name: "OpenCode",
@@ -440,6 +454,8 @@ fn well_known_dirs() -> Vec<PathBuf> {
// Global npm CLIs (%APPDATA%\npm), and Node itself.
dirs.extend(dirs::data_dir().map(|d| d.join("npm")));
dirs.extend(std::env::var_os("ProgramFiles").map(|d| PathBuf::from(d).join("nodejs")));
+ // oh-my-pi's standalone installer (%LOCALAPPDATA%\omp); its Bun install lands in ~/.bun/bin below.
+ dirs.extend(dirs::data_local_dir().map(|d| d.join("omp")));
}
for rel in [
".local/bin",