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
"""Discovery fixture: two usable models and an advertised but unavailable model."""
import json
import sys
model = "first"
for line in sys.stdin:
msg = json.loads(line)
if "id" not in msg:
continue
requested = msg.get("params", {}).get("value")
if requested == "unavailable":
result = {"error": {"code": -32602, "message": "model not available"}}
else:
model = requested or model
level = "high" if model == "second" else "medium"
result = {"result": {"configOptions": [{"id": "effort", "type": "select", "category": "thought_level",
"currentValue": level, "options": [{"value": "medium"}, {"value": "high"}]}]}}
print(json.dumps({"jsonrpc": "2.0", "id": msg["id"], **result}), flush=True)