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
import AppKit
import ApplicationServices
import CoreGraphics
/// System prompts are explicit onboarding actions, never a side effect of launching the helper.
@MainActor
enum ScreenPermissions {
static func request(_ permission: String) throws {
switch permission {
case "capture":
if !CGPreflightScreenCaptureAccess() { _ = CGRequestScreenCaptureAccess() }
case "input":
if !AXIsProcessTrusted() {
// The C global for this option is not available under Swift 6 concurrency.
_ = AXIsProcessTrustedWithOptions(["AXTrustedCheckOptionPrompt": true] as CFDictionary)
}
default:
throw HelperError("Unknown computer access permission.")
}
}
}