You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
readme: add See it running walkthrough with 4 screenshots from a real fresh install
Adds a See it running section right after the TL;DR that narrates the
end-to-end demo from the screenshots Father captured:
1. hub starting on a Linux VM with the public Cloudflare tunnel
URL printed in a clear box
2. multi_brain_publisher.py registering a Groq Llama-3.3-70B brain
under the name 'zai' with the new full URL+KEY+curl box
3. Windows PowerShell client hitting the tunnel via Invoke-RestMethod
across three different prompts (intro / meta / code) — all answered
coherently with the brain naturally explaining its zhub-aware context
4. operator dashboard showing the same publisher live with traffic
flowing through
Origin section rewritten to clarify: ZAI stays private, the LinkedIn
demo wraps a Claude Code session as the bridged brain, and the README
walkthrough is the reproducible Linux-VM + PowerShell + Groq path.
Screenshots themselves moved out of repo root into docs/screenshots/
with proper lowercase names so README references resolve cleanly.
Copy file name to clipboardExpand all lines: README.md
+28-2Lines changed: 28 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,30 @@ Three commands. One URL + key. Reachable from anywhere.
42
42
43
43
---
44
44
45
+
## See it running
46
+
47
+
A fresh `git clone` on a Linux VM, a Groq brain published in one command, and a Windows PowerShell client talking to it through a Cloudflare tunnel — no SDK, no glue code, just the OpenAI Chat Completions wire format.
48
+
49
+
**1. Start the hub (Linux VM, terminal 1).** One command brings up the FastAPI router, persistent SQLite, and a public Cloudflare tunnel. The public URL is printed in a box and exposed at `/hub/identity` for any publisher or client to discover.
50
+
51
+

52
+
53
+
**2. Publish a brain (Linux VM, terminal 2).**`multi_brain_publisher.py` registers a Groq Llama-3.3-70B publisher under the name `zai`. The publisher auto-discovers the hub's public URL and prints a copy-paste-ready box with `URL`, `KEY`, and a working curl example. Every brain that connects via this script ships with a built-in zhub-aware preamble — so the AI naturally knows it's part of the substrate without anyone writing a system prompt.
54
+
55
+

56
+
57
+
**3. Talk to it from anywhere (Windows PowerShell).** Same URL + KEY. No zhub install on the client side — just `Invoke-RestMethod`. Three different prompts (intro / meta / code) all answered coherently, with the brain naturally explaining that it's running on Groq Llama 3.3 70B *behind a substrate called zhub that lets it be reached from many places at once*. Nothing in the client said any of that — the substrate did.
58
+
59
+

60
+
61
+
**4. Watch it from the operator deck.** The hub serves a live dashboard at `/` — animated SVG showing CLIENTS → HUB → PUBLISHERS traffic flow, p95 latency, total chats, recent requests. The same `zai` publisher visible online with its Groq backend, every PowerShell call flowing through as a particle.
62
+
63
+

64
+
65
+
End to end: Linux VM hosting the hub + publisher → Cloudflare tunnel → Windows client over HTTPS → Groq backend → response back to the client → dashboard updates in real time. **Same primitive scales to phones (Pocket), IDEs (Cursor), MCP clients (Claude Desktop), or any HTTP caller.**
66
+
67
+
---
68
+
45
69
## Why
46
70
47
71
Today, exposing a custom AI (an agent, a fine-tuned local model, a custom RAG stack, an MCP server) to the rest of your tools means re-writing the same plumbing every time: auth, tunnel, API gateway, SDK, retries, MCP bridge, identity, federation.
@@ -52,9 +76,11 @@ Today, exposing a custom AI (an agent, a fine-tuned local model, a custom RAG st
52
76
53
77
### Origin
54
78
55
-
I'm building a private autonomous AI (**ZAI**) that I want reachable from everywhere — phone chat ([Pocket](https://github.com/Zawwarsami16/pocket)), laptop dev tools (Claude Desktop, Cursor), custom surfaces — without writing the same auth/tunnel/SDK plumbing five times. zhub is the substrate I extracted from that need.
79
+
I built zhub for my own private AI — **ZAI** — that I want reachable from everywhere: phone chat ([Pocket](https://github.com/Zawwarsami16/pocket)), laptop dev tools (Claude Desktop, Cursor), custom surfaces — without writing the same auth/tunnel/SDK plumbing five times. ZAI itself stays private. What made it interesting to *build the connector right* is what's open source here.
80
+
81
+
I can't show ZAI directly, so the [LinkedIn demo](https://www.linkedin.com/in/zawwarsami) instead wraps a **Claude Code session** as a zhub publisher and reaches it from Pocket on a phone — same substrate, different brain. The screenshots above are a separate reproducible flow: a fresh `git clone` on a Linux virtual machine, a Groq brain published with the API key the user generated, and Windows PowerShell talking to it through the tunnel. Every screenshot, every URL, every response is from a real first-time install — nothing staged.
56
82
57
-
ZAI itself stays private; what made it interesting to *build the connector right* is what's open source here. The same primitive works for any AI — yours, mine, a model someone hasn't trained yet. zhub doesn't care.
83
+
The same primitive works for any AI — yours, mine, a model someone hasn't trained yet. zhub doesn't care.
0 commit comments