SYS.MODULES
๐งญ
ROUTER
Selects a webview node (random or pinned), fails over automatically, and writes a .txt handoff so the next node continues the work.
๐
BRIDGE
Node port of the MCP side of bridge.py. One hub is shared by every node.
๐ฅ๏ธ
WEBVIEW NODES
One <webview> per account, each with its own login partition.
๐ค
DRIVER
Injected into each webview. Sends prompts, records progress, and reports done or failed.
SYS.ARCHITECTURE
โโโโโโโโโโโโโโโโโโโโโโโโ
โ PARENT PROMPT โ
โโโโโโโโโโโโฌโโโโโโโโโโโโ
โ
โโโโโโโโโโโโผโโโโโโโโโโโโ
โ ROUTER โ โโโ AUTO / PIN mode
โ select ยท failover โ
โ handoff ยท history โ
โโโโโฌโโโโโโโฌโโโโโโโโฌโโโโ
โ โ โ
โโโโโโโโโโโผโ โโโโผโโโโโโโ โโผโโโโโโโโโโ
โ NODE 01 โ โ NODE 02 โ โ NODE N โ
โโโโโโโฌโโโโโ โโโโโโฌโโโโโ โโโโโโฌโโโโโโ
โโโโโโโโโโโโโโผโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโผโโโโโโโโโโโโโ
โ MCP HUB โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
SYS.FLOW
- Click + Node, choose a provider, and log in inside the webview.
- Click Start agent on that node. Repeat for other accounts.
- Type in the parent prompt. Auto picks a ready node, or pin one.
- Replies and tool results appear in one continuous conversation panel.
- If a node fails, the router switches to another and sends a handoff summary.
SYS.BOOT
git clone https://github.com/herdodp/routergent.git
cd routergent
npm install
npm start_
SYS.WARNINGS
โ Experimental. Known limitations:
- The driver has not been tested in a real webview; selectors depend on each provider's DOM.
- Some
world: "MAIN"content scripts may be affected because they are injected atdom-ready. - Open a new chat on a node before pressing Start agent.
- Building the portable .exe needs
../snapgent-extensionand../vscode_mcp.exenext to the project.