AI

RJEC Dual AI

Grok (here) · Cloudflare Workers AI (edge bulk)

Not a bad idea — dual brain

Two AIs, one workflow

You (and Grok) stay on this machine for planning, money, and judgment. Cloudflare Pages Functions call multiple Workers AI models in parallel for bulk drafts, second opinions, embeds — while Grok keeps working.

Grok lane

Orchestrator

This session · tools · money · plan

Cloudflare AI

Checking…

Llama · GLM · Kimi · embeddings

Bridge

local/

PowerShell + node from this PC

Architecture

Here (this machine)

  • Grok — plans, files, Stripe/CF MCP, harness
  • Local bridgelocal/bridge.mjs or Invoke-DualAi.ps1
  • Fires HTTP to Pages; continues other work

Cloudflare edge

  • Pages — this UI
  • Functions/api/ai/*
  • Workers AI — multi-model fan-out (no local GPU)

Try from the browser

Results show here…

Call from this PC (copy-paste)

# From %USERPROFILE%\RJEC\src\rjec-dual-ai
node local/bridge.mjs health
node local/bridge.mjs chat "Summarize dual AI in 2 bullets" --model fast
node local/bridge.mjs fanout "List 3 ops risks" --models fast,default,alt

# Or PowerShell
pwsh -File local/Invoke-DualAi.ps1 -Action fanout -Prompt "List 3 ops risks"