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.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
Note that multiple computers are future work, not a current priority
leepokai8b7b74898f01
diff --git a/CLAUDE.md b/CLAUDE.mdindex 7a16971b..a8075905 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -27,6 +27,7 @@ Bot-based remote for coding agents: persistent named bots on your computer, mess- API: `POST /api/<method>` + SSE with the bearer token (`~/.codync/token`) is **loopback only** (Mac app, SSH tunnel, local helpers). Phones and other remote clients use the E2E channel (`/channel` direct, or the Cloudflare relay). Default port **19222**.- Remote access (Cloudflare relay primary, direct LAN/Tailscale alternative, accounts, SSH): [docs/remote-relay-spec.md](docs/remote-relay-spec.md).- Remote screen (`host/src/screen.rs` is the reference): phones view/control the computer over WebRTC (hardware H.264, non-trickle SDP relayed by `screenOffer`, input on data channels `input` / `input-fast`); bots get the built-in `computer` MCP server (`codync-host mcp computer`, `host/src/mcp.rs`) when their `computer` flag is on. Capture/input live in a helper on `~/.codync/screen.sock`: `apps/screen` (macOS, launchd agent via `SMAppService`, owns the TCC grants) or `apps/screen-linux` (`codync-screen`: portals + GStreamer, started by the host). Off by default; `setScreenEnabled` is accepted only from loopback. An interactive phone takes over (bots may only look).+- Multiple computers per account are future work, not a current priority: the product targets one computer. The multi-computer structure (`AccountStore`, `BotReference`) stays because relay/accounts/SSH build on it; don't extend or polish multi-computer features unless asked.- Environments: **dev** (`dev-api.codync.dev`, Clerk development instance, Debug builds) and **main** (`api.codync.dev`, Clerk production, Release builds); `apps/shared/Config/<env>.plist` becomes `AccountConfig.plist`. Details: [spec §14.0](docs/remote-relay-spec.md).- Push: iOS registers its APNs token with `relay/` → gets an AES-GCM ticket → gives it (plus its X25519 push key) to the host; the host seals title/body to that key and a Notification Service Extension opens it, so `relay/` sees only generic text. Only two alert kinds: *needs you* and *done*, suppressed while the iOS app is connected.- Usage: local only — `claude -p /usage --no-session-persistence`, the Claude status line (`codync-host statusline`, wrapping any existing one), Claude ACP `usage_update` rate-limit meta, Codex rollout files. Never call provider APIs with agent credentials.diff --git a/docs/bot-computer-ssh-plan.md b/docs/bot-computer-ssh-plan.mdindex f93cf9b1..a381d8c2 100644--- a/docs/bot-computer-ssh-plan.md+++ b/docs/bot-computer-ssh-plan.md@@ -1,7 +1,7 @@# Bot、computer、帳號切換與 SSH 遠端執行計畫日期:2026-09-25-狀態:規劃;補充 [Cloudflare 帳號與裝置管理計畫](cloudflare-account-device-plan.md)。實作細節(SSH tunnel、多 computer store、中繼)以 [遠端連線實作規格](remote-relay-spec.md) 為準。+狀態:規劃;**多 computer 是未來方向,目前不是優先事項**:產品先以單一 computer 為主,已實作的多 computer 結構保留(中繼、帳號、SSH 建在其上,單台時照常運作),但暫不擴充或打磨多 computer 功能。補充 [Cloudflare 帳號與裝置管理計畫](cloudflare-account-device-plan.md)。實作細節(SSH tunnel、多 computer store、中繼)以 [遠端連線實作規格](remote-relay-spec.md) 為準。## 1. 產品目標diff --git a/kit/Sources/CodyncKit/Models/Computer.swift b/kit/Sources/CodyncKit/Models/Computer.swiftindex 0b746b19..7b6cbbab 100644--- a/kit/Sources/CodyncKit/Models/Computer.swift+++ b/kit/Sources/CodyncKit/Models/Computer.swift@@ -39,6 +39,7 @@ public struct Computer: Codable, Hashable, Sendable, Identifiable {}/// A bot on a computer in an account context: bot IDs are only unique per computer.+/// (Multiple computers are future work; with one computer this is just the bot's address.)public struct BotReference: Codable, Hashable, Sendable {/// `SharedStore.Context.accountID` (raw Clerk user ID; nil = the local context).public var accountId: String?diff --git a/kit/Sources/CodyncUI/Store/AccountStore.swift b/kit/Sources/CodyncUI/Store/AccountStore.swiftindex 80760c1f..4e55b9c3 100644--- a/kit/Sources/CodyncUI/Store/AccountStore.swift+++ b/kit/Sources/CodyncUI/Store/AccountStore.swift@@ -13,6 +13,10 @@ public struct RosterItem: Identifiable, Sendable {/// Account → computers → bots: one `BotStore` per computer this context can reach/// (QR-paired, approved through the account, or attached over loopback / SSH on the Mac),/// plus the account's computers from the cloud that this device can still ask access to.+///+/// Multiple computers are a future direction, not a current priority: the product targets one+/// computer today. This structure stays because the relay, accounts and SSH are built on it and it+/// works unchanged with a single computer; don't extend or polish multi-computer features for now.@MainActor@Observablepublic final class AccountStore {