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 assert from 'node:assert/strict'
import { test } from 'node:test'
import { appendPage, emptyPage, replacePage } from './market-models.ts'
test('catalog pages keep every fetched row and drop duplicates', () => {
const first = replacePage([0, 1, 2], (n) => String(n))
const next = appendPage(first, [2, 3, 3], (n) => String(n))
assert.deepEqual(next.items, [0, 1, 2, 3])
assert.deepEqual(replacePage([], (n: number) => String(n)).items, emptyPage().items)
})