Open-source Grok Bot alternative with a virtual machine that bots can use
Engines and Doctor
Sub-features
- Confirm the endpoint identifies itself as OpenMausBot.
- List configured provider instances without exposing executable paths.
- Distinguish available and unavailable engines.
- Add named Claude accounts and select them independently for bots.
User path
Open a bot's model picker or Settings → Engines.
Driving it
pnpm control:omb doctor --url http://127.0.0.1:PORT
pnpm control:omb models --url http://127.0.0.1:PORT
doctor.ok is true only when the endpoint is OpenMausBot and at least one
engine is available. The isolated fixture should expose claude.
Named Claude accounts
Run the offline API fixture and driver regressions:
pnpm exec vitest run server/claude-account-api.test.ts server/claude-accounts.test.ts server/drivers/claude-accounts.test.ts
The API fixture launches its own disposable server and synthetic CLI. It checks account creation, isolated directories, safe auth-status metadata, persistence, directory/history guards, removal, malformed-account repair, and admin-only mutations. Updating an idle sibling must preserve the busy bot's process and subsequent events. No real provider login is required.
For a renderer check, open the isolated launcher's app in a browser, dismiss onboarding, and go to Settings → Engines. Add Work and Personal, inspect their distinct sign-in commands, and select one account per bot from the model picker's single Claude entry and nested Account dropdown. Choose a model to save the selection. Reload and revisit both bots. Confirm the account labels persist, including at narrow window widths. Use synthetic accounts only; this does not prove real OAuth login or native Windows execution.
Gotchas
- Doctor proves server/engine readiness, not authentication against a real provider.
- Model-picker rendering is Electron UI and remains outside this first map.
OMP (Oh My Pi)
Install with npm install -g @oh-my-pi/pi-coding-agent, then run omp login or configure a provider in ~/.omp/agent/models.yml. OpenMausBot launches omp acp, discovers its advertised models and per-model thinking choices, and resumes each thread's native OMP session. OMP remains responsible for its own provider credentials and approvals; OpenMausBot answers ACP permission requests through the normal approval cards.
pnpm exec vitest run server/drivers/acp/omp.test.ts server/drivers/acp/custom-model-catalog.test.ts server/runtime/capabilities.test.ts server/drivers/tool-scope-coverage.test.ts server/agents-bridge-switch.test.ts server/engine-updates.test.ts server/built-in-instances.test.ts src/lib/analytics-allowlist.test.ts server/engine-memory.test.ts
The contract tests use the repository's fake ACP CLI and disposable folders. They cover fresh and existing fleets, catalogs larger than 128 models without per-model discovery prompts, temporary discovery-session cleanup, model selection, local credential forwarding and denied permissions. Model discovery uses PI_CODING_AGENT_SESSION_DIR in a temporary directory so refreshes do not add empty sessions to the person's OMP history.
The following is a one-time author qualification against OMP 18.13.1, not a checked-in repeatable native fixture: with isolated homes and keyless synthetic providers, ACP initialization and authentication, model and thinking selection, a 2,000-model catalog, discovery-session isolation, a streamed turn through the production driver, and a second turn after recreating that driver with the same native session. The loopback provider received both turns and the resumed request contained the first turn's history. These checks do not prove a real provider account, a paid turn, native Windows behavior or packaged desktop integration.
Mistral Vibe
Install vibe-acp from mistral.ai/vibe/install.sh (the vendor's mistral-vibe package through uv), from github.com/mistralai/mistral-vibe/releases, or through the app's install pin (mistral-vibe-release.ts), then either run a first vibe session once so the browser sign-in saves $VIBE_HOME/whoami_cache.json, or let the workspace Mistral key from Settings → Connections reach the CLI as MISTRAL_API_KEY. OpenMausBot launches vibe-acp (ACP by default, no extra arguments), picks the browser-auth method when the sign-in gate fires — the CLI opens the browser itself and the authenticate request blocks until the person finishes — and selects models through session/new's model config option. Model refresh runs in a temporary working directory and never sends a prompt, so it leaves no record in the person's Vibe history, and threads resume their native Vibe sessions.
pnpm exec vitest run server/drivers/acp/mistral-vibe.test.ts server/drivers/acp/custom-model-catalog.test.ts server/runtime/capabilities.test.ts server/drivers/tool-scope-coverage.test.ts server/built-in-instances.test.ts src/lib/analytics-allowlist.test.ts server/engine-memory.test.ts server/config.test.ts
The contract tests use the repository's fake ACP CLI and disposable folders. They cover fleet registration, live model discovery from session/new's config options with no per-model switching or discovery-session residue, sign-in gating via whoami_cache.json / MISTRAL_API_KEY, workspace-key forwarding without leaking a second instance's key, and denied permissions.
The following is a one-time author qualification against vibe-acp 3.1.1 on macOS (darwin-aarch64), not a checked-in repeatable native fixture: initialize answers protocolVersion 1 with browser-auth as the only auth method; an unauthenticated session/new fails with -32000 "Missing API key for mistral provider."; the authenticate request stays pending while the CLI opens https://console.mistral.ai/codestral/cli/authenticate, honours $BROWSER, and completes after the person signs in; session/new exposes mode, model (zai-glm-5-3-flash, Mistral Large, Codestral, mistral-medium-3.5), and thinking (off | high); an MISTRAL_API_KEY satisfies the gate with no sign-in. These checks do not prove a real paid turn, native Windows behavior or packaged desktop integration.
Cursor: a failed model call sent as the reply
cursor-agent 2026.10.22 (cursor-release.ts) catches a failed model call inside session/prompt, sends \n\nError: ${String(error)} as one message chunk, may then show a Watching: … tool call for a backgrounded shell, and answers end_turn. OpenMausBot holds that chunk out of the reply and the live stream, and fails the turn with Cursor's own wording, so a routine run is retried as a temporary AI error instead of being recorded as completed.
pnpm exec vitest run server/cursor-reply-failure.e2e.test.ts server/drivers/acp/cursor.test.ts
The end-to-end test launches the isolated fixture (launchVerificationServer), adds a cursorAgent instance backed by server/testing/fake-acp-cli.ts that replays that wire sequence, and drives it with the control verbs and the routines API. A chat turn settles as failed with "Cursor had a temporary server problem (HTTP 503)…" and no message carries the raw failure line. A routine run started by hand is queued for one automatic retry (retried: "provider") and completes once the fake stops failing. When the retry fails too, the run ends failed with "Failed after one automatic retry: …", the routine's failure streak is 1, the owner is notified and the Chief opens its Problems to look at thread. On a build without the fix, the turn and both runs settle as completed. These checks replay the pinned build's output; they do not prove a live Cursor account or a later Cursor release's wording.
Slow or empty CLI version responses
pnpm exec vitest run server/cli-version-probe.test.ts server/procs.test.ts server/engine-status-reads.e2e.test.ts src/App.engine-status.test.ts
The disposable server fixture runs a synthetic Claude CLI that takes nine seconds to report its version, and another that returns empty output once. Concurrent engine-list reads must report it available and signed in, using one version process for the slow case and two for the empty-response retry. Both cases send two chat turns through the control surface and retain the bot's saved model selection.
The probe tests cover the thirty-second total budget, overlapping checks, temporary failures, and clearing a remembered version when the executable is missing or cannot be executed. The renderer test keeps an existing chat visible while engine status is unavailable and retains setup when there is no conversation. These checks do not prove a real provider's login or a packaged Windows window.
Groq API setup
pnpm exec vitest run server/drivers/groq.test.ts server/provider-key-check.test.ts server/config.test.ts server/openai-tools.e2e.test.ts src/components/keys/key-catalog.test.ts src/components/keys/KeyRow.test.ts src/state/store.test.ts
These fixtures use disposable data and local HTTP providers. They check the preset endpoint, write-only key status, model discovery, selection, streaming usage, tool approval/denial/cancellation, and clearing the key. They never call Groq or verify a real account's quota, model access, or inference.
For a renderer check, use an isolated server with a synthetic Groq endpoint. Open Settings → API keys, paste its fixture key and save it, and check that the row reports catalog reachability without claiming chat authentication. Select a Groq model in the bot's picker, send a fixture turn, then clear the key and confirm the engine is unavailable. Never use the live app or a real key for this recipe.
ModelGo API setup
pnpm exec vitest run server/drivers/modelgo.test.ts server/provider-key-check.test.ts server/credential-request.test.ts src/components/keys/key-catalog.test.ts
These use a local stand-in for https://api.modelgo.ai/v1. They check the
preset endpoint, that the server's key never goes to another host, the live
model list, streaming and tool calls over chat completions, the plain sentences
for HTTP 402 billing_insufficient and 403 first_recharge_required, and that
a refused key never shows in events. They never call ModelGo. A chat and a tool
call through this driver against the real API have not been run; use a real key
before relying on them. /models has no field for tool support, so the picker
keeps every model whose output_modalities includes text.
Greenference API setup
pnpm exec vitest run server/drivers/greenference.test.ts server/provider-key-check.test.ts server/credential-request.test.ts src/components/keys/key-catalog.test.ts
These use a local stand-in for https://llm.eu.greenference.com/v1. They check
the preset endpoint, that the server's key never goes to another host, the
model list (ready models that call tools, short names, image input from
input_modalities), streaming with reasoning and usage, and that a refused key
never shows in events. Greenference's model list is public, but a wrong key
gets 401 there, so Settings' Test proves the key. They never call Greenference.
Checked against the live public list on 2026-10-30: 10 models, of which 5 call tools (GLM 5.3 Flash, Qwen3.6 27B, Gemma 4 31B, GLM 4.7 Flash, Qwen3 14B), and chat without a key answers 401. A real chat turn needs a real key.
Meta Muse: Model API and Muse Code
pnpm exec vitest run server/drivers/meta.test.ts server/drivers/muse-code.test.ts server/provider-key-check.test.ts server/config.test.ts server/openai-tools.e2e.test.ts src/components/keys/key-catalog.test.ts src/components/keys/KeyRow.test.ts src/state/store.test.ts
The Meta Model API fixtures use a local HTTP provider: preset endpoint, write-only key, the account's own model list (Muse Wonder becomes the default once listed), streaming usage and tool approval. They never call Meta.
Muse Code has a live check against the real CLI, signed in on this machine
with muse login. It spends that account's Muse usage, so it runs only when
asked:
OMB_LIVE_MUSE=1 pnpm exec vitest run server/drivers/muse-code.live.test.ts
It lists the account's models (Muse Wonder 1.0), answers on Muse Wonder, runs a shell command as a tool step, and resumes the session on a fresh instance after the first one is gone, the way an app restart does.
Direct API endpoints for native agents
pnpm exec vitest run server/claude-account-api.test.ts server/claude-endpoints.test.ts server/codex-endpoints.test.ts server/drivers/codex.test.ts server/drivers/codex-background-text.test.ts src/components/AgentEndpoints.dom.test.ts src/components/ClaudeEndpoints.test.ts server/agent-endpoint-models.test.ts
The API fixture launches a disposable server and synthetic CLIs. It checks Codex endpoint creation, persistence, updates, removal guards, admin-only mutations and write-only keys. Driver fixtures check direct routing across native thread restarts, background calls, missing-key refusal, and exclusion of the key from shell environments and command arguments. Renderer tests check that both forms start empty (the official URL is only a placeholder; an empty Codex URL saves OpenAI), send a typed model, and save a custom gateway URL. Discovery tests check that the key never goes to a plain-HTTP host off this computer.
These fixtures do not prove a real gateway's Responses or Messages protocol, streaming, tool execution, TLS, DNS, or account authentication. Verify those against a separately provisioned test gateway before marking the draft ready. Never use the person's live workspace or credentials for fixture verification.