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
"""Keep two descendant generations holding ACP stdout after the leader exits."""
import json
import subprocess
import sys
import time
if len(sys.argv) > 1:
if sys.argv[1] == "child":
subprocess.Popen([sys.executable, "-u", __file__, "leaf"], stdin=subprocess.DEVNULL, stdout=sys.stdout, stderr=sys.stderr)
if sys.argv[1] == "leaf":
print(json.dumps({"jsonrpc": "2.0", "method": "ready"}), flush=True)
time.sleep(60)
else:
subprocess.Popen([sys.executable, "-u", __file__, "child"], stdin=subprocess.DEVNULL, stdout=sys.stdout, stderr=sys.stderr)
for line in sys.stdin:
message = json.loads(line)
if message.get("method") == "exit":
break