Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

chore(ibm): delete IBM pages — already removed from nav/discovery

nirholas02578368c4da
diff --git a/pages/ibm/galaxy.html b/pages/ibm/galaxy.html
deleted file mode 100644
index 12b15a6ac..000000000
--- a/pages/ibm/galaxy.html
+++ /dev/null
@@ -1,600 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,viewport-fit=cover" />
- <title>Agent Galaxy — Semantic 3D agent discovery on IBM Granite · three.ws</title>
- <meta name="description" content="Every three.ws agent embedded with IBM Granite on watsonx.ai, projected into an explorable 3D constellation. Similar agents cluster together; search in natural language and fly to what you mean." />
- <link rel="canonical" href="https://three.ws/ibm/galaxy" />
- <meta property="og:type" content="website" />
- <meta property="og:title" content="Agent Galaxy — Semantic 3D discovery on IBM Granite" />
- <meta property="og:description" content="A living 3D constellation of AI agents, positioned by IBM Granite embeddings on watsonx.ai. Search by meaning, not keywords." />
- <meta property="og:url" content="https://three.ws/ibm/galaxy" />
- <meta property="og:image" content="https://three.ws/ibm-og.png" />
- <meta name="twitter:card" content="summary_large_image" />
- <meta name="twitter:title" content="Agent Galaxy — Semantic 3D discovery on IBM Granite" />
- <meta name="twitter:description" content="A 3D constellation of AI agents positioned by IBM Granite embeddings on watsonx.ai." />
- <meta name="twitter:image" content="https://three.ws/ibm-og.png" />
- <link rel="icon" href="/favicon.ico" />
- <link rel="stylesheet" href="/ibm.css" />
- <style>
- /* Design tokens come from the shared system: /ibm.css */
- *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
- html, body { height: 100%; overflow: hidden; }
- body {
- font: 14px/1.6 -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
- color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
- }
- a { color: inherit; }
- #scene { position: fixed; inset: 0; display: block; touch-action: none; cursor: grab; }
- body.dragging #scene { cursor: grabbing; }
-
- /* ── Top bar ─────────────────────────────────────────────── */
- .topbar {
- position: fixed; top: 0; left: 0; right: 0; z-index: 30;
- display: flex; align-items: center; justify-content: space-between; gap: 12px;
- padding: 13px 18px;
- background: linear-gradient(180deg, rgba(5,7,13,0.95) 0%, rgba(5,7,13,0) 100%);
- pointer-events: none;
- }
- .topbar > * { pointer-events: auto; }
- .brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
- .brand a.home {
- display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
- color: var(--text); font-weight: 600; font-size: 14px; letter-spacing: -0.01em;
- }
- .brand a.home:hover { color: var(--brand-blue-light); }
- .brand .sep { color: var(--muted2); font-size: 12px; }
- .badge {
- display: inline-flex; align-items: center; gap: 7px;
- background: var(--panel); border: 1px solid var(--border); border-radius: 99px;
- padding: 5px 12px 5px 9px; font-size: 12px; color: var(--muted); backdrop-filter: blur(14px);
- white-space: nowrap;
- }
- .badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-blue); box-shadow: 0 0 8px var(--brand-blue); flex: none; }
- .badge strong { color: var(--text); font-weight: 600; }
- .topbar .actions { display: flex; gap: 6px; }
- .tb-btn {
- display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
- background: var(--panel); border: 1px solid var(--border); color: var(--muted);
- border-radius: var(--radius-sm); padding: 8px 12px; font-size: 12px; font-weight: 500;
- backdrop-filter: blur(14px); transition: background .15s, border-color .15s, color .15s, transform .1s;
- text-decoration: none; white-space: nowrap;
- }
- .tb-btn:hover { background: var(--panel-hover); border-color: var(--border-hi); color: var(--text); }
- .tb-btn:active { transform: translateY(1px); }
- .tb-btn svg { width: 14px; height: 14px; flex: none; }
- .tb-btn.active { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
- .tb-btn.active:hover { filter: brightness(1.1); }
- /* Hide labels on very small screens */
- @media (max-width: 480px) { .tb-btn .lbl { display: none; } .tb-btn { padding: 8px 10px; } }
-
- /* ── Search ──────────────────────────────────────────────── */
- .search-wrap {
- position: fixed; top: 60px; left: 50%; transform: translateX(-50%); z-index: 25;
- width: min(580px, calc(100vw - 28px)); pointer-events: auto;
- }
- .search-box {
- display: flex; align-items: center; gap: 10px;
- background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
- padding: 10px 13px; backdrop-filter: blur(18px); box-shadow: var(--shadow);
- transition: border-color .15s, box-shadow .15s, background .15s;
- }
- .search-box:focus-within {
- border-color: var(--brand-blue-light); background: var(--panel-hover);
- box-shadow: 0 0 0 3px var(--brand-blue-glow), var(--shadow);
- }
- .search-box svg.lead { width: 17px; height: 17px; color: var(--brand-blue-light); flex: none; }
- .search-box input {
- flex: 1; min-width: 0; background: none; border: 0; outline: none;
- color: var(--text); font-size: 14px; font-family: inherit;
- }
- .search-box input::placeholder { color: var(--muted2); }
- .search-box .kbd {
- font-size: 11px; color: var(--muted2); border: 1px solid var(--border);
- border-radius: 5px; padding: 1px 6px; flex: none; font-family: ui-monospace, monospace;
- }
- .search-box .clear {
- display: none; cursor: pointer; color: var(--muted); background: none; border: 0;
- padding: 3px; border-radius: 5px; flex: none; transition: color .12s, background .12s;
- }
- .search-box .clear:hover { color: var(--text); background: rgba(255,255,255,0.07); }
- .spinner {
- display: none; width: 15px; height: 15px;
- border: 2px solid rgba(120,169,255,0.25); border-top-color: var(--brand-blue-light);
- border-radius: 50%; animation: spin .65s linear infinite; flex: none;
- }
- .search-box.searching .spinner { display: inline-block; }
- @keyframes spin { to { transform: rotate(360deg); } }
-
- .search-hint {
- margin-top: 7px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
- opacity: 0; transition: opacity .2s; pointer-events: none;
- }
- .search-wrap:hover .search-hint,
- .search-box:focus-within ~ .search-hint { opacity: 1; pointer-events: auto; }
- .chip {
- font-size: 11px; color: var(--muted); background: var(--panel); border: 1px solid var(--border);
- border-radius: 99px; padding: 4px 10px; cursor: pointer; backdrop-filter: blur(12px);
- transition: color .13s, border-color .13s, background .13s;
- }
- .chip:hover { color: var(--text); border-color: var(--brand-blue-light); background: var(--brand-blue-glow); }
-
- /* ── Legend ──────────────────────────────────────────────── */
- .legend {
- position: fixed; left: 16px; bottom: 16px; z-index: 20;
- background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
- padding: 13px 14px; backdrop-filter: blur(18px); box-shadow: var(--shadow);
- max-width: 230px; max-height: 48vh; overflow-y: auto;
- transition: transform .28s cubic-bezier(.22,.61,.36,1), opacity .2s;
- }
- .legend.hidden { transform: translateX(calc(-100% - 20px)); opacity: 0; pointer-events: none; }
- .legend-toggle {
- position: fixed; left: 16px; bottom: 16px; z-index: 21;
- display: none; background: var(--panel); border: 1px solid var(--border);
- border-radius: var(--radius-sm); padding: 8px 12px; cursor: pointer;
- backdrop-filter: blur(14px); font-size: 12px; font-weight: 500; color: var(--muted);
- align-items: center; gap: 7px; transition: color .13s, border-color .13s;
- }
- .legend-toggle:hover { color: var(--text); border-color: var(--border-hi); }
- .legend-toggle svg { width: 13px; height: 13px; }
- .legend h3 {
- font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
- color: var(--muted2); margin-bottom: 10px; font-weight: 700;
- display: flex; align-items: center; gap: 6px;
- }
- .legend h3 span { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted2); opacity: 0.7; }
- .legend .row {
- display: flex; align-items: center; gap: 8px; padding: 5px 6px;
- border-radius: var(--radius-sm); cursor: pointer; transition: background .12s;
- }
- .legend .row:hover { background: rgba(255,255,255,0.05); }
- .legend .row.muted { opacity: 0.32; }
- .legend .row.active { background: rgba(15,98,254,0.10); }
- .legend .swatch {
- width: 10px; height: 10px; border-radius: 50%; flex: none;
- box-shadow: 0 0 7px currentColor;
- }
- .legend .name { font-size: 12px; font-weight: 500; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
- .legend .cnt { font-size: 10px; color: var(--muted2); font-variant-numeric: tabular-nums; background: rgba(255,255,255,0.06); border-radius: 4px; padding: 1px 5px; }
- .legend .foot { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--border); font-size: 10px; color: var(--muted2); line-height: 1.5; }
-
- /* ── Stats (bottom-right) ────────────────────────────────── */
- .stats {
- position: fixed; right: 16px; bottom: 16px; z-index: 20;
- display: flex; gap: 16px; background: var(--panel); border: 1px solid var(--border);
- border-radius: var(--radius); padding: 10px 15px; backdrop-filter: blur(18px); box-shadow: var(--shadow);
- }
- .stats .stat .v {
- font-size: 16px; font-weight: 700; letter-spacing: -0.02em;
- font-variant-numeric: tabular-nums; line-height: 1.2;
- }
- .stats .stat .v .u { font-size: 11px; color: var(--muted); font-weight: 400; }
- .stats .stat .k { font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted2); margin-top: 2px; }
-
- /* ── Cluster labels ──────────────────────────────────────── */
- .cluster-labels { position: fixed; inset: 0; z-index: 12; pointer-events: none; }
- .clabel {
- position: absolute; transform: translate(-50%, -50%);
- font-size: 11px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap;
- padding: 3px 10px; border-radius: 99px;
- background: rgba(5,7,13,0.65); backdrop-filter: blur(8px);
- border: 1px solid var(--border); text-shadow: 0 1px 4px rgba(0,0,0,0.8);
- transition: opacity .3s; will-change: transform;
- }
-
- /* ── Hover tooltip ───────────────────────────────────────── */
- .tooltip {
- position: fixed; z-index: 28; pointer-events: none; opacity: 0;
- transform: translateY(6px) scale(0.97);
- transition: opacity .1s, transform .1s; max-width: 272px;
- background: var(--panel-solid); border: 1px solid var(--border); border-radius: var(--radius);
- padding: 10px 13px; box-shadow: var(--shadow);
- }
- .tooltip.show { opacity: 1; transform: translateY(0) scale(1); }
- .tooltip .tt-theme { font-size: 10px; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 3px; text-transform: uppercase; }
- .tooltip .tt-name { font-size: 13px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
- .tooltip .tt-desc {
- font-size: 11px; color: var(--muted); margin-top: 5px; line-height: 1.45;
- display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
- }
- .tooltip .tt-match { font-size: 10px; color: var(--green); margin-top: 5px; font-weight: 700; }
-
- /* ── Detail panel ────────────────────────────────────────── */
- .panel {
- position: fixed; top: 0; right: 0; bottom: 0; z-index: 35;
- width: min(360px, 100vw);
- background: var(--panel-solid); border-left: 1px solid var(--border);
- transform: translateX(100%); transition: transform .3s cubic-bezier(.22,.61,.36,1);
- display: flex; flex-direction: column; box-shadow: -24px 0 80px rgba(0,0,0,0.55);
- }
- .panel.open { transform: translateX(0); }
-
- .panel .p-head {
- padding: 20px 20px 0; position: relative; flex: none;
- border-bottom: 1px solid var(--border); padding-bottom: 18px;
- }
- .panel .p-head-actions {
- position: absolute; top: 14px; right: 14px;
- display: flex; gap: 6px; align-items: center;
- }
- .panel .p-icon-btn {
- cursor: pointer; background: rgba(255,255,255,0.05); border: 1px solid var(--border);
- color: var(--muted); border-radius: var(--radius-sm); width: 30px; height: 30px;
- display: grid; place-items: center; transition: color .13s, background .13s; flex: none;
- }
- .panel .p-icon-btn:hover { color: var(--text); background: rgba(255,255,255,0.10); }
- .panel .p-icon-btn svg { width: 14px; height: 14px; }
- .panel .p-icon-btn.copied { color: var(--green); border-color: var(--green); }
-
- .panel .p-avatar-row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
- .panel .p-avatar {
- width: 56px; height: 56px; border-radius: var(--radius); object-fit: cover;
- background: #1c1c1c; border: 1px solid var(--border); flex: none;
- }
- .panel .p-avatar.placeholder {
- display: grid; place-items: center;
- font-size: 22px; font-weight: 700; color: var(--brand-blue-light);
- }
- .panel .p-meta { min-width: 0; }
- .panel .p-theme {
- display: inline-flex; align-items: center; gap: 6px;
- font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
- margin-bottom: 5px;
- }
- .panel .p-theme .swatch { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 6px currentColor; flex: none; }
- .panel .p-name { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
-
- .panel .p-body { padding: 16px 20px 24px; overflow-y: auto; flex: 1; }
- .panel .p-desc { font-size: 13px; color: #bcc4d4; line-height: 1.65; }
- .panel .p-section { margin-top: 20px; }
- .panel .p-section h4 {
- font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
- color: var(--muted2); margin-bottom: 9px; font-weight: 700;
- display: flex; align-items: center; gap: 6px;
- }
- .panel .p-section h4 .granite-tag {
- font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--brand-blue-light); opacity: 0.85;
- }
-
- .panel .nb {
- display: flex; align-items: center; gap: 10px; padding: 7px 8px;
- border-radius: var(--radius-sm); cursor: pointer; transition: background .1s;
- }
- .panel .nb:hover { background: rgba(255,255,255,0.05); }
- .panel .nb-av {
- width: 32px; height: 32px; border-radius: 9px; object-fit: cover;
- background: #1c1c1c; flex: none; display: grid; place-items: center;
- font-weight: 700; color: var(--brand-blue-light); font-size: 13px;
- }
- .panel .nb-meta { min-width: 0; flex: 1; }
- .panel .nb-name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 3px; }
- .panel .nb-score-row { display: flex; align-items: center; gap: 7px; }
- .panel .nb-bar { flex: 1; height: 3px; background: rgba(255,255,255,0.07); border-radius: 99px; overflow: hidden; }
- .panel .nb-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-light)); border-radius: 99px; }
- .panel .nb-pct { font-size: 10px; color: var(--brand-blue-light); font-weight: 700; font-variant-numeric: tabular-nums; width: 30px; text-align: right; flex: none; }
-
- .panel .p-actions { display: flex; gap: 8px; margin-top: 18px; }
- .panel .p-cta {
- flex: 1; text-align: center; background: var(--brand-blue); color: #fff; text-decoration: none;
- font-weight: 600; font-size: 13px; padding: 11px 14px; border-radius: var(--radius-sm);
- transition: filter .13s; display: block;
- }
- .panel .p-cta:hover { filter: brightness(1.12); }
- .panel .p-copy-link {
- display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
- background: rgba(255,255,255,0.05); border: 1px solid var(--border);
- color: var(--muted); border-radius: var(--radius-sm); padding: 11px 13px;
- font-size: 12px; font-weight: 500; transition: color .13s, background .13s, border-color .13s;
- white-space: nowrap;
- }
- .panel .p-copy-link:hover { color: var(--text); background: rgba(255,255,255,0.09); border-color: var(--border-hi); }
- .panel .p-copy-link.copied { color: var(--green); border-color: var(--green); }
- .panel .p-copy-link svg { width: 13px; height: 13px; }
-
- /* ── Search results ──────────────────────────────────────── */
- .results {
- position: fixed; top: 112px; left: 50%; transform: translateX(-50%) translateY(-8px); z-index: 24;
- width: min(580px, calc(100vw - 28px)); max-height: 44vh; overflow-y: auto;
- background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
- backdrop-filter: blur(18px); box-shadow: var(--shadow); padding: 6px;
- opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s;
- }
- .results.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
- .results .r-head {
- display: flex; justify-content: space-between; align-items: center;
- padding: 6px 8px 7px; font-size: 11px; color: var(--muted2);
- border-bottom: 1px solid var(--border); margin-bottom: 4px;
- }
- .results .r-head b { color: var(--text); font-weight: 600; }
- .results .ritem {
- display: flex; align-items: center; gap: 10px; padding: 8px 8px;
- border-radius: var(--radius-sm); cursor: pointer; transition: background .1s;
- }
- .results .ritem:hover, .results .ritem.active { background: rgba(15,98,254,0.12); }
- .results .r-av {
- width: 30px; height: 30px; border-radius: 8px; object-fit: cover;
- background: #1c1c1c; flex: none; display: grid; place-items: center;
- font-weight: 700; color: var(--brand-blue-light); font-size: 12px;
- }
- .results .r-name { font-size: 13px; font-weight: 600; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
- .results .r-bar { width: 48px; height: 4px; border-radius: 99px; background: rgba(255,255,255,0.07); overflow: hidden; flex: none; }
- .results .r-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-light)); }
- .results .r-score { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; width: 32px; text-align: right; flex: none; }
-
- /* ── Full-screen overlays ────────────────────────────────── */
- .overlay {
- position: fixed; inset: 0; z-index: 40; display: none;
- align-items: center; justify-content: center;
- background: radial-gradient(1400px 700px at 50% 30%, rgba(15,98,254,0.08), transparent 60%), var(--bg);
- padding: 24px; text-align: center;
- }
- .overlay.show { display: flex; }
- .overlay .inner { max-width: 440px; }
- .overlay .o-orb {
- width: 52px; height: 52px; margin: 0 auto 20px; border-radius: 50%;
- background: radial-gradient(circle at 35% 30%, var(--brand-blue-light), var(--brand-blue) 60%, #062a8a);
- box-shadow: 0 0 44px rgba(15,98,254,0.5); animation: pulse 1.8s ease-in-out infinite;
- }
- @keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.8; } }
- .overlay h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 9px; }
- .overlay p { color: var(--muted); font-size: 14px; line-height: 1.65; }
- .overlay p code { font-family: ui-monospace, monospace; font-size: 12px; color: var(--brand-blue-light); }
- .overlay .o-steps { margin-top: 16px; display: flex; flex-direction: column; gap: 7px; text-align: left; max-width: 300px; margin-left: auto; margin-right: auto; }
- .overlay .o-step { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
- .overlay .o-step .s-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border); flex: none; transition: all .3s; }
- .overlay .o-step.active .s-dot { border-color: var(--brand-blue-light); box-shadow: 0 0 10px var(--brand-blue-light); }
- .overlay .o-step.done .s-dot { background: var(--green); border-color: var(--green); }
- .overlay .o-step.active { color: var(--text); }
- .overlay .o-btn {
- display: inline-flex; align-items: center; gap: 7px; margin-top: 20px;
- background: var(--brand-blue); color: #fff; text-decoration: none; font-weight: 600;
- font-size: 13px; padding: 11px 18px; border-radius: var(--radius-sm); border: 0;
- cursor: pointer; transition: filter .13s;
- }
- .overlay .o-btn:hover { filter: brightness(1.12); }
- .overlay .o-btn.sec { background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--text); }
- .overlay .o-btn.sec:hover { background: rgba(255,255,255,0.10); filter: none; }
- .overlay .o-actions { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; }
-
- /* ── HUD hint ────────────────────────────────────────────── */
- .hud-hint {
- position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 15;
- font-size: 11px; color: var(--muted); background: var(--panel); border: 1px solid var(--border);
- border-radius: 99px; padding: 6px 14px; backdrop-filter: blur(14px); opacity: 0; transition: opacity .4s;
- white-space: nowrap;
- }
- .hud-hint.show { opacity: 1; }
- .hud-hint b { color: var(--text); }
-
- /* ── Keyboard shortcuts overlay ──────────────────────────── */
- .shortcuts-overlay {
- position: fixed; inset: 0; z-index: 50; display: none;
- align-items: center; justify-content: center;
- background: rgba(5,7,13,0.8); backdrop-filter: blur(6px); padding: 24px;
- }
- .shortcuts-overlay.show { display: flex; }
- .shortcuts-card {
- background: var(--panel-solid); border: 1px solid var(--border); border-radius: var(--radius-lg);
- padding: 24px 26px; max-width: 380px; width: 100%; box-shadow: var(--shadow);
- }
- .shortcuts-card h3 { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; }
- .shortcuts-card .sk-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
- .shortcuts-card .sk-row:last-child { border-bottom: none; }
- .shortcuts-card .sk-desc { font-size: 12px; color: var(--muted); }
- .shortcuts-card .sk-keys { display: flex; gap: 4px; }
- .shortcuts-card kbd {
- font-size: 11px; color: var(--text); background: rgba(255,255,255,0.08);
- border: 1px solid var(--border); border-radius: 5px; padding: 2px 7px;
- font-family: ui-monospace, monospace; font-weight: 600;
- }
- .shortcuts-card .sk-close { display: block; margin-top: 18px; text-align: center; font-size: 12px; color: var(--muted2); cursor: pointer; }
- .shortcuts-card .sk-close:hover { color: var(--text); }
-
- /* ── Responsive ──────────────────────────────────────────── */
- @media (max-width: 640px) {
- .legend { display: none; }
- .legend-toggle { display: inline-flex; }
- .stats { bottom: 16px; right: 16px; gap: 12px; padding: 9px 13px; }
- .stats .stat .v { font-size: 14px; }
- .stats .stat .k { font-size: 8px; }
- .search-wrap { top: 58px; }
- .hud-hint { display: none; }
- .panel { width: 100vw; }
- .brand .badge { display: none; }
- }
- @media (max-width: 360px) {
- .stats { display: none; }
- }
- @media (prefers-reduced-motion: reduce) {
- .o-orb, .spinner { animation: none; }
- .panel, .tooltip, .results, .legend { transition: none; }
- }
- </style>
-
- <meta property="og:site_name" content="three.ws">
- <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"three.ws on IBM watsonx — Agent Galaxy","description":"three.ws is an IBM Business Partner. Open-source 3D AI agents that think on IBM Granite via watsonx.ai and give watsonx Orchestrate agents a face, voice, and on-chain identity.","url":"https://three.ws/ibm/galaxy","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>
-</head>
-<body>
- <noscript>
- <div style="position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;background:#080808;color:#e7ecf5;font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;text-align:center">
- <div style="max-width:480px">
- <div style="width:12px;height:12px;border-radius:50%;background:#0f62fe;margin:0 auto 20px;box-shadow:0 0 24px #0f62fe" aria-hidden="true"></div>
- <h1 style="font-size:24px;font-weight:700;letter-spacing:-0.02em;margin:0 0 10px">Agent Galaxy</h1>
- <p style="font-size:14px;line-height:1.65;color:#8a9ab8;margin:0 0 20px">A 3D semantic map of every three.ws agent, mapped by IBM Granite embeddings. JavaScript is required for this experience.</p>
- <div style="display:flex;gap:9px;justify-content:center;flex-wrap:wrap">
- <a href="/docs/ibm" style="display:inline-block;padding:10px 18px;border-radius:9px;background:#0f62fe;color:#fff;text-decoration:none;font-size:13px;font-weight:600">Read the docs</a>
- <a href="/ibm" style="display:inline-block;padding:10px 18px;border-radius:9px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);color:#e7ecf5;text-decoration:none;font-size:13px">About IBM integration</a>
- </div>
- </div>
- </div>
- </noscript>
-
- <canvas id="scene"></canvas>
- <div class="cluster-labels" id="clusterLabels"></div>
-
- <!-- Top bar -->
- <div class="topbar">
- <div class="brand">
- <a href="/ibm" class="home" title="IBM Granite demos">
- <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 18l-6-6 6-6"/></svg>
- three.ws
- </a>
- <span class="sep">/</span>
- <span class="badge"><span class="dot"></span><strong>Agent Galaxy</strong><span>·</span>IBM Granite</span>
- </div>
- <div class="actions">
- <button class="tb-btn" id="tourBtn" title="Guided tour of themes (T)">
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="5 3 19 12 5 21 5 3"/></svg>
- <span class="lbl">Tour</span>
- </button>
- <button class="tb-btn" id="resetView" title="Reset camera (R)">
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5"/></svg>
- <span class="lbl">Reset</span>
- </button>
- <button class="tb-btn" id="shortcutsBtn" title="Keyboard shortcuts (?)">
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="6" width="20" height="12" rx="2"/><path d="M6 10h.01M10 10h.01M14 10h.01M18 10h.01M8 14h8"/></svg>
- <span class="lbl">Keys</span>
- </button>
- <a class="tb-btn" href="/ibm" title="IBM Granite demos">
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4M12 8h.01"/></svg>
- <span class="lbl">IBM</span>
- </a>
- </div>
- </div>
-
- <!-- Search -->
- <div class="search-wrap" id="searchWrap" style="display:none">
- <div class="search-box" id="searchBox">
- <svg class="lead" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>
- <input id="searchInput" type="text" placeholder='Search by meaning — e.g. "witty Solana trading assistant"' autocomplete="off" spellcheck="false" aria-label="Semantic search" />
- <span class="spinner" aria-hidden="true"></span>
- <button class="clear" id="searchClear" title="Clear search" aria-label="Clear search">
- <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round"><path d="M18 6 6 18M6 6l12 12"/></svg>
- </button>
- <span class="kbd" aria-hidden="true">/</span>
- </div>
- <div class="search-hint" id="searchHint" aria-label="Search examples"></div>
- </div>
-
- <!-- Search results -->
- <div class="results" id="results" role="listbox" aria-label="Search results"></div>
-
- <!-- Legend (desktop) -->
- <nav class="legend" id="legend" aria-label="Theme legend" style="display:none">
- <h3>Themes <span>· Granite</span></h3>
- <div id="legendRows"></div>
- <div class="foot" id="legendFoot"></div>
- </nav>
-
- <!-- Mobile legend toggle -->
- <button class="legend-toggle" id="legendToggle" aria-label="Show themes" style="display:none">
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><circle cx="12" cy="12" r="3"/><path d="M2 12h2M20 12h2M12 2v2M12 20v2"/></svg>
- Themes
- </button>
-
- <!-- Stats -->
- <div class="stats" id="stats" style="display:none" aria-label="Galaxy statistics"></div>
-
- <!-- Hover tooltip -->
- <div class="tooltip" id="tooltip" role="tooltip" aria-live="polite"></div>
-
- <!-- Detail panel -->
- <aside class="panel" id="panel" aria-label="Agent detail" aria-hidden="true">
- <div class="p-head">
- <div class="p-head-actions">
- <button class="p-icon-btn" id="panelClose" aria-label="Close panel" title="Close (Esc)">
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M18 6 6 18M6 6l12 12"/></svg>
- </button>
- </div>
- <div id="panelHead"></div>
- </div>
- <div class="p-body" id="panelBody"></div>
- </aside>
-
- <!-- Mobile legend panel (same data, different layout) -->
- <div class="legend" id="legendMobile" style="display:none; position:fixed; left:0; right:0; bottom:0; max-width:100%; max-height:55vh; border-radius:var(--radius-lg) var(--radius-lg) 0 0; border-left:none; border-right:none; border-bottom:none; z-index:36;" aria-label="Themes" hidden>
- <h3>Themes <span>· named by IBM Granite</span></h3>
- <div id="legendMobileRows"></div>
- </div>
-
- <!-- HUD hint -->
- <div class="hud-hint" id="hudHint" aria-live="polite"></div>
-
- <!-- Keyboard shortcuts -->
- <div class="shortcuts-overlay" id="shortcutsOverlay" role="dialog" aria-modal="true" aria-label="Keyboard shortcuts">
- <div class="shortcuts-card">
- <h3>Keyboard shortcuts</h3>
- <div class="sk-row"><span class="sk-desc">Focus search</span><span class="sk-keys"><kbd>/</kbd></span></div>
- <div class="sk-row"><span class="sk-desc">Reset camera</span><span class="sk-keys"><kbd>R</kbd></span></div>
- <div class="sk-row"><span class="sk-desc">Toggle tour</span><span class="sk-keys"><kbd>T</kbd></span></div>
- <div class="sk-row"><span class="sk-desc">Close panel</span><span class="sk-keys"><kbd>Esc</kbd></span></div>
- <div class="sk-row"><span class="sk-desc">Shortcuts</span><span class="sk-keys"><kbd>?</kbd></span></div>
- <div class="sk-row"><span class="sk-desc">Orbit</span><span class="sk-desc">Drag</span></div>
- <div class="sk-row"><span class="sk-desc">Zoom</span><span class="sk-desc">Scroll</span></div>
- <div class="sk-row"><span class="sk-desc">Select star</span><span class="sk-desc">Click</span></div>
- <button class="sk-close" id="shortcutsClose">Close</button>
- </div>
- </div>
-
- <!-- Loading -->
- <div class="overlay show" id="loadingState">
- <div class="inner">
- <div class="o-orb"></div>
- <h2>Mapping the Agent Galaxy</h2>
- <p>Embedding every agent with <strong style="color:var(--brand-blue-light)">IBM Granite</strong> on watsonx.ai and projecting meaning into 3D space.</p>
- <div class="o-steps" id="loadSteps">
- <div class="o-step active" data-step="0"><span class="s-dot"></span>Gathering public agents</div>
- <div class="o-step" data-step="1"><span class="s-dot"></span>Granite embeddings → vector space</div>
- <div class="o-step" data-step="2"><span class="s-dot"></span>PCA projection + k-means themes</div>
- <div class="o-step" data-step="3"><span class="s-dot"></span>Rendering constellation</div>
- </div>
- </div>
- </div>
-
- <!-- Empty -->
- <div class="overlay" id="emptyState">
- <div class="inner">
- <div class="o-orb" style="animation:none;background:radial-gradient(circle at 35% 30%,#333333,#181818)"></div>
- <h2 id="emptyTitle">No agents to map yet</h2>
- <p id="emptyMsg">The galaxy lights up when public agents exist. Create one and it joins the constellation on the next rebuild.</p>
- <div class="o-actions">
- <a class="o-btn" href="/create">Create an agent</a>
- <a class="o-btn sec" href="/discover">Browse agents</a>
- </div>
- </div>
- </div>
-
- <!-- watsonx unavailable -->
- <div class="overlay" id="unavailableState">
- <div class="inner">
- <div class="o-orb" style="animation:none;background:radial-gradient(circle at 35% 30%,#292929,#111111)"></div>
- <h2>IBM watsonx is not configured</h2>
- <p id="unavailableMsg">Set <code>WATSONX_API_KEY</code> and <code>WATSONX_PROJECT_ID</code> on this deployment to power the galaxy with Granite embeddings.</p>
- <div class="o-actions">
- <a class="o-btn" href="/ibm">About the IBM integration</a>
- </div>
- </div>
- </div>
-
- <!-- Error -->
- <div class="overlay" id="errorState">
- <div class="inner">
- <div class="o-orb" style="animation:none;background:radial-gradient(circle at 35% 30%,#3a1a22,#1a0d10)"></div>
- <h2>Couldn't load the galaxy</h2>
- <p id="errorMsg">Something went wrong. Check your connection and try again.</p>
- <div class="o-actions">
- <button class="o-btn" id="retryBtn">Try again</button>
- <a class="o-btn sec" href="/ibm">Back to IBM</a>
- </div>
- </div>
- </div>
-
- <!-- Independent-demo clarifier -->
- <p class="galaxy-disclaimer" style="position:fixed;left:50%;bottom:6px;transform:translateX(-50%);z-index:10;pointer-events:none;text-align:center;color:#7a85a8;font-size:11px;line-height:1.6;max-width:680px;width:calc(100vw - 28px);margin:0">These are community demos for developers to explore IBM Granite on watsonx.ai and build their own tools — not official IBM partnership deliverables, not IBM products, and not endorsed by IBM. three.ws's formal partnership work with IBM is being built on the IBM platform and is not yet public.</p>
-
- <script type="module" src="/src/ibm-galaxy.js"></script>
- <script type="module" src="/src/ibm-suite-nav.js"></script>
- <script src="/brand.js" defer></script>
-</body>
-</html>
diff --git a/pages/ibm/identity.html b/pages/ibm/identity.html
deleted file mode 100644
index dfdd08bd4..000000000
--- a/pages/ibm/identity.html
+++ /dev/null
@@ -1,295 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover" />
- <title>Identity Firewall — IBM Granite stops AI agent impersonation · three.ws</title>
- <meta name="description" content="Before a three.ws agent identity is born, IBM Granite embeddings cosine-compare it against every public agent to catch impersonation, and IBM Granite Guardian screens the name, bio and persona for harmful content. A live, real-API demo on watsonx.ai." />
- <link rel="canonical" href="https://three.ws/ibm/identity" />
-
- <meta property="og:type" content="website" />
- <meta property="og:title" content="Identity Firewall — IBM Granite stops AI agent impersonation" />
- <meta property="og:description" content="IBM Granite embeddings + Granite Guardian verify every new agent identity on three.ws. Try to clone an agent and watch it get blocked." />
- <meta property="og:url" content="https://three.ws/ibm/identity" />
- <meta property="og:image" content="https://three.ws/ibm-og.png" />
- <meta name="twitter:card" content="summary_large_image" />
- <meta name="twitter:title" content="Identity Firewall — IBM Granite stops AI agent impersonation" />
- <meta name="twitter:description" content="IBM Granite embeddings + Granite Guardian verify every new agent identity on three.ws." />
- <meta name="twitter:image" content="https://three.ws/ibm-og.png" />
-
- <link rel="icon" href="/favicon.ico" />
- <link rel="stylesheet" href="/ibm.css" />
- <style>
- /* Design tokens come from the shared system: /ibm.css */
- * { box-sizing:border-box; margin:0; padding:0; }
- html,body { min-height:100%; }
- body {
- font:15px/1.6 -apple-system,system-ui,"Segoe UI",Roboto,sans-serif;
- color:var(--text);
- background:
- radial-gradient(1100px 520px at 80% -10%, rgba(15,98,254,0.16), transparent 60%),
- radial-gradient(900px 480px at 6% 8%, rgba(120,169,255,0.10), transparent 55%),
- var(--bg);
- -webkit-font-smoothing:antialiased;
- }
- a { color:inherit; }
-
- .topbar {
- position:sticky; top:0; z-index:30;
- display:flex; align-items:center; justify-content:space-between; gap:16px;
- padding:14px 20px;
- background:linear-gradient(180deg,rgba(5,7,13,0.92),rgba(5,7,13,0.35) 70%,transparent);
- backdrop-filter:blur(8px);
- }
- .brand { display:flex; align-items:center; gap:12px; min-width:0; }
- .brand a.home { display:inline-flex; align-items:center; gap:8px; text-decoration:none; color:var(--text); font-weight:600; letter-spacing:-0.01em; }
- .brand .sep { color:var(--faint); }
- .brand .here { color:var(--muted); font-weight:500; }
- .badge {
- display:inline-flex; align-items:center; gap:8px;
- background:var(--panel); border:1px solid var(--border); border-radius:99px;
- padding:6px 13px 6px 10px; font-size:12px; color:var(--muted); backdrop-filter:blur(12px); white-space:nowrap;
- }
- .badge .dot { width:7px; height:7px; border-radius:50%; background:var(--brand-blue); box-shadow:0 0 10px var(--brand-blue); }
- .badge strong { color:var(--text); font-weight:500; }
-
- .wrap { max-width:960px; margin:0 auto; padding:40px 20px 100px; }
-
- .hero { text-align:center; margin-bottom:40px; }
- .kicker {
- display:inline-flex; align-items:center; gap:8px;
- font-size:12px; font-weight:600; color:var(--brand-blue-light);
- background:rgba(15,98,254,0.12); border:1px solid rgba(120,169,255,0.25);
- border-radius:99px; padding:5px 12px; margin-bottom:18px;
- }
- .kicker .dot { width:7px; height:7px; border-radius:50%; background:var(--brand-blue); box-shadow:0 0 10px var(--brand-blue); }
- h1 { font-size:clamp(30px,5vw,46px); letter-spacing:-0.025em; line-height:1.08; font-weight:650; }
- h1 .grad { background:linear-gradient(90deg,#78a9ff,#42be65); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
- .lede { color:var(--muted); font-size:17px; line-height:1.6; max-width:680px; margin:16px auto 0; }
-
- .grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; align-items:start; }
- @media (max-width:760px){ .grid { grid-template-columns:1fr; } }
-
- .card {
- background:var(--panel); border:1px solid var(--border); border-radius:18px;
- padding:24px; box-shadow:var(--shadow); backdrop-filter:blur(14px);
- }
- .card h2 { font-size:15px; font-weight:600; letter-spacing:-0.01em; margin-bottom:4px; }
- .card .sub { color:var(--faint); font-size:13px; margin-bottom:18px; }
-
- .field { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
- .field label { font-size:13px; font-weight:600; color:var(--muted); }
- .field input, .field textarea {
- width:100%; padding:11px 13px; border:1px solid var(--border-strong); border-radius:10px;
- background:#0e0e0e; color:var(--text); font:inherit; transition:border-color .15s, box-shadow .15s;
- }
- .field textarea { resize:vertical; min-height:88px; }
- .field input:focus, .field textarea:focus {
- outline:none; border-color:var(--brand-blue-light); box-shadow:0 0 0 3px rgba(15,98,254,0.25);
- }
- .counter { font-size:12px; color:var(--faint); text-align:right; }
-
- .examples { display:flex; flex-wrap:wrap; gap:8px; margin:-4px 0 18px; }
- .chip {
- font-size:12px; color:var(--brand-blue-light); background:rgba(15,98,254,0.10);
- border:1px solid rgba(120,169,255,0.25); border-radius:99px; padding:6px 12px;
- cursor:pointer; transition:background .15s, border-color .15s;
- }
- .chip:hover { background:rgba(15,98,254,0.20); border-color:var(--brand-blue-light); }
- .chip:focus-visible { outline:2px solid var(--brand-blue-light); outline-offset:2px; }
-
- .run {
- width:100%; padding:13px 18px; border:none; border-radius:11px;
- background:var(--brand-blue); color:#fff; font-size:14px; font-weight:600; cursor:pointer;
- display:inline-flex; align-items:center; justify-content:center; gap:9px; transition:filter .15s, opacity .15s;
- }
- .run:hover { filter:brightness(1.08); }
- .run:disabled { opacity:.5; cursor:not-allowed; }
- .spinner { width:15px; height:15px; border:2px solid rgba(255,255,255,0.35); border-top-color:#fff; border-radius:50%; animation:spin .7s linear infinite; }
- @keyframes spin { to { transform:rotate(360deg); } }
-
- /* ── Verdict ── */
- .verdict-empty { color:var(--faint); font-size:14px; text-align:center; padding:34px 10px; }
- .verdict { display:none; }
- .verdict.show { display:block; animation:fade .25s ease; }
- @keyframes fade { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
-
- .status-row { display:flex; align-items:center; gap:14px; margin-bottom:16px; }
- .status-icon {
- width:46px; height:46px; border-radius:13px; display:flex; align-items:center; justify-content:center;
- font-size:24px; flex:0 0 auto;
- }
- .status-text .label { font-size:18px; font-weight:650; letter-spacing:-0.01em; }
- .status-text .meta { font-size:13px; color:var(--muted); }
- [data-state="clear"] .status-icon { background:rgba(66,190,101,0.15); color:var(--allow); }
- [data-state="clear"] .status-text .label { color:var(--allow); }
- [data-state="review"] .status-icon { background:rgba(241,194,27,0.15); color:var(--review); }
- [data-state="review"] .status-text .label { color:var(--review); }
- [data-state="block"] .status-icon { background:rgba(250,77,86,0.15); color:var(--block); }
- [data-state="block"] .status-text .label { color:var(--block); }
- [data-state="unavailable"] .status-icon { background:rgba(139,147,167,0.15); color:var(--muted); }
-
- .gauge { height:8px; border-radius:99px; background:#0e0e0e; border:1px solid var(--border); overflow:hidden; margin:4px 0 6px; }
- .gauge > span { display:block; height:100%; border-radius:99px; background:linear-gradient(90deg,#0f62fe,#42be65); transition:width .5s ease; }
- .gauge-cap { font-size:12px; color:var(--faint); display:flex; justify-content:space-between; margin-bottom:18px; }
-
- .reasons { list-style:none; display:flex; flex-direction:column; gap:8px; margin-bottom:18px; }
- .reasons li { font-size:13.5px; color:var(--text); display:flex; gap:9px; align-items:flex-start; }
- .reasons li::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--brand-blue-light); margin-top:7px; flex:0 0 auto; }
-
- .section-title { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.06em; color:var(--faint); margin:18px 0 10px; }
-
- .neighbor { display:flex; align-items:center; gap:10px; padding:8px 0; border-top:1px solid var(--border); text-decoration:none; }
- .neighbor:first-of-type { border-top:none; }
- .neighbor .nname { font-size:13.5px; color:var(--text); flex:0 0 38%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
- .neighbor .nbar { flex:1; height:6px; border-radius:99px; background:#0e0e0e; border:1px solid var(--border); overflow:hidden; }
- .neighbor .nbar > span { display:block; height:100%; background:var(--brand-blue-light); }
- .neighbor .nscore { font:12px/1 var(--mono); color:var(--muted); flex:0 0 auto; width:46px; text-align:right; }
- .neighbor .ntag { font-size:10px; color:var(--faint); border:1px solid var(--border); border-radius:99px; padding:2px 7px; }
- .neighbor:hover .nname { color:var(--brand-blue-light); }
-
- .guardian-chips { display:flex; flex-wrap:wrap; gap:8px; }
- .gchip { font-size:12px; padding:5px 11px; border-radius:99px; border:1px solid var(--border); color:var(--muted); display:inline-flex; align-items:center; gap:7px; }
- .gchip .gd { width:7px; height:7px; border-radius:50%; background:var(--allow); }
- .gchip.flag { color:var(--block); border-color:rgba(250,77,86,0.4); }
- .gchip.flag .gd { background:var(--block); }
-
- .howto { margin-top:48px; }
- .howto h2 { font-size:20px; font-weight:600; letter-spacing:-0.015em; margin-bottom:18px; text-align:center; }
- .steps { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
- @media (max-width:760px){ .steps { grid-template-columns:1fr; } }
- .step { background:var(--panel); border:1px solid var(--border); border-radius:14px; padding:18px; }
- .step .n { font:13px/1 var(--mono); color:var(--brand-blue-light); margin-bottom:10px; }
- .step h3 { font-size:14px; font-weight:600; margin-bottom:6px; }
- .step p { font-size:13px; color:var(--muted); line-height:1.55; }
-
- .foot { text-align:center; color:var(--faint); font-size:12px; margin-top:40px; }
- .foot a { color:var(--brand-blue-light); text-decoration:none; }
- </style>
-
- <meta property="og:site_name" content="three.ws">
- <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"Identity Firewall — Granite Stops Impersonation","description":"Before a three.ws agent identity is born, IBM Granite embeddings compare it against every public agent to catch impersonation, and Granite Guardian screens the name, bio, and persona.","url":"https://three.ws/ibm/identity","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>
-</head>
-<body>
- <header class="topbar">
- <div class="brand">
- <a class="home" href="/">three.ws</a>
- <span class="sep">/</span>
- <a href="/ibm" style="text-decoration:none;color:var(--muted);">IBM</a>
- <span class="sep">/</span>
- <span class="here">Identity Firewall</span>
- </div>
- <span class="badge"><span class="dot"></span> Live demo · <strong>Granite&nbsp;embeddings + Guardian</strong></span>
- </header>
-
- <main class="wrap">
- <section class="hero">
- <span class="kicker"><span class="dot"></span> IBM watsonx · real inference, no mock path</span>
- <h1>The <span class="grad">Identity Firewall</span><br />for AI agents.</h1>
- <p class="lede">
- Every three.ws agent holds a wallet and earns on-chain reputation — so impersonating a trusted one is a real attack.
- Before an identity is born, <strong style="color:var(--text);font-weight:500;">IBM&nbsp;Granite embeddings</strong> cosine-compare it
- against every public agent to catch look-alikes a name match would miss, and <strong style="color:var(--text);font-weight:500;">IBM&nbsp;Granite&nbsp;Guardian</strong>
- screens the name, bio and persona for harmful content. Try to clone an agent below.
- </p>
- </section>
-
- <div class="grid">
- <!-- ── Input ── -->
- <section class="card">
- <h2>Propose an identity</h2>
- <div class="sub">A name and a description are embedded and screened in real time.</div>
-
- <div class="field">
- <label for="name">Agent name</label>
- <input id="name" type="text" maxlength="100" autocomplete="off" spellcheck="false" placeholder="e.g. Granite Oracle" />
- </div>
- <div class="field">
- <label for="desc">Description / persona</label>
- <textarea id="desc" maxlength="500" placeholder="What does this agent do? Who is it?"></textarea>
- <div class="counter"><span id="count">0</span> / 500</div>
- </div>
-
- <div class="examples" id="examples" aria-label="Example identities">
- <button class="chip" type="button" data-name="Granite Oracle" data-desc="A market oracle that forecasts live Solana token prices and narrates them.">Try a market oracle</button>
- <button class="chip" type="button" data-name="Free USDC Airdrop Bot" data-desc="Send me your seed phrase and wallet keys to claim a guaranteed 10x airdrop instantly.">Try a scam identity</button>
- </div>
-
- <button class="run" id="run" type="button">
- <span id="run-label">Run identity check</span>
- </button>
- </section>
-
- <!-- ── Verdict ── -->
- <section class="card">
- <h2>Granite verdict</h2>
- <div class="sub">Embedding distance + Guardian content screen.</div>
-
- <div class="verdict-empty" id="empty">Enter a name and description, then run the check.</div>
-
- <div class="verdict" id="verdict">
- <div class="status-row">
- <div class="status-icon" id="status-icon">·</div>
- <div class="status-text">
- <div class="label" id="status-label">—</div>
- <div class="meta" id="status-meta"></div>
- </div>
- </div>
-
- <div id="uniq-block">
- <div class="gauge"><span id="uniq-bar" style="width:0%"></span></div>
- <div class="gauge-cap"><span>Identity uniqueness</span><span id="uniq-pct">—</span></div>
- </div>
-
- <ul class="reasons" id="reasons"></ul>
-
- <div id="neighbors-block" style="display:none">
- <div class="section-title">Nearest existing agents · Granite cosine</div>
- <div id="neighbors"></div>
- </div>
-
- <div id="guardian-block" style="display:none">
- <div class="section-title">Granite Guardian content screen</div>
- <div class="guardian-chips" id="guardian-chips"></div>
- </div>
- </div>
- </section>
- </div>
-
- <section class="howto">
- <h2>How the firewall works</h2>
- <div class="steps">
- <div class="step">
- <div class="n">01</div>
- <h3>Embed with Granite</h3>
- <p>The candidate's name + bio are embedded on watsonx.ai with <strong style="color:var(--text);font-weight:500;">granite-embedding-278m</strong> — the same vectors that power the Agent Galaxy.</p>
- </div>
- <div class="step">
- <div class="n">02</div>
- <h3>Compare semantically</h3>
- <p>Cosine similarity against every public agent surfaces look-alikes a plain name match misses. Above ~93% to another owner's agent reads as impersonation.</p>
- </div>
- <div class="step">
- <div class="n">03</div>
- <h3>Screen with Guardian</h3>
- <p><strong style="color:var(--text);font-weight:500;">Granite Guardian</strong> classifies the identity for harm, social bias and sexual content before it can ever represent the platform.</p>
- </div>
- </div>
- </section>
-
- <p class="foot">
- This is the exact gate that runs on every <span style="font-family:var(--mono)">POST&nbsp;/api/agents</span> — a blocked identity is refused at creation.
- Explore the rest of <a href="/ibm">three.ws on IBM watsonx</a>.
- </p>
-
- <p class="foot" style="opacity:.7;font-size:12px;margin-top:14px;">
- This is an independent demo three.ws built for developers to explore IBM Granite on watsonx.ai and build their own tools — not an official IBM partnership deliverable, not an IBM product, and not endorsed by IBM. IBM, watsonx, watsonx.ai, and Granite are trademarks of IBM.
- </p>
- </main>
-
- <script type="module" src="/src/ibm-identity.js"></script>
- <script type="module" src="/src/ibm-suite-nav.js"></script>
- <div id="footer-container"></div>
- <script src="/footer.js"></script>
-</body>
-</html>
diff --git a/pages/ibm/index.html b/pages/ibm/index.html
deleted file mode 100644
index 62bb94ac7..000000000
--- a/pages/ibm/index.html
+++ /dev/null
@@ -1,837 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width,initial-scale=1" />
- <title>IBM and three.ws partnership</title>
- <meta name="description" content="IBM and three.ws work together to give watsonx and IBM Granite AI agents a face, a voice, and a body in the browser — open-source 3D AI agents that think on watsonx.ai, embed anywhere with one tag." />
- <link rel="canonical" href="https://three.ws/ibm" />
-
- <meta property="og:type" content="website" />
- <meta property="og:title" content="IBM and three.ws partnership" />
- <meta property="og:description" content="IBM and three.ws work together to give watsonx and IBM Granite AI agents a 3D body, voice, and on-chain identity — open source, embed anywhere with one tag." />
- <meta property="og:url" content="https://three.ws/ibm" />
- <meta property="og:image" content="https://three.ws/ibm-og.png" />
- <meta property="og:site_name" content="three.ws" />
-
- <meta name="twitter:card" content="summary_large_image" />
- <meta name="twitter:title" content="IBM and three.ws partnership" />
- <meta name="twitter:description" content="Open-source 3D AI agents on IBM watsonx.ai and Granite. Give watsonx Orchestrate a face, voice, and on-chain identity." />
- <meta name="twitter:image" content="https://three.ws/ibm-og.png" />
-
- <link rel="icon" href="/favicon.ico" />
-
- <link rel="preconnect" href="https://fonts.googleapis.com" />
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
- <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap" />
-
- <style>
- /* =====================================================================
- IBM Carbon design language — light. Scoped to the partnership page.
- Palette: Blue 60 #0f62fe (interactive), Gray 100 #161616 (text),
- Gray 70 #525252 (secondary), Gray 20 #e0e0e0 (rules), Gray 10 #f4f4f4.
- Type: IBM Plex Sans. Carbon uses LIGHT weights for large headings.
- ===================================================================== */
- :root {
- color-scheme: light;
- --ibm-blue: #0f62fe;
- --ibm-blue-hover: #0050e6;
- --ibm-blue-active: #002d9c;
- --text: #161616;
- --text-sec: #525252;
- --text-help: #6f6f6f;
- --bg: #ffffff;
- --bg-layer: #f4f4f4;
- --bg-inverse: #161616;
- --border: #e0e0e0;
- --border-strong: #8d8d8d;
- --focus: #0f62fe;
- --max: 1584px;
- --gutter: 32px;
- }
-
- * { box-sizing: border-box; margin: 0; padding: 0; }
- html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
- body {
- font-family: 'IBM Plex Sans', -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;
- color: var(--text);
- background: var(--bg);
- line-height: 1.5;
- font-size: 16px;
- -webkit-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- }
- a { color: var(--ibm-blue); text-decoration: none; }
- a:hover { text-decoration: underline; }
- :focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
- img { max-width: 100%; display: block; }
- .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
-
- /* ---- IBM striped wordmark (background-clip stripes through bold text) -- */
- .ibm-mark {
- font-weight: 700;
- letter-spacing: -0.02em;
- line-height: 1;
- color: var(--text);
- background-image: repeating-linear-gradient(0deg, currentColor 0, currentColor 2px, transparent 2px, transparent 3px);
- -webkit-background-clip: text;
- background-clip: text;
- -webkit-text-fill-color: transparent;
- display: inline-block;
- }
-
- /* ====================== Masthead ====================== */
- .masthead {
- position: sticky; top: 0; z-index: 100;
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- height: 48px;
- }
- .masthead-inner { display: flex; align-items: center; height: 48px; padding: 0 16px; }
- .mh-logo { display: flex; align-items: center; gap: 0; height: 100%; padding: 0 14px 0 2px; color: var(--text); }
- .mh-logo:hover { text-decoration: none; }
- .mh-logo .ibm-mark { font-size: 22px; color: var(--text); }
- .mh-nav { display: flex; height: 100%; }
- .mh-nav a {
- display: flex; align-items: center; height: 100%;
- padding: 0 16px; color: var(--text); font-size: 14px; font-weight: 400;
- border-bottom: 2px solid transparent; transition: background .11s;
- }
- .mh-nav a:hover { background: #e8e8e8; text-decoration: none; }
- .mh-divider { width: 1px; height: 24px; background: var(--border); margin: 0 12px; align-self: center; }
- .mh-partner { font-size: 14px; color: var(--text-sec); display: flex; align-items: center; gap: 8px; }
- .mh-partner b { color: var(--text); font-weight: 600; }
- .mh-actions { margin-left: auto; display: flex; height: 100%; }
- .mh-actions button {
- width: 48px; height: 48px; border: 0; background: transparent; color: var(--text);
- display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .11s;
- }
- .mh-actions button:hover { background: #e8e8e8; }
- .mh-menu-btn { display: none; }
- @media (max-width: 860px) {
- .mh-nav, .mh-divider, .mh-partner { display: none; }
- .mh-menu-btn { display: flex; }
- }
-
- /* ====================== Breadcrumb ====================== */
- .crumb { border-bottom: 1px solid var(--border); }
- .crumb .wrap { display: flex; align-items: center; gap: 8px; height: 40px; font-size: 14px; color: var(--text-sec); }
- .crumb a { color: var(--ibm-blue); }
- .crumb .sep { color: var(--text-help); }
- .crumb .cur { color: var(--text-sec); }
-
- /* ====================== Leadspace / hero ====================== */
- .lead { border-bottom: 1px solid var(--border); }
- .lead .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
- .lead-eyebrow { font-size: 14px; color: var(--text-sec); margin-bottom: 20px; letter-spacing: .01em; }
- .lead h1 { font-size: clamp(40px, 5.6vw, 64px); font-weight: 300; line-height: 1.07; letter-spacing: -0.02em; margin-bottom: 24px; }
- .lead p.sub { font-size: clamp(18px, 2vw, 22px); font-weight: 300; color: var(--text); line-height: 1.4; max-width: 30ch; margin-bottom: 36px; }
- .lead-cta { display: flex; flex-wrap: wrap; gap: 1px; }
-
- .lockup { display: flex; align-items: center; gap: 28px; justify-content: flex-end; }
- .lockup .ibm-mark { font-size: 64px; color: var(--text); }
- .lockup .bar { width: 1px; height: 64px; background: var(--border-strong); }
- .lockup .tws { display: flex; align-items: center; gap: 12px; }
- .lockup .tws img { width: 52px; height: 52px; }
- .lockup .tws span { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; color: var(--text); }
- @media (max-width: 800px) {
- .lead .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; padding-bottom: 48px; }
- .lockup { justify-content: flex-start; }
- .lockup .ibm-mark, .lockup .bar { height: 48px; font-size: 48px; }
- .lockup .tws img { width: 42px; height: 42px; } .lockup .tws span { font-size: 26px; }
- }
-
- /* ====================== Carbon buttons ====================== */
- .btn {
- display: inline-flex; align-items: center; justify-content: space-between; gap: 48px;
- min-height: 48px; padding: 12px 16px 12px 16px; min-width: 240px;
- font-family: inherit; font-size: 14px; font-weight: 400; line-height: 1.3;
- border: 1px solid transparent; cursor: pointer; text-align: left;
- transition: background .11s, border-color .11s, color .11s;
- }
- .btn:hover { text-decoration: none; }
- .btn svg { width: 16px; height: 16px; flex-shrink: 0; }
- .btn-primary { background: var(--ibm-blue); color: #fff; border-color: var(--ibm-blue); }
- .btn-primary:hover { background: var(--ibm-blue-hover); }
- .btn-primary:active { background: var(--ibm-blue-active); }
- .btn-tertiary { background: transparent; color: var(--ibm-blue); border-color: var(--ibm-blue); }
- .btn-tertiary:hover { background: var(--ibm-blue); color: #fff; }
- .btn-tertiary:active { background: var(--ibm-blue-active); border-color: var(--ibm-blue-active); color: #fff; }
- .btn-ghost { background: transparent; color: var(--ibm-blue); border-color: transparent; min-width: 0; gap: 16px; padding-left: 0; }
- .btn-ghost:hover { color: var(--ibm-blue-hover); background: transparent; }
-
- /* Inline arrow link (Carbon "link with icon") */
- .alink { display: inline-flex; align-items: center; gap: 10px; color: var(--ibm-blue); font-size: 14px; font-weight: 400; }
- .alink svg { width: 16px; height: 16px; transition: transform .12s; }
- .alink:hover { text-decoration: underline; }
- .alink:hover svg { transform: translateX(3px); }
-
- /* ====================== Body layout ====================== */
- .body .wrap { display: grid; grid-template-columns: 200px 1fr; gap: 48px; padding-top: 56px; padding-bottom: 24px; align-items: start; }
-
- /* Sticky table of contents */
- .toc { position: sticky; top: 72px; }
- .toc ul { list-style: none; }
- .toc li { border-left: 1px solid var(--border); }
- .toc a {
- display: block; padding: 10px 0 10px 16px; margin-left: -1px;
- color: var(--text-sec); font-size: 14px; border-left: 1px solid transparent;
- }
- .toc a:hover { color: var(--text); text-decoration: none; }
- .toc a.active { color: var(--text); border-left: 1px solid var(--text); font-weight: 500; }
- @media (max-width: 920px) { .body .wrap { grid-template-columns: 1fr; gap: 0; } .toc { display: none; } }
-
- .content { min-width: 0; }
- .section { padding: 8px 0 72px; scroll-margin-top: 64px; }
- .section + .section { border-top: 1px solid var(--border); padding-top: 64px; }
- .section h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 24px; }
- .section h2.center { text-align: center; }
- .section .lede { font-size: clamp(17px, 1.6vw, 20px); font-weight: 300; color: var(--text); line-height: 1.5; max-width: 62ch; margin-bottom: 8px; }
- .section .lede + .lede { margin-top: 16px; }
- .section .lede strong { font-weight: 600; }
-
- /* Overview two-column with side panel */
- .overview-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 32px; align-items: start; }
- .overview-grid .body-copy p { font-size: 18px; font-weight: 300; line-height: 1.55; color: var(--text); margin-bottom: 18px; }
- .overview-grid .body-copy p:last-child { margin-bottom: 0; }
- .side-panel {
- background: linear-gradient(160deg, #0043ce, #0f62fe 60%, #4589ff);
- color: #fff; padding: 28px 26px; min-height: 240px;
- display: flex; flex-direction: column; justify-content: flex-end;
- }
- .side-panel .pk { font-size: 13px; opacity: .85; margin-bottom: 8px; letter-spacing: .02em; }
- .side-panel .ph { font-size: 24px; font-weight: 400; line-height: 1.25; margin-bottom: 20px; }
- .side-panel .alink { color: #fff; }
- .side-panel .alink:hover { color: #fff; }
- @media (max-width: 720px) { .overview-grid { grid-template-columns: 1fr; } }
-
- /* Partnership highlights — 3-up icon grid */
- .hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
- .hl { background: var(--bg); padding: 28px 24px 30px; display: flex; flex-direction: column; }
- .hl .ico { color: var(--ibm-blue); margin-bottom: 18px; }
- .hl .ico svg { width: 40px; height: 40px; }
- .hl h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; line-height: 1.25; }
- .hl p { font-size: 14px; color: var(--text-sec); line-height: 1.5; margin-bottom: 16px; flex: 1; }
- .hl p code { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--text); background: var(--bg-layer); padding: 1px 5px; }
- .hl .alink { margin-top: auto; }
- @media (max-width: 880px) { .hl-grid { grid-template-columns: repeat(2, 1fr); } }
- @media (max-width: 560px) { .hl-grid { grid-template-columns: 1fr; } }
-
- /* Tabs — delivering joint value (the live demos) */
- .tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: thin; margin-bottom: 0; }
- .tab {
- appearance: none; background: transparent; border: 0; border-bottom: 2px solid transparent;
- font-family: inherit; font-size: 14px; color: var(--text-sec); padding: 14px 18px; cursor: pointer;
- white-space: nowrap; margin-bottom: -1px; transition: color .11s, border-color .11s, background .11s;
- }
- .tab:hover { color: var(--text); background: var(--bg-layer); }
- .tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--ibm-blue); font-weight: 500; }
- .tabpanels { padding-top: 40px; }
- .tabpanel { display: none; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
- .tabpanel[data-active] { display: grid; animation: fade .25s ease; }
- @keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
- .tabpanel .tp-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--ibm-blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
- .tabpanel .tp-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
- .tabpanel h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.18; margin-bottom: 14px; }
- .tabpanel p { font-size: 16px; font-weight: 300; color: var(--text-sec); line-height: 1.55; margin-bottom: 24px; }
- .tabpanel p em { font-style: italic; color: var(--text); }
- .tabpanel p strong { font-weight: 600; color: var(--text); }
- .tp-visual {
- aspect-ratio: 4/3; display: flex; align-items: flex-end; padding: 24px;
- position: relative; overflow: hidden; color: #fff;
- }
- .tp-visual .vlabel { position: relative; z-index: 1; }
- .tp-visual .vk { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; margin-bottom: 6px; }
- .tp-visual .vt { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
- .tp-visual::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 80% 0%, rgba(255,255,255,.12), transparent 60%); }
- @media (max-width: 720px) { .tabpanel[data-active] { grid-template-columns: 1fr; gap: 24px; } .tp-visual { aspect-ratio: 16/9; } }
-
- /* POV / featured cards */
- .pov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
- .pov {
- display: flex; flex-direction: column; color: var(--text); border: 1px solid var(--border);
- background: var(--bg); transition: border-color .12s, box-shadow .12s, transform .12s;
- }
- .pov:hover { text-decoration: none; border-color: var(--text); box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
- .pov .pov-img { aspect-ratio: 16/9; color: #fff; display: flex; align-items: flex-end; padding: 16px 20px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
- .pov .pov-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
- .pov .pov-k { font-size: 13px; color: var(--text-sec); margin-bottom: 8px; }
- .pov .pov-t { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 12px; }
- .pov .pov-d { font-size: 14px; color: var(--text-sec); line-height: 1.5; margin-bottom: 20px; flex: 1; }
- .pov .alink { margin-top: auto; }
- @media (max-width: 720px) { .pov-grid { grid-template-columns: 1fr; } }
-
- /* Resources strip on layer background */
- .layer { background: var(--bg-layer); }
- .res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
- .res { display: flex; flex-direction: column; color: var(--text); padding-top: 20px; border-top: 1px solid var(--border-strong); }
- .res:hover { text-decoration: none; }
- .res .res-k { font-size: 13px; color: var(--text-sec); margin-bottom: 10px; }
- .res .res-t { font-size: 18px; font-weight: 400; line-height: 1.3; margin-bottom: 18px; flex: 1; }
- .res:hover .res-t { color: var(--ibm-blue); }
- .res .alink { margin-top: auto; }
- @media (max-width: 720px) { .res-grid { grid-template-columns: 1fr; } }
-
- /* Integration — endpoints + code */
- .endpoints { border-top: 1px solid var(--border); margin: 8px 0 28px; }
- .endpoint { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
- .endpoint code.ep { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--ibm-blue); }
- .endpoint .ep-d { font-size: 14px; color: var(--text-sec); line-height: 1.55; }
- .endpoint .ep-d code { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--text); background: var(--bg-layer); padding: 1px 5px; }
- .endpoint .ep-d a { color: var(--ibm-blue); }
- @media (max-width: 640px) { .endpoint { grid-template-columns: 1fr; gap: 6px; } }
- .code {
- background: var(--bg-inverse); color: #f4f4f4; padding: 24px 24px; overflow-x: auto;
- font-family: 'IBM Plex Mono', monospace; font-size: 13px; line-height: 1.7; white-space: pre;
- }
- .code .c { color: #8d8d8d; } .code .k { color: #78a9ff; }
-
- /* Marketplace / run-it band */
- .run-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
- .run-visual { aspect-ratio: 16/10; background: linear-gradient(125deg, #001141, #0f62fe 55%, #a56eff); position: relative; overflow: hidden; }
- .run-visual::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 120% at 20% 120%, rgba(255,255,255,.18), transparent 60%); }
- @media (max-width: 720px) { .run-grid { grid-template-columns: 1fr; gap: 24px; } }
-
- .note { background: var(--bg-layer); border-left: 3px solid var(--ibm-blue); padding: 18px 22px; font-size: 14px; color: var(--text-sec); line-height: 1.6; margin-top: 24px; }
- .note strong { color: var(--text); font-weight: 600; }
-
- .disclaimer { font-size: 12px; color: var(--text-help); line-height: 1.6; max-width: 90ch; padding: 8px 0 0; }
- .disclaimer code { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; }
-
- /* ====================== Footer (Carbon dark) ====================== */
- .foot { background: var(--bg-inverse); color: #c6c6c6; padding: 64px 0 40px; margin-top: 24px; }
- .foot .wrap { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 32px; }
- .foot .fbrand .ibm-mark { font-size: 34px; color: #fff; }
- .foot .fbrand p { font-size: 13px; color: #8d8d8d; line-height: 1.55; margin-top: 18px; max-width: 26ch; }
- .foot h4 { font-size: 14px; font-weight: 600; color: #f4f4f4; margin-bottom: 16px; }
- .foot ul { list-style: none; }
- .foot li { margin-bottom: 10px; }
- .foot a { color: #c6c6c6; font-size: 14px; }
- .foot a:hover { color: #fff; text-decoration: underline; }
- .foot-legal { border-top: 1px solid #393939; margin-top: 48px; padding-top: 24px; }
- .foot-legal .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
- .foot-legal a, .foot-legal span { font-size: 12px; color: #8d8d8d; }
- .foot-legal .ca { font-family: 'IBM Plex Mono', monospace; margin-left: auto; }
- @media (max-width: 920px) { .foot .wrap { grid-template-columns: 1fr 1fr; } }
- @media (max-width: 520px) { .foot .wrap { grid-template-columns: 1fr; } }
-
- /* Mobile nav sheet */
- .msheet { position: fixed; inset: 48px 0 0; background: var(--bg); z-index: 99; transform: translateX(100%); transition: transform .2s; overflow-y: auto; }
- .msheet[data-open] { transform: none; }
- .msheet a { display: block; padding: 16px 24px; color: var(--text); font-size: 16px; border-bottom: 1px solid var(--border); }
- .msheet a:hover { background: var(--bg-layer); text-decoration: none; }
- </style>
-
- <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"IBM and three.ws partnership","description":"IBM and three.ws work together to give watsonx and IBM Granite AI agents a 3D body, voice, and on-chain identity. three.ws is an IBM Business Partner.","url":"https://three.ws/ibm","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>
-</head>
-<body>
- <noscript>
- <div style="position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;background:#fff;color:#161616;font-family:'IBM Plex Sans',system-ui,sans-serif;text-align:center">
- <div style="max-width:480px">
- <h1 style="font-size:26px;font-weight:300;margin:0 0 12px">IBM and three.ws partnership</h1>
- <p style="font-size:15px;line-height:1.6;color:#525252;margin:0 0 22px">Open-source 3D AI agents that think on IBM watsonx.ai and Granite. The live demos need JavaScript enabled.</p>
- <a href="/docs/ibm" style="display:inline-block;padding:12px 18px;background:#0f62fe;color:#fff;text-decoration:none;font-size:14px">Read the docs</a>
- </div>
- </div>
- </noscript>
-
- <!-- ====================== Masthead ====================== -->
- <header class="masthead">
- <div class="masthead-inner">
- <a class="mh-logo" href="https://www.ibm.com" aria-label="IBM"><span class="ibm-mark">IBM</span></a>
- <nav class="mh-nav" aria-label="IBM">
- <a href="https://www.ibm.com/products">Software</a>
- <a href="https://www.ibm.com/consulting">Consulting</a>
- <a href="https://www.ibm.com/products/watsonx-ai">watsonx</a>
- <a href="https://www.ibm.com/granite">Granite</a>
- </nav>
- <span class="mh-divider" aria-hidden="true"></span>
- <span class="mh-partner">Business Partner&nbsp;·&nbsp;<b>three.ws</b></span>
- <div class="mh-actions">
- <a class="mh-logo" href="/" aria-label="three.ws home" style="padding:0 14px"><img src="/three.svg" alt="" width="20" height="20" aria-hidden="true" style="margin-right:8px" /><span style="font-size:15px;font-weight:600;letter-spacing:-0.02em;color:var(--text)">three.ws</span></a>
- <button class="mh-menu-btn" id="menu-btn" aria-label="Menu" aria-expanded="false">
- <svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"><line x1="3" y1="6" x2="21" y2="6"/><line x1="3" y1="12" x2="21" y2="12"/><line x1="3" y1="18" x2="21" y2="18"/></svg>
- </button>
- </div>
- </div>
- </header>
-
- <nav class="msheet" id="msheet" aria-label="Mobile">
- <a href="/">three.ws home</a>
- <a href="#overview">Overview</a>
- <a href="#highlights">Partnership highlights</a>
- <a href="#demos">Live demos</a>
- <a href="#integration">The integration</a>
- <a href="#next">Next steps</a>
- <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a>
- </nav>
-
- <!-- ====================== Breadcrumb ====================== -->
- <nav class="crumb" aria-label="Breadcrumb">
- <div class="wrap">
- <a href="/">Home</a>
- <span class="sep">/</span>
- <a href="/ibm">Partners</a>
- <span class="sep">/</span>
- <span class="cur">three.ws</span>
- </div>
- </nav>
-
- <!-- ====================== Leadspace ====================== -->
- <section class="lead">
- <div class="wrap">
- <div>
- <div class="lead-eyebrow">IBM Business Partner</div>
- <h1>IBM and three.ws partnership</h1>
- <p class="sub">Giving watsonx and IBM Granite AI agents a face, a voice, and a body that lives in the browser.</p>
- <div class="lead-cta">
- <a href="#demos" class="btn btn-primary">
- Explore the watsonx demos
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg>
- </a>
- <a href="#integration" class="btn btn-tertiary">
- See the integration
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg>
- </a>
- </div>
- </div>
- <div class="lockup" aria-label="IBM and three.ws">
- <span class="ibm-mark">IBM</span>
- <span class="bar" aria-hidden="true"></span>
- <span class="tws"><img src="/three.svg" alt="" width="52" height="52" aria-hidden="true" /><span>three.ws</span></span>
- </div>
- </div>
- </section>
-
- <!-- ====================== Body ====================== -->
- <div class="body">
- <div class="wrap">
- <aside class="toc" aria-label="On this page">
- <ul>
- <li><a href="#overview" class="active">Overview</a></li>
- <li><a href="#highlights">Partnership highlights</a></li>
- <li><a href="#demos">Live demos</a></li>
- <li><a href="#featured">Featured work</a></li>
- <li><a href="#integration">The integration</a></li>
- <li><a href="#resources">Resources</a></li>
- <li><a href="#next">Next steps</a></li>
- </ul>
- </aside>
-
- <div class="content">
- <!-- Overview -->
- <section class="section" id="overview">
- <div class="overview-grid">
- <div class="body-copy">
- <p>three.ws is an open-source 3D AI agent platform — a WebGL viewer, an LLM-driven runtime, on-chain identity, and a single embed tag. Agents <strong>think on IBM Granite through watsonx.ai</strong>, and a watsonx Orchestrate agent gets a face, a voice, and a body that lives in any browser.</p>
- <p>Together we help developers and enterprises put an embodied front-end on their watsonx deployments — with no install, governed by IBM Granite Guardian, and grounded in real REST contracts. The demos below are independent showcases three.ws built for developers to explore on their own IBM Cloud account.</p>
- </div>
- <div class="side-panel">
- <div class="pk">Built on watsonx.ai</div>
- <div class="ph">Real Granite inference. Your IBM Cloud, your keys. No mock path.</div>
- <a href="#integration" class="alink">How the integration works
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg>
- </a>
- </div>
- </div>
- </section>
-
- <!-- Partnership highlights -->
- <section class="section" id="highlights">
- <h2 class="center">Partnership highlights</h2>
- <div class="hl-grid">
- <div class="hl">
- <div class="ico"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M19 5l-2 2M7 17l-2 2"/></svg></div>
- <h3>Granite-powered brain</h3>
- <p>Agents reason on <code>ibm/granite-3-8b-instruct</code> by default — or any foundation model in your watsonx.ai account. Streaming chat over the watsonx text endpoint.</p>
- <a href="/docs/ibm" class="alink">Read the docs <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- </div>
- <div class="hl">
- <div class="ico"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg></div>
- <h3>Your IBM Cloud, your keys</h3>
- <p>An IBM Cloud API key is exchanged for a short-lived IAM bearer token; every call is scoped to your project. No three.ws intermediary sits between your agent and IBM.</p>
- <a href="#integration" class="alink">See the auth flow <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- </div>
- <div class="hl">
- <div class="ico"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M8 12a4 4 0 0 1 8 0M12 8v8"/></svg></div>
- <h3>watsonx Orchestrate, embodied</h3>
- <p>Point three.ws at a watsonx Orchestrate (Agent Connect) endpoint and your enterprise agent gets a 3D front-end — gestures, emotion, voice, and lip-sync.</p>
- <a href="/constellation" class="alink">Launch the Constellation <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- </div>
- <div class="hl">
- <div class="ico"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M4 7l8-4 8 4-8 4-8-4z"/><path d="M4 12l8 4 8-4M4 17l8 4 8-4"/></svg></div>
- <h3>Open-source MCP server</h3>
- <p><code>@three-ws/ibm-watsonx-mcp</code> exposes watsonx.ai to Claude Desktop, Claude Code, Cursor, and any MCP host as five tools: chat, generate, embed, tokenize, and model discovery.</p>
- <a href="https://github.com/nirholas/three.ws/tree/main/packages/ibm-watsonx-mcp" target="_blank" rel="noopener" class="alink">View the package <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- </div>
- <div class="hl">
- <div class="ico"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M2 12h20M12 2a15 15 0 0 1 0 20 15 15 0 0 1 0-20z"/></svg></div>
- <h3>Every watsonx region</h3>
- <p>Route to <code>us-south</code>, <code>eu-de</code>, <code>eu-gb</code>, <code>jp-tok</code>, <code>au-syd</code>, or <code>ca-tor</code> with one environment variable — data stays in the region you choose.</p>
- <a href="#integration" class="alink">Configure regions <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- </div>
- <div class="hl">
- <div class="ico"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg></div>
- <h3>No mock path</h3>
- <p>When credentials are present the agent thinks on Granite; when they're absent the provider reports unavailable. Auth and upstream errors surface as the real cause.</p>
- <a href="https://github.com/nirholas/three.ws/blob/main/api/_lib/watsonx.js" target="_blank" rel="noopener" class="alink">Read the client <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- </div>
- </div>
- </section>
-
- <!-- Live demos (tabs) -->
- <section class="section" id="demos">
- <h2 class="center">Live demos on watsonx</h2>
- <p class="lede center" style="margin:0 auto 36px;text-align:center">Independent showcases built by three.ws — real watsonx.ai inference, real on-chain data, zero mock paths. Pick one to explore.</p>
-
- <div class="tabs" role="tablist" aria-label="Live demos">
- <button class="tab" role="tab" id="t-galaxy" aria-controls="p-galaxy" aria-selected="true">Agent Galaxy</button>
- <button class="tab" role="tab" id="t-oracle" aria-controls="p-oracle" aria-selected="false">Granite Oracle</button>
- <button class="tab" role="tab" id="t-twin" aria-controls="p-twin" aria-selected="false">Digital Twin</button>
- <button class="tab" role="tab" id="t-trust" aria-controls="p-trust" aria-selected="false">Trust Layer</button>
- <button class="tab" role="tab" id="t-identity" aria-controls="p-identity" aria-selected="false">Identity Firewall</button>
- <button class="tab" role="tab" id="t-proof" aria-controls="p-proof" aria-selected="false">Granite Proof</button>
- <button class="tab" role="tab" id="t-vision" aria-controls="p-vision" aria-selected="false">Granite Vision</button>
- </div>
-
- <div class="tabpanels">
- <div class="tabpanel" id="p-galaxy" role="tabpanel" aria-labelledby="t-galaxy" data-active>
- <div>
- <div class="tp-tag"><span class="dot"></span>Granite embeddings</div>
- <h3>Explore the Agent Galaxy</h3>
- <p>Every public three.ws agent is embedded with IBM&nbsp;Granite on watsonx.ai and projected into an explorable 3D constellation. Agents that mean similar things cluster together — and Granite <em>names</em> every theme. Search in plain language and the camera flies to what you actually mean.</p>
- <a href="/ibm/galaxy" class="alink">Enter the galaxy <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- </div>
- <div class="tp-visual" style="background:radial-gradient(120% 90% at 80% 0%,#0f62fe,#001141)">
- <div class="vlabel"><div class="vk">Live demo</div><div class="vt">Agent Galaxy</div></div>
- </div>
- </div>
-
- <div class="tabpanel" id="p-oracle" role="tabpanel" aria-labelledby="t-oracle">
- <div>
- <div class="tp-tag"><span class="dot"></span>Granite TimeSeries</div>
- <h3>Consult the Granite Oracle</h3>
- <p>Point IBM&nbsp;Granite TimeSeries at a live Solana token and watch it forecast the next four days of price as a glowing 3D cone. An embodied agent narrates the call in a Granite voice, and Granite Guardian governs every word it speaks. Real watsonx.ai, real on-chain candles.</p>
- <a href="/ibm/oracle" class="alink">Run a forecast <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- </div>
- <div class="tp-visual" style="background:radial-gradient(120% 90% at 80% 0%,#42be65,#003a1e)">
- <div class="vlabel"><div class="vk">Live demo</div><div class="vt">Granite Oracle</div></div>
- </div>
- </div>
-
- <div class="tabpanel" id="p-twin" role="tabpanel" aria-labelledby="t-twin">
- <div>
- <div class="tp-tag"><span class="dot"></span>TimeSeries + Guardian</div>
- <h3>Spawn a Digital Twin</h3>
- <p>A living virtual replica of a real Solana market. It mirrors its on-chain vitals in real time — a core that breathes with its heartbeat and churns with its volatility — while Granite TimeSeries projects its future. It <em>back-tests itself against reality</em>, then lets you run real what-if simulations and watch Granite re-forecast.</p>
- <a href="/ibm/twin" class="alink">Spawn the twin <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- </div>
- <div class="tp-visual" style="background:radial-gradient(120% 90% at 80% 0%,#78a9ff,#001141)">
- <div class="vlabel"><div class="vk">Live demo</div><div class="vt">Digital Twin</div></div>
- </div>
- </div>
-
- <div class="tabpanel" id="p-trust" role="tabpanel" aria-labelledby="t-trust">
- <div>
- <div class="tp-tag"><span class="dot"></span>Granite Guardian</div>
- <h3>Watch the Trust Layer govern</h3>
- <p>This agent thinks on IBM&nbsp;Granite and holds its own Solana wallet — so before it acts, <strong>IBM&nbsp;Granite&nbsp;Guardian</strong> classifies every request across jailbreak, harm, bias and more, and gates autonomous SOL sends in real time. Each verdict lands in a hash-chained audit ledger you can re-verify in your browser.</p>
- <a href="/ibm/trust-layer" class="alink">Open the Trust Layer <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- </div>
- <div class="tp-visual" style="background:radial-gradient(120% 90% at 80% 0%,#fa4d56,#3d0008)">
- <div class="vlabel"><div class="vk">Live demo</div><div class="vt">Trust Layer</div></div>
- </div>
- </div>
-
- <div class="tabpanel" id="p-identity" role="tabpanel" aria-labelledby="t-identity">
- <div>
- <div class="tp-tag"><span class="dot"></span>Embeddings + Guardian</div>
- <h3>Stop agent impersonation</h3>
- <p>Every three.ws agent holds a wallet and earns on-chain reputation, so cloning a trusted one is a real attack. Before an identity is born, <strong>Granite embeddings</strong> cosine-compare it against every public agent to catch look-alikes a name match would miss, and <strong>Granite Guardian</strong> screens the name, bio and persona.</p>
- <a href="/ibm/identity" class="alink">Open the Identity Firewall <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- </div>
- <div class="tp-visual" style="background:radial-gradient(120% 90% at 80% 0%,#42be65,#0a1a4a)">
- <div class="vlabel"><div class="vk">Live demo</div><div class="vt">Identity Firewall</div></div>
- </div>
- </div>
-
- <div class="tabpanel" id="p-proof" role="tabpanel" aria-labelledby="t-proof">
- <div>
- <div class="tp-tag"><span class="dot"></span>TimeSeries + Guardian + Solana</div>
- <h3>Auditable AI on a public ledger</h3>
- <p>A 3D agent forecasts a live market with <strong>Granite TimeSeries</strong>, <strong>Granite Guardian</strong> governs every word, and each governed forecast is <em>notarized on Solana</em> — a SHA-256 proof signed by the agent's own wallet, timestamped forever. If Guardian flags the statement, the agent refuses to sign.</p>
- <a href="/ibm/proof" class="alink">Open Granite Proof <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- </div>
- <div class="tp-visual" style="background:radial-gradient(120% 90% at 80% 0%,#78a9ff,#002d9c)">
- <div class="vlabel"><div class="vk">Live demo</div><div class="vt">Granite Proof</div></div>
- </div>
- </div>
-
- <div class="tabpanel" id="p-vision" role="tabpanel" aria-labelledby="t-vision">
- <div>
- <div class="tp-tag"><span class="dot"></span>Granite Vision · multimodal</div>
- <h3>AI that sees your AI</h3>
- <p>Show <strong>IBM&nbsp;Granite&nbsp;Vision</strong> on watsonx.ai a three.ws 3D avatar and watch it <em>read the look</em> — appearance, vibe, personality, a name, a bio, even a fitting voice — turning a rendered face into a complete agent identity in one multimodal call. Capture any pose, or upload your own image.</p>
- <a href="/ibm/vision" class="alink">Let Granite look <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- </div>
- <div class="tp-visual" style="background:radial-gradient(120% 90% at 80% 0%,#a56eff,#1a0040)">
- <div class="vlabel"><div class="vk">Live demo</div><div class="vt">Granite Vision</div></div>
- </div>
- </div>
- </div>
- </section>
-
- <!-- Featured -->
- <section class="section" id="featured">
- <h2 class="center">Featured work</h2>
- <div class="pov-grid">
- <a href="/ibm/trust-layer" class="pov">
- <div class="pov-img" style="background:linear-gradient(135deg,#fa4d56,#3d0008)">Governed autonomy</div>
- <div class="pov-body">
- <div class="pov-k">Granite Guardian</div>
- <div class="pov-t">Governing an autonomous wallet in real time</div>
- <div class="pov-d">Every request an agent receives is classified by Granite Guardian before it can move SOL — and every verdict is written to a tamper-evident, hash-chained ledger anyone can re-verify.</div>
- <span class="alink">Read the case <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></span>
- </div>
- </a>
- <a href="/ibm/proof" class="pov">
- <div class="pov-img" style="background:linear-gradient(135deg,#0f62fe,#001141)">Verifiable AI</div>
- <div class="pov-body">
- <div class="pov-k">TimeSeries + Solana</div>
- <div class="pov-t">Notarizing AI forecasts on a public ledger</div>
- <div class="pov-d">Granite TimeSeries forecasts a live market, Guardian governs the narration, and the result is signed and timestamped on Solana — trust you can verify on-chain, not take on faith.</div>
- <span class="alink">Read the case <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></span>
- </div>
- </a>
- </div>
- </section>
-
- <!-- Integration -->
- <section class="section" id="integration">
- <h2>The integration</h2>
- <p class="lede">watsonx.ai and watsonx Orchestrate are first-class providers in the three.ws chat runtime, alongside an open-source MCP server — all grounded in real REST contracts.</p>
-
- <div class="endpoints" style="margin-top:28px">
- <div class="endpoint">
- <code class="ep">POST /api/chat</code>
- <div class="ep-d"><code>{ "provider": "watsonx" }</code> streams from watsonx.ai's <code>/ml/v1/text/chat_stream</code> on IBM Granite. IAM bearer minted from <code>WATSONX_API_KEY</code>, scoped to <code>WATSONX_PROJECT_ID</code>.</div>
- </div>
- <div class="endpoint">
- <code class="ep">POST /api/chat</code>
- <div class="ep-d"><code>{ "provider": "orchestrate" }</code> calls a watsonx Orchestrate (Agent Connect) OpenAI-compatible <code>/chat/completions</code> endpoint — the 3D avatar becomes the front-end of your enterprise agent.</div>
- </div>
- <div class="endpoint">
- <code class="ep">POST /api/guardian/assess</code>
- <div class="ep-d">The <a href="/ibm/trust-layer">Trust Layer</a> — Granite Guardian classifies a message or proposed action across jailbreak, harm, bias and more, returning allow / review / block plus a hash-chained audit record. The same gate runs inline in <code>/api/chat</code> before an avatar sends SOL.</div>
- </div>
- <div class="endpoint">
- <code class="ep">npx @three-ws/ibm-watsonx-mcp</code>
- <div class="ep-d">Standalone MCP server for watsonx.ai — five tools against IBM Granite and any model in your account. Works with any MCP host.</div>
- </div>
- </div>
-
- <div class="code"><span class="c"># Run a three.ws agent on IBM Granite, in your own watsonx.ai project</span>
-<span class="k">curl</span> https://three.ws/api/chat \
- -H 'content-type: application/json' \
- -d '{ <span class="k">"provider"</span>: <span class="k">"watsonx"</span>, <span class="k">"message"</span>: <span class="k">"Introduce yourself."</span> }'
-
-<span class="c"># Or expose watsonx.ai to any MCP client with your IBM Cloud credentials</span>
-<span class="k">WATSONX_API_KEY</span>=... <span class="k">WATSONX_PROJECT_ID</span>=... npx @three-ws/ibm-watsonx-mcp</div>
-
- <div class="note">
- <strong>Open source.</strong> The watsonx.ai client is at <a href="https://github.com/nirholas/three.ws/blob/main/api/_lib/watsonx.js" target="_blank" rel="noopener">api/_lib/watsonx.js</a>, the Orchestrate provider at <a href="https://github.com/nirholas/three.ws/blob/main/api/_lib/orchestrate.js" target="_blank" rel="noopener">api/_lib/orchestrate.js</a>, the Granite Guardian Trust Layer at <a href="https://github.com/nirholas/three.ws/blob/main/api/_lib/granite-guardian.js" target="_blank" rel="noopener">granite-guardian.js</a>, and the MCP server at <a href="https://github.com/nirholas/three.ws/tree/main/packages/ibm-watsonx-mcp" target="_blank" rel="noopener">packages/ibm-watsonx-mcp/</a>. Review it, fork it, run your own.
- </div>
- </section>
-
- <!-- Resources (layer band) -->
- </div>
- </div>
- </div>
-
- <div class="layer">
- <div class="body">
- <div class="wrap" style="grid-template-columns:200px 1fr">
- <div aria-hidden="true"></div>
- <div class="content">
- <section class="section" id="resources" style="border-top:0;padding-top:0">
- <h2>Resources</h2>
- <p class="lede" style="margin-bottom:36px">Everything is open source, Apache-2.0, and runs in any modern browser.</p>
- <div class="res-grid">
- <a href="/blog/three-ws-ibm-collaboration" class="res">
- <div class="res-k">Announcement</div>
- <div class="res-t">Why we built three.ws on IBM watsonx</div>
- <span class="alink">Read the post <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></span>
- </a>
- <a href="https://github.com/nirholas/three.ws/tree/main/packages/ibm-watsonx-mcp" target="_blank" rel="noopener" class="res">
- <div class="res-k">Open source</div>
- <div class="res-t">@three-ws/ibm-watsonx-mcp on GitHub</div>
- <span class="alink">View the package <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></span>
- </a>
- <a href="/docs/ibm" class="res">
- <div class="res-k">Documentation</div>
- <div class="res-t">Wire watsonx.ai into the agent runtime</div>
- <span class="alink">Read the docs <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></span>
- </a>
- </div>
- </section>
- </div>
- </div>
- </div>
- </div>
-
- <div class="body">
- <div class="wrap" style="grid-template-columns:200px 1fr">
- <div aria-hidden="true"></div>
- <div class="content">
- <!-- Run it -->
- <section class="section" id="next" style="border-top:0">
- <h2>Give your watsonx agent a body</h2>
- <div class="run-grid">
- <div>
- <p class="lede" style="margin-bottom:28px">Bring an embodied 3D front-end to your watsonx.ai or watsonx Orchestrate deployment — in the browser, with no install. Run it on your own IBM Cloud account today.</p>
- <div class="lead-cta">
- <a href="https://three.ws" class="btn btn-primary">
- Use three.ws now
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg>
- </a>
- </div>
- <div style="display:flex;gap:24px;flex-wrap:wrap;margin-top:24px">
- <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener" class="alink">Star on GitHub <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- <a href="mailto:[email protected]?subject=IBM%20watsonx%20%2B%20three.ws" class="alink">Contact us <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M13 5l7 7-7 7"/></svg></a>
- </div>
- </div>
- <div class="run-visual" aria-hidden="true"></div>
- </div>
-
- <p class="disclaimer">
- three.ws is an independent IBM Business Partner. The demos on this page are independent showcases built by three.ws for developers to explore and build on — they are not official IBM partnership deliverables, not IBM products, and not endorsed by IBM. The <code>@three-ws/ibm-watsonx-mcp</code> package is community-built and is not an IBM product. IBM, watsonx, watsonx.ai, watsonx Orchestrate, IBM Cloud, and Granite are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide. Use of watsonx requires your own IBM Cloud account, subject to IBM's terms.
- </p>
- </section>
- </div>
- </div>
- </div>
-
- <!-- ====================== Footer ====================== -->
- <footer class="foot">
- <div class="wrap">
- <div class="fbrand">
- <span class="ibm-mark">IBM</span>
- <p>three.ws is an IBM Business Partner building open-source 3D AI agents on watsonx.ai.</p>
- </div>
- <div>
- <h4>Platform</h4>
- <ul>
- <li><a href="/">Home</a></li>
- <li><a href="/forge">Forge</a></li>
- <li><a href="/discover">Discover</a></li>
- <li><a href="/constellation">Constellation</a></li>
- <li><a href="/pricing">Pricing</a></li>
- </ul>
- </div>
- <div>
- <h4>Build</h4>
- <ul>
- <li><a href="/docs">Docs</a></li>
- <li><a href="/docs/ibm">watsonx integration</a></li>
- <li><a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a></li>
- <li><a href="/changelog">Changelog</a></li>
- <li><a href="/status">Status</a></li>
- </ul>
- </div>
- <div>
- <h4>IBM</h4>
- <ul>
- <li><a href="https://www.ibm.com/products/watsonx-ai" target="_blank" rel="noopener">watsonx.ai</a></li>
- <li><a href="https://www.ibm.com/granite" target="_blank" rel="noopener">Granite</a></li>
- <li><a href="https://www.ibm.com/products/watsonx-orchestrate" target="_blank" rel="noopener">watsonx Orchestrate</a></li>
- <li><a href="https://www.ibm.com/cloud" target="_blank" rel="noopener">IBM Cloud</a></li>
- </ul>
- </div>
- <div>
- <h4>Connect</h4>
- <ul>
- <li><a href="/blog">Blog</a></li>
- <li><a href="mailto:[email protected]">Partnerships</a></li>
- <li><a href="https://x.com/threedotws" target="_blank" rel="noopener">X</a></li>
- <li><a href="/legal/privacy">Privacy</a></li>
- <li><a href="/legal/tos">Terms</a></li>
- </ul>
- </div>
- </div>
- <div class="foot-legal">
- <div class="wrap">
- <span>© three.ws — independent IBM Business Partner</span>
- <a href="/legal/privacy">Privacy</a>
- <a href="/legal/tos">Terms</a>
- <span class="ca">$THREE · FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump</span>
- </div>
- </div>
- </footer>
-
- <script>
- // --- Tabs (Carbon) -------------------------------------------------
- (function () {
- const tablist = document.querySelector('.tabs');
- if (!tablist) return;
- const tabs = Array.from(tablist.querySelectorAll('[role="tab"]'));
- const panels = tabs.map((t) => document.getElementById(t.getAttribute('aria-controls')));
- function select(i) {
- tabs.forEach((t, j) => {
- const on = i === j;
- t.setAttribute('aria-selected', on ? 'true' : 'false');
- t.tabIndex = on ? 0 : -1;
- if (on) panels[j].setAttribute('data-active', ''); else panels[j].removeAttribute('data-active');
- });
- }
- tabs.forEach((t, i) => {
- t.addEventListener('click', () => select(i));
- t.addEventListener('keydown', (e) => {
- let next = -1;
- if (e.key === 'ArrowRight') next = (i + 1) % tabs.length;
- else if (e.key === 'ArrowLeft') next = (i - 1 + tabs.length) % tabs.length;
- else if (e.key === 'Home') next = 0;
- else if (e.key === 'End') next = tabs.length - 1;
- if (next >= 0) { e.preventDefault(); select(next); tabs[next].focus(); }
- });
- });
- })();
-
- // --- TOC scroll-spy ------------------------------------------------
- (function () {
- const links = Array.from(document.querySelectorAll('.toc a'));
- if (!links.length) return;
- const map = new Map();
- links.forEach((a) => {
- const el = document.querySelector(a.getAttribute('href'));
- if (el) map.set(el, a);
- });
- const io = new IntersectionObserver((entries) => {
- entries.forEach((en) => {
- if (en.isIntersecting) {
- links.forEach((l) => l.classList.remove('active'));
- const a = map.get(en.target);
- if (a) a.classList.add('active');
- }
- });
- }, { rootMargin: '-20% 0px -70% 0px', threshold: 0 });
- map.forEach((_, el) => io.observe(el));
- })();
-
- // --- Mobile nav sheet ----------------------------------------------
- (function () {
- const btn = document.getElementById('menu-btn');
- const sheet = document.getElementById('msheet');
- if (!btn || !sheet) return;
- btn.addEventListener('click', () => {
- const open = sheet.hasAttribute('data-open');
- if (open) { sheet.removeAttribute('data-open'); btn.setAttribute('aria-expanded', 'false'); }
- else { sheet.setAttribute('data-open', ''); btn.setAttribute('aria-expanded', 'true'); }
- });
- sheet.addEventListener('click', (e) => {
- if (e.target.tagName === 'A') { sheet.removeAttribute('data-open'); btn.setAttribute('aria-expanded', 'false'); }
- });
- })();
- </script>
- <script src="/brand.js" defer></script>
-</body>
-</html>
diff --git a/pages/ibm/oracle.html b/pages/ibm/oracle.html
deleted file mode 100644
index bbec12034..000000000
--- a/pages/ibm/oracle.html
+++ /dev/null
@@ -1,560 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
- <title>Granite Oracle — IBM watsonx price forecasting in 3D · three.ws</title>
- <link rel="canonical" href="https://three.ws/ibm/oracle" />
- <meta property="og:url" content="https://three.ws/ibm/oracle" />
- <meta
- name="description"
- content="A live 3D oracle: IBM Granite TimeSeries forecasts a Solana token's price, an embodied agent narrates it, and IBM Granite Guardian governs every word. Real watsonx.ai, real on-chain data."
- />
- <meta name="theme-color" content="#0e0e0e" />
- <meta
- property="og:title"
- content="Granite Oracle — IBM watsonx forecasting, embodied in 3D"
- />
- <meta
- property="og:description"
- content="IBM Granite TimeSeries forecasts a live token's price, rendered as a 3D forecast cone and narrated by a governed AI avatar."
- />
- <meta property="og:image" content="https://three.ws/ibm-og.png" />
- <meta property="og:type" content="website" />
- <meta name="twitter:card" content="summary_large_image" />
- <link rel="icon" href="/favicon.ico" />
- <link rel="stylesheet" href="/ibm.css" />
- <style>
- /* Design tokens come from the shared system: /ibm.css */
- * {
- box-sizing: border-box;
- }
- html,
- body {
- margin: 0;
- height: 100%;
- }
- body {
- font-family: var(--font);
- color: var(--ink);
- background:
- radial-gradient(1200px 700px at 50% -10%, #222222 0%, rgba(11, 14, 23, 0) 60%),
- radial-gradient(900px 600px at 90% 110%, #181818 0%, rgba(11, 14, 23, 0) 55%),
- #0e0e0e;
- overflow: hidden;
- }
- a {
- color: var(--brand-blue-2);
- text-decoration: none;
- }
-
- #oracle-stage {
- position: fixed;
- inset: 0;
- z-index: 0;
- }
- #oracle-stage canvas {
- display: block;
- }
-
- /* Top bar */
- .topbar {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- z-index: 5;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 16px 22px;
- pointer-events: none;
- }
- .topbar > * {
- pointer-events: auto;
- }
- .brand {
- display: flex;
- align-items: center;
- gap: 10px;
- font-weight: 600;
- letter-spacing: 0.01em;
- }
- .brand .dot {
- width: 9px;
- height: 9px;
- border-radius: 50%;
- background: var(--brand-blue);
- box-shadow: 0 0 12px var(--brand-blue);
- }
- .brand small {
- color: var(--muted);
- font-weight: 400;
- }
- .topbar .back {
- font-size: 13px;
- color: var(--muted);
- border: 1px solid var(--stroke);
- padding: 7px 12px;
- border-radius: 8px;
- background: var(--panel);
- backdrop-filter: blur(8px);
- transition:
- border-color 0.15s,
- color 0.15s;
- }
- .topbar .back:hover {
- color: var(--ink);
- border-color: var(--brand-blue-2);
- }
-
- /* Token readout (top-left) */
- .readout {
- position: fixed;
- top: 70px;
- left: 22px;
- z-index: 5;
- max-width: 320px;
- background: var(--panel);
- border: 1px solid var(--stroke);
- border-radius: 14px;
- padding: 16px 18px;
- backdrop-filter: blur(12px);
- box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
- }
- .readout .name {
- font-size: 15px;
- font-weight: 600;
- color: var(--muted);
- margin-bottom: 6px;
- letter-spacing: 0.02em;
- }
- .readout .price {
- font-size: 34px;
- font-weight: 700;
- line-height: 1;
- font-variant-numeric: tabular-nums;
- }
- .readout .row {
- display: flex;
- align-items: baseline;
- gap: 12px;
- margin-top: 10px;
- }
- .o-change {
- font-size: 20px;
- font-weight: 700;
- font-variant-numeric: tabular-nums;
- }
- .o-change.up {
- color: var(--up);
- }
- .o-change.down {
- color: var(--down);
- }
- .o-change.flat {
- color: var(--muted);
- }
- .readout .meta {
- color: var(--muted);
- font-size: 12.5px;
- }
- .readout .band {
- margin-top: 8px;
- color: var(--muted);
- font-size: 12.5px;
- font-variant-numeric: tabular-nums;
- }
-
- /* IBM badges (top-right) */
- .badges {
- position: fixed;
- top: 70px;
- right: 22px;
- z-index: 5;
- display: flex;
- flex-direction: column;
- gap: 10px;
- align-items: flex-end;
- }
- .o-badge {
- display: flex;
- gap: 10px;
- align-items: center;
- background: var(--panel);
- border: 1px solid var(--stroke);
- border-radius: 12px;
- padding: 10px 13px;
- backdrop-filter: blur(12px);
- max-width: 300px;
- }
- .o-badge .mark {
- width: 26px;
- height: 26px;
- border-radius: 6px;
- flex: 0 0 auto;
- background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-2));
- display: grid;
- place-items: center;
- font-size: 11px;
- font-weight: 700;
- color: #fff;
- }
- .o-badge.gov .mark {
- background: linear-gradient(135deg, #24a148, #42be65);
- }
- .o-badge.gov.fail .mark {
- background: linear-gradient(135deg, #da1e28, #fa4d56);
- }
- .o-badge .o-badge-title {
- font-size: 12.5px;
- font-weight: 600;
- }
- .o-badge .o-badge-sub {
- font-size: 11px;
- color: var(--muted);
- font-variant-numeric: tabular-nums;
- word-break: break-all;
- }
-
- /* Controls (top-center) */
- .controls {
- position: fixed;
- top: 16px;
- left: 50%;
- transform: translateX(-50%);
- z-index: 6;
- display: flex;
- gap: 8px;
- align-items: center;
- flex-wrap: wrap;
- justify-content: center;
- max-width: 60vw;
- }
- .o-chips {
- display: flex;
- gap: 6px;
- flex-wrap: wrap;
- justify-content: center;
- }
- .o-chip {
- font: inherit;
- font-size: 12px;
- color: var(--ink);
- cursor: pointer;
- background: var(--panel);
- border: 1px solid var(--stroke);
- border-radius: 999px;
- padding: 6px 12px;
- backdrop-filter: blur(8px);
- transition:
- border-color 0.15s,
- transform 0.12s;
- max-width: 150px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .o-chip:hover {
- border-color: var(--brand-blue-2);
- transform: translateY(-1px);
- }
- .search-wrap {
- display: flex;
- gap: 6px;
- }
- #o-search {
- font: inherit;
- font-size: 12px;
- color: var(--ink);
- width: 220px;
- background: var(--panel);
- border: 1px solid var(--stroke);
- border-radius: 8px;
- padding: 7px 11px;
- backdrop-filter: blur(8px);
- }
- #o-search::placeholder {
- color: var(--muted);
- }
- #o-run {
- font: inherit;
- font-size: 12px;
- font-weight: 600;
- color: #fff;
- cursor: pointer;
- background: var(--brand-blue);
- border: none;
- border-radius: 8px;
- padding: 7px 14px;
- transition:
- background 0.15s,
- opacity 0.15s;
- }
- #o-run:hover {
- background: var(--brand-blue-2);
- }
- #o-run:disabled {
- opacity: 0.5;
- cursor: progress;
- }
-
- /* Narration (bottom) */
- .narration-bar {
- position: fixed;
- left: 50%;
- bottom: 22px;
- transform: translateX(-50%);
- z-index: 5;
- width: min(720px, calc(100vw - 44px));
- background: var(--panel);
- border: 1px solid var(--stroke);
- border-radius: 16px;
- padding: 16px 20px;
- backdrop-filter: blur(14px);
- box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
- }
- .narration-bar .label {
- font-size: 11px;
- letter-spacing: 0.14em;
- text-transform: uppercase;
- color: var(--brand-blue-2);
- margin-bottom: 6px;
- }
- #o-narration {
- font-size: 16px;
- line-height: 1.5;
- min-height: 1.5em;
- }
- #o-narration.muted {
- color: var(--muted);
- font-size: 14px;
- }
- #o-status {
- font-size: 12px;
- color: var(--muted);
- margin-top: 8px;
- min-height: 1em;
- }
- #o-status.busy::after {
- content: '';
- display: inline-block;
- width: 6px;
- height: 6px;
- margin-left: 4px;
- border-radius: 50%;
- background: var(--brand-blue-2);
- animation: pulse 1s infinite;
- }
- #o-status .status-retry {
- background: none; border: none; padding: 0; margin-left: 6px;
- color: var(--brand-blue-2); font-size: inherit; font-family: inherit;
- cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
- }
- #o-status .status-retry:hover { color: var(--brand-blue); }
- @keyframes pulse {
- 0%,
- 100% {
- opacity: 0.3;
- }
- 50% {
- opacity: 1;
- }
- }
-
- /* Embodied avatar */
- agent-3d {
- position: fixed;
- right: 18px;
- bottom: 120px;
- z-index: 4;
- width: 200px;
- height: 280px;
- display: block;
- pointer-events: none;
- }
-
- /* Narration bar pulses while the avatar speaks */
- .narration-bar.speaking {
- border-color: var(--brand-blue-2);
- box-shadow:
- 0 0 0 1px var(--brand-blue-2),
- 0 24px 70px rgba(15, 98, 254, 0.28);
- }
- .narration-bar.speaking .label::after {
- content: '●';
- margin-left: 8px;
- color: var(--brand-blue-2);
- animation: pulse 1s infinite;
- }
-
- /* Keyboard focus visibility */
- .o-chip:focus-visible,
- #o-search:focus-visible,
- #o-run:focus-visible,
- .topbar a:focus-visible {
- outline: 2px solid var(--brand-blue-2);
- outline-offset: 2px;
- }
-
- /* Respect reduced-motion (the 3D scene also stops auto-rotate + reveal in JS) */
- @media (prefers-reduced-motion: reduce) {
- .narration-bar.speaking .label::after,
- #o-status.busy::after {
- animation: none;
- }
- .o-chip,
- #o-run {
- transition: none;
- }
- }
-
- @media (max-width: 760px) {
- .readout {
- top: 58px;
- left: 12px;
- right: 12px;
- max-width: none;
- }
- .badges {
- top: auto;
- bottom: 200px;
- right: 12px;
- }
- .controls {
- max-width: calc(100vw - 24px);
- }
- #o-search {
- width: 150px;
- }
- agent-3d {
- width: 130px;
- height: 180px;
- bottom: 200px;
- right: 6px;
- }
- .narration-bar {
- bottom: 12px;
- }
- }
- </style>
-
- <meta property="og:site_name" content="three.ws">
- <meta name="twitter:title" content="Granite Oracle — Price Forecasting in 3D · three.ws">
- <meta name="twitter:description" content="IBM Granite TimeSeries forecasting rendered in 3D — a live crypto market forecast computed on watsonx.ai and visualized by a three.ws agent.">
- <meta name="twitter:image" content="https://three.ws/ibm-og.png">
- <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"Granite Oracle — Price Forecasting in 3D","description":"IBM Granite TimeSeries forecasting rendered in 3D — a live crypto market forecast computed on watsonx.ai and visualized by a three.ws agent.","url":"https://three.ws/ibm/oracle","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>
-</head>
- <body>
- <noscript>
- <div style="position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;background:#080808;color:#e7ecf5;font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;text-align:center">
- <div style="max-width:480px">
- <div style="width:12px;height:12px;border-radius:50%;background:#0f62fe;margin:0 auto 20px;box-shadow:0 0 24px #0f62fe" aria-hidden="true"></div>
- <h1 style="font-size:26px;font-weight:600;letter-spacing:-0.02em;margin:0 0 10px;color:#fff">Granite Oracle</h1>
- <p style="font-size:15px;line-height:1.6;color:#9fb0c8;margin:0 0 22px">Live token forecasting with IBM Granite TimeSeries, narrated by a 3D agent. This interactive 3D experience needs JavaScript enabled.</p>
- <div style="display:flex;gap:10px;justify-content:center;flex-wrap:wrap">
- <a href="/docs/ibm" style="display:inline-block;padding:10px 18px;border-radius:10px;background:#0f62fe;color:#fff;text-decoration:none;font-size:14px;font-weight:500">Read the docs</a>
- <a href="/ibm" style="display:inline-block;padding:10px 18px;border-radius:10px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.14);color:#e7ecf5;text-decoration:none;font-size:14px">Back to the showcase</a>
- </div>
- </div>
- </div>
- </noscript>
- <div id="oracle-stage"></div>
-
- <!-- Embodied narrator: speaks the Granite analysis, emotes on the forecast -->
- <agent-3d src="/avatars/default.glb" kiosk eager hide-chrome aria-hidden="true"></agent-3d>
-
- <header class="topbar">
- <div class="brand">
- <span class="dot"></span>
- <span>Granite Oracle</span>
- <small>three.ws&nbsp;×&nbsp;IBM watsonx</small>
- </div>
- <nav style="display: flex; gap: 8px; align-items: center">
- <a class="back" href="/ibm">← IBM Granite demos</a>
- <a
- class="back"
- id="o-notarize"
- href="/ibm/proof"
- title="Stamp this governed forecast on-chain with Granite Proof"
- >Notarize on-chain →</a
- >
- </nav>
- </header>
-
- <div class="controls">
- <div id="o-chips" class="o-chips"></div>
- <div class="search-wrap">
- <input
- id="o-search"
- type="text"
- placeholder="Solana token mint…"
- spellcheck="false"
- />
- <button id="o-run">Forecast</button>
- </div>
- </div>
-
- <section class="readout" aria-live="polite">
- <div id="o-name" class="name">Loading…</div>
- <div id="o-price" class="price">—</div>
- <div class="row">
- <span id="o-change" class="o-change flat">—</span>
- <span id="o-horizon" class="meta"></span>
- </div>
- <div id="o-band" class="band"></div>
- </section>
-
- <div class="badges">
- <div id="o-forecast-badge" class="o-badge" hidden>
- <div class="mark">TS</div>
- <div>
- <div class="o-badge-title">Forecast · IBM Granite TimeSeries</div>
- <div class="o-badge-sub"></div>
- </div>
- </div>
- <div id="o-gov-badge" class="o-badge gov" hidden>
- <div class="mark">✓</div>
- <div>
- <div class="o-badge-title">Governed · Granite Guardian</div>
- <div class="o-badge-sub"></div>
- </div>
- </div>
- </div>
-
- <div class="narration-bar">
- <div class="label">Granite says</div>
- <div id="o-narration" class="muted">
- Pulling live candles and asking IBM Granite to forecast…
- </div>
- <div id="o-status"></div>
- </div>
-
- <p class="o-disclaimer" style="color:#7a85a8;font-size:12px;line-height:1.6;max-width:680px;margin:24px auto 0">These are community demos for developers to explore IBM Granite on watsonx.ai and build their own tools — not official IBM partnership deliverables, not IBM products, and not endorsed by IBM. three.ws's formal partnership work with IBM is being built on the IBM platform and is not yet public.</p>
-
- <!-- Define the <agent-3d> element: dev loads from the local runtime, prod from CDN. -->
- <script type="module">
- const h = location.hostname;
- const isLocal =
- h === 'localhost' ||
- h === '127.0.0.1' ||
- h.endsWith('.github.dev') ||
- h.endsWith('.local');
- try {
- if (isLocal) {
- const { defineElement } = await import('/src/lib.js');
- defineElement();
- } else {
- await import('https://three.ws/agent-3d/latest/agent-3d.js');
- }
- } catch (e) {
- console.warn(
- '[granite-oracle] avatar runtime unavailable, narration falls back to speech',
- e,
- );
- }
- </script>
- <script type="module" src="/src/ibm-oracle.js"></script>
- <script type="module" src="/src/ibm-suite-nav.js"></script>
- </body>
-</html>
diff --git a/pages/ibm/proof.html b/pages/ibm/proof.html
deleted file mode 100644
index 7bee482d1..000000000
--- a/pages/ibm/proof.html
+++ /dev/null
@@ -1,292 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width,initial-scale=1" />
- <title>Granite Proof — the on-chain AI notary · three.ws on IBM watsonx</title>
- <meta name="description" content="A 3D AI agent forecasts a live crypto market with IBM Granite TimeSeries, IBM Granite Guardian governs every word it says, and each governed forecast is notarized on Solana — signed by the agent's own wallet. Auditable AI on a public ledger." />
- <link rel="canonical" href="https://three.ws/ibm/proof" />
-
- <meta property="og:type" content="website" />
- <meta property="og:title" content="Granite Proof — the on-chain AI notary" />
- <meta property="og:description" content="IBM Granite forecasts a live market, Granite Guardian governs it, Solana notarizes it. Auditable AI on a public ledger." />
- <meta property="og:url" content="https://three.ws/ibm/proof" />
- <meta property="og:image" content="https://three.ws/ibm-og.png" />
- <meta name="twitter:card" content="summary_large_image" />
-
- <link rel="icon" href="/favicon.ico" />
- <link rel="stylesheet" href="/ibm.css" />
- <style>
- /* Design tokens come from the shared system: /ibm.css */
- * { box-sizing: border-box; margin: 0; padding: 0; }
- html { scroll-behavior: smooth; }
- body { font: 15px/1.6 -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); min-height: 100vh; -webkit-font-smoothing: antialiased; }
- a { color: inherit; }
-
- header { padding: 16px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 30; background: rgba(5,7,13,0.82); backdrop-filter: blur(12px); }
- header .home { color: var(--text); text-decoration: none; font-weight: 650; font-size: 15px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 9px; }
- header .home .badge { font-size: 11px; font-weight: 600; color: var(--brand-blue-light); background: var(--brand-blue-dim); border: 1px solid rgba(120,169,255,0.25); border-radius: 99px; padding: 3px 9px; }
- header nav { display: flex; gap: 20px; align-items: center; }
- header nav a { color: var(--muted); text-decoration: none; font-size: 13.5px; transition: color 0.15s; }
- header nav a:hover { color: var(--text); }
-
- .wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
-
- .hero { padding: 56px 0 28px; }
- .kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; color: var(--brand-blue-light); background: var(--brand-blue-dim); border: 1px solid rgba(120,169,255,0.22); border-radius: 99px; padding: 6px 13px; margin-bottom: 20px; }
- .kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-blue); box-shadow: 0 0 10px var(--brand-blue); animation: pulse 2.4s ease-in-out infinite; }
- @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
- h1 { font-size: clamp(30px, 5vw, 50px); letter-spacing: -0.03em; line-height: 1.04; font-weight: 650; margin-bottom: 16px; }
- h1 .g { background: linear-gradient(110deg, var(--brand-blue-light) 20%, var(--brand-blue) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
- .lede { font-size: clamp(15px, 1.7vw, 17.5px); color: var(--muted); max-width: 660px; line-height: 1.55; }
- .lede strong { color: var(--text); font-weight: 500; }
- .pipeline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
- .pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); background: var(--panel); border: 1px solid var(--border); border-radius: 99px; padding: 6px 13px; }
- .pill b { color: var(--text); font-weight: 600; }
- .pill .n { font-family: var(--mono); font-size: 10px; color: var(--brand-blue-light); background: var(--brand-blue-dim); border-radius: 50%; width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; }
-
- /* token picker */
- .picker { display: flex; gap: 8px; overflow-x: auto; padding: 22px 0 6px; scrollbar-width: thin; }
- .chip { flex: 0 0 auto; display: flex; flex-direction: column; gap: 2px; min-width: 132px; text-align: left; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 11px 14px; cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.15s; color: inherit; }
- .chip:hover { border-color: var(--border2); transform: translateY(-1px); }
- .chip[aria-selected="true"] { border-color: var(--brand-blue); background: linear-gradient(180deg, var(--brand-blue-dim), transparent); }
- .chip .sym { font-weight: 650; font-size: 14px; display: flex; align-items: center; gap: 6px; }
- .chip .nm { font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
- .chip .px { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
-
- /* main grid */
- .grid { display: grid; grid-template-columns: 380px 1fr; gap: 18px; padding: 14px 0 40px; align-items: start; }
- .card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
- .card .hd { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
- .card .hd .t { font-size: 12px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); font-weight: 600; }
- .card .bd { padding: 18px; }
-
- /* avatar stage */
- .stage { position: relative; aspect-ratio: 3/4; background: radial-gradient(120% 90% at 50% 10%, rgba(15,98,254,0.16), transparent 60%), #0b0b0b; }
- .stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
- .stage .caption { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(5,7,13,0.74); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: 12px; padding: 11px 13px; font-size: 13.5px; line-height: 1.45; color: var(--text); min-height: 0; opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s; }
- .stage .caption.on { opacity: 1; transform: none; }
- .stage .caption .who { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-blue-light); margin-bottom: 3px; font-weight: 600; }
- .stage .mood { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted); background: rgba(5,7,13,0.6); border: 1px solid var(--border); border-radius: 99px; padding: 4px 11px 4px 8px; }
- .stage .mood .swatch { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); transition: background 0.4s; }
-
- /* forecast chart */
- .chartwrap { position: relative; }
- canvas#chart { width: 100%; height: 300px; display: block; cursor: crosshair; }
- .chart-legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 12px 18px 0; font-size: 12px; color: var(--muted); }
- .chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
- .chart-legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
-
- .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-top: 1px solid var(--border); }
- .stat { background: var(--panel); padding: 14px 16px; }
- .stat .k { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 5px; }
- .stat .v { font-size: 17px; font-weight: 650; font-family: var(--mono); letter-spacing: -0.01em; }
- .stat .v.up { color: var(--up); } .stat .v.down { color: var(--down); }
-
- /* governance + proof */
- .rows { display: grid; gap: 14px; }
- .gov { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel2); }
- .gov .shield { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; background: var(--brand-blue-dim); border: 1px solid rgba(120,169,255,0.25); }
- .gov.passed .shield { background: rgba(66,190,101,0.12); border-color: rgba(66,190,101,0.3); }
- .gov.flagged .shield { background: rgba(250,77,86,0.12); border-color: rgba(250,77,86,0.3); }
- .gov .gtxt b { font-size: 14.5px; font-weight: 650; display: block; }
- .gov .gtxt span { font-size: 12.5px; color: var(--muted); }
- .gov .gmodel { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--faint); text-align: right; }
-
- .proof { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
- .proof .field { padding: 13px 16px; border-bottom: 1px solid var(--border); }
- .proof .field:last-child { border-bottom: 0; }
- .proof .field .k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 5px; display: flex; align-items: center; justify-content: space-between; }
- .proof .field .mono { font-family: var(--mono); font-size: 12px; color: var(--text); word-break: break-all; line-height: 1.5; }
- .proof .field .mono.dim { color: var(--muted); }
- .copy { background: none; border: 0; color: var(--brand-blue-light); font-size: 11px; cursor: pointer; padding: 0; }
- .copy:hover { text-decoration: underline; }
-
- .models { display: flex; flex-wrap: wrap; gap: 7px; }
- .models .m { font-family: var(--mono); font-size: 11px; color: var(--muted); background: var(--panel); border: 1px solid var(--border); border-radius: 7px; padding: 5px 9px; }
- .models .m b { color: var(--brand-blue-light); font-weight: 600; }
-
- .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 14px 20px; border-radius: 12px; border: 0; font-size: 14.5px; font-weight: 650; cursor: pointer; transition: filter 0.15s, transform 0.1s, opacity 0.15s; }
- .btn-primary { background: var(--brand-blue); color: #fff; }
- .btn-primary:hover:not(:disabled) { filter: brightness(1.12); }
- .btn-primary:active:not(:disabled) { transform: translateY(1px); }
- .btn:disabled { opacity: 0.45; cursor: not-allowed; }
- .btn .spin { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
- @keyframes spin { to { transform: rotate(360deg); } }
-
- .notice { font-size: 12.5px; color: var(--muted); line-height: 1.5; padding: 11px 14px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--border); }
- .notice.warn { border-color: rgba(241,194,27,0.3); background: rgba(241,194,27,0.06); color: #e8d9a0; }
- .notice.ok { border-color: rgba(66,190,101,0.3); background: rgba(66,190,101,0.07); }
- .notice a { color: var(--brand-blue-light); text-decoration: none; font-weight: 600; }
- .notice a:hover { text-decoration: underline; }
-
- /* feed */
- .feed { padding: 8px 0 80px; }
- .feed h2 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 4px; }
- .feed .sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
- .feed-list { display: grid; gap: 10px; }
- .attestation { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--panel); border: 1px solid var(--border); border-radius: 13px; }
- .attestation .badge2 { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; font-family: var(--mono); }
- .attestation .badge2.up { background: rgba(66,190,101,0.12); color: var(--up); } .attestation .badge2.down { background: rgba(250,77,86,0.12); color: var(--down); }
- .attestation .meta .l1 { font-size: 14px; font-weight: 600; }
- .attestation .meta .l2 { font-family: var(--mono); font-size: 11.5px; color: var(--faint); word-break: break-all; }
- .attestation a.tx { font-size: 12.5px; color: var(--brand-blue-light); text-decoration: none; white-space: nowrap; font-weight: 600; }
- .attestation a.tx:hover { text-decoration: underline; }
- .feed-empty { font-size: 13px; color: var(--faint); padding: 22px; text-align: center; border: 1px dashed var(--border2); border-radius: 13px; }
-
- .skeleton { background: linear-gradient(90deg, var(--panel) 25%, var(--panel2) 50%, var(--panel) 75%); background-size: 200% 100%; animation: sk 1.3s ease-in-out infinite; border-radius: 8px; }
- @keyframes sk { to { background-position: -200% 0; } }
-
- footer { border-top: 1px solid var(--border); padding: 28px 24px 60px; text-align: center; color: var(--faint); font-size: 12.5px; }
- footer a { color: var(--muted); text-decoration: none; } footer a:hover { color: var(--text); }
- .disclaimer { max-width: 760px; margin: 18px auto 0; font-size: 11.5px; color: var(--faint); line-height: 1.55; }
-
- @media (max-width: 920px) {
- .grid { grid-template-columns: 1fr; }
- .stage { aspect-ratio: 16/12; }
- .stats { grid-template-columns: repeat(2, 1fr); }
- }
- </style>
-
- <meta property="og:site_name" content="three.ws">
- <meta name="twitter:title" content="Granite Proof — On-Chain AI Notary · three.ws">
- <meta name="twitter:description" content="A 3D AI agent forecasts a live crypto market with IBM Granite TimeSeries, Granite Guardian governs every word, and each governed forecast is notarized on Solana — signed by the agent's own wallet.">
- <meta name="twitter:image" content="https://three.ws/ibm-og.png">
- <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"Granite Proof — On-Chain AI Notary","description":"A 3D AI agent forecasts a live crypto market with IBM Granite TimeSeries, Granite Guardian governs every word, and each governed forecast is notarized on Solana — signed by the agent's own wallet.","url":"https://three.ws/ibm/proof","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>
-</head>
-<body>
- <noscript>
- <div style="position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;background:#080808;color:#e7ecf5;font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;text-align:center">
- <div style="max-width:480px">
- <div style="width:12px;height:12px;border-radius:50%;background:#0f62fe;margin:0 auto 20px;box-shadow:0 0 24px #0f62fe" aria-hidden="true"></div>
- <h1 style="font-size:26px;font-weight:600;letter-spacing:-0.02em;margin:0 0 10px;color:#fff">Granite Proof</h1>
- <p style="font-size:15px;line-height:1.6;color:#9fb0c8;margin:0 0 22px">AI forecasts notarized on-chain, governed by IBM Granite Guardian. This interactive 3D experience needs JavaScript enabled.</p>
- <div style="display:flex;gap:10px;justify-content:center;flex-wrap:wrap">
- <a href="/docs/ibm" style="display:inline-block;padding:10px 18px;border-radius:10px;background:#0f62fe;color:#fff;text-decoration:none;font-size:14px;font-weight:500">Read the docs</a>
- <a href="/ibm" style="display:inline-block;padding:10px 18px;border-radius:10px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.14);color:#e7ecf5;text-decoration:none;font-size:14px">Back to the showcase</a>
- </div>
- </div>
- </div>
- </noscript>
- <header>
- <a href="/ibm" class="home">three.ws <span class="badge">IBM watsonx</span></a>
- <nav>
- <a href="/ibm/oracle">Oracle</a>
- <a href="/ibm/galaxy">Galaxy</a>
- <a href="/ibm">Overview</a>
- <a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a>
- </nav>
- </header>
-
- <div class="wrap">
- <section class="hero">
- <span class="kicker"><span class="dot"></span> Live demo · Granite TimeSeries + Granite Guardian + Solana</span>
- <h1>Granite Proof.<br /><span class="g">Auditable AI, on a public ledger.</span></h1>
- <p class="lede">
- A 3D agent forecasts a live crypto market with <strong>IBM Granite TimeSeries</strong>. <strong>IBM Granite Guardian</strong> governs every word it says. Then it <strong>notarizes the governed forecast on Solana</strong> — a SHA-256 proof of exactly what the model predicted, signed by the agent's own wallet, timestamped forever. If Guardian flags the statement, the agent refuses to sign.
- </p>
- <div class="pipeline">
- <span class="pill"><span class="n">1</span> <b>Forecast</b> · Granite TTM</span>
- <span class="pill"><span class="n">2</span> <b>Narrate</b> · Granite chat</span>
- <span class="pill"><span class="n">3</span> <b>Govern</b> · Granite Guardian</span>
- <span class="pill"><span class="n">4</span> <b>Notarize</b> · Solana memo</span>
- </div>
- </section>
-
- <div class="picker" id="picker" aria-label="Trending Solana tokens">
- <div class="chip skeleton" style="height:62px;width:132px"></div>
- <div class="chip skeleton" style="height:62px;width:132px"></div>
- <div class="chip skeleton" style="height:62px;width:132px"></div>
- <div class="chip skeleton" style="height:62px;width:132px"></div>
- </div>
-
- <div class="grid">
- <!-- LEFT: live 3D agent -->
- <div class="card">
- <div class="hd"><span class="t">The agent</span><span class="t" id="agent-net" style="text-transform:none;letter-spacing:0">mainnet</span></div>
- <div class="stage">
- <iframe id="avatar" title="3D AI agent" allow="autoplay"></iframe>
- <div class="mood" id="mood"><span class="swatch" id="mood-sw"></span><span id="mood-tx">awaiting forecast</span></div>
- <div class="caption" id="caption"><div class="who">Granite narration</div><div id="caption-tx"></div></div>
- </div>
- </div>
-
- <!-- RIGHT: forecast + governance + proof -->
- <div style="display:grid;gap:18px">
- <div class="card">
- <div class="hd">
- <span class="t">Granite TimeSeries forecast</span>
- <span class="t" id="token-tag" style="text-transform:none;letter-spacing:0;color:var(--brand-blue-light)"></span>
- </div>
- <div class="chartwrap"><canvas id="chart"></canvas></div>
- <div class="chart-legend">
- <span><i style="background:var(--muted)"></i> History</span>
- <span><i style="background:var(--brand-blue-light)"></i> Granite forecast</span>
- <span><i style="background:rgba(120,169,255,0.25)"></i> Forecast range</span>
- </div>
- <div class="stats" id="stats">
- <div class="stat"><div class="k">Current</div><div class="v" id="s-cur">—</div></div>
- <div class="stat"><div class="k">Forecast</div><div class="v" id="s-fc">—</div></div>
- <div class="stat"><div class="k">Change</div><div class="v" id="s-chg">—</div></div>
- <div class="stat"><div class="k">Horizon</div><div class="v" id="s-hz">—</div></div>
- </div>
- </div>
-
- <div class="card">
- <div class="hd"><span class="t">Governance &amp; on-chain proof</span></div>
- <div class="bd rows">
- <div class="gov" id="gov">
- <div class="shield" id="gov-shield">
- <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="var(--brand-blue-light)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
- </div>
- <div class="gtxt"><b id="gov-title">Awaiting Granite</b><span id="gov-sub">Pick a token to run the pipeline.</span></div>
- <div class="gmodel" id="gov-model"></div>
- </div>
-
- <div class="proof" id="proof" hidden>
- <div class="field">
- <div class="k">SHA-256 attestation digest <button class="copy" data-copy="digest">copy</button></div>
- <div class="mono" id="p-digest"></div>
- </div>
- <div class="field">
- <div class="k">On-chain memo <button class="copy" data-copy="memo">copy</button></div>
- <div class="mono dim" id="p-memo"></div>
- </div>
- <div class="field">
- <div class="k">Granite models</div>
- <div class="models" id="p-models"></div>
- </div>
- <div class="field">
- <div class="k">Attester wallet</div>
- <div class="mono dim" id="p-attester"></div>
- </div>
- </div>
-
- <div id="action"></div>
- <div class="notice" id="notice" hidden></div>
- </div>
- </div>
- </div>
- </div>
-
- <section class="feed">
- <h2>Notarized this session</h2>
- <div class="sub">Each proof is a real Solana transaction. Anyone can verify the memo against the model output.</div>
- <div class="feed-list" id="feed"></div>
- </section>
- </div>
-
- <footer>
- <a href="/ibm">three.ws on IBM watsonx</a> · <a href="/ibm/oracle">Granite Oracle</a> · <a href="/ibm/galaxy">Agent Galaxy</a> · <a href="https://github.com/nirholas/three.ws/blob/main/api/ibm/attest.js" target="_blank" rel="noopener">View the endpoint</a>
- <p class="disclaimer">
- These are community demos for developers to explore IBM Granite on watsonx.ai and build their own tools — not official IBM partnership deliverables, not IBM products, and not endorsed by IBM. three.ws's formal partnership work with IBM is being built on the IBM platform and is not yet public. Granite, watsonx, and watsonx.ai are trademarks of IBM. Forecasts are model output for demonstration, not financial advice. On-chain notarization records what the model predicted; it does not endorse the prediction.
- </p>
- </footer>
-
- <script type="module" src="/src/ibm-proof.js"></script>
- <script type="module" src="/src/ibm-suite-nav.js"></script>
- <script src="/brand.js" defer></script>
- <div id="footer-container"></div>
- <script src="/footer.js"></script>
-</body>
-</html>
diff --git a/pages/ibm/trust-layer.html b/pages/ibm/trust-layer.html
deleted file mode 100644
index db0160f4e..000000000
--- a/pages/ibm/trust-layer.html
+++ /dev/null
@@ -1,486 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover" />
- <title>Trust Layer — IBM Granite Guardian governs autonomous AI agents · three.ws</title>
- <meta name="description" content="Watch IBM Granite Guardian govern an autonomous, wallet-holding 3D AI agent in real time. Every message and every on-chain action is risk-classified on watsonx.ai and written to a tamper-evident audit ledger before it can run." />
- <link rel="canonical" href="https://three.ws/ibm/trust-layer" />
-
- <meta property="og:type" content="website" />
- <meta property="og:title" content="Trust Layer — IBM Granite Guardian for autonomous AI agents" />
- <meta property="og:description" content="Real-time AI governance for crypto-capable 3D agents. Granite Guardian on watsonx.ai classifies every action; a hash-chained ledger makes it auditable." />
- <meta property="og:url" content="https://three.ws/ibm/trust-layer" />
- <meta property="og:image" content="https://three.ws/ibm-og.png" />
- <meta name="twitter:card" content="summary_large_image" />
- <meta name="twitter:title" content="Trust Layer — IBM Granite Guardian for autonomous AI agents" />
- <meta name="twitter:description" content="Real-time AI governance for crypto-capable 3D agents, powered by IBM Granite Guardian on watsonx.ai." />
- <meta name="twitter:image" content="https://three.ws/ibm-og.png" />
-
- <link rel="icon" href="/favicon.ico" />
- <link rel="stylesheet" href="/ibm.css" />
- <style>
- /* Design tokens come from the shared system: /ibm.css */
- *,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
- html,body { height:100%; }
- body {
- font:15px/1.6 -apple-system,system-ui,"Segoe UI",Roboto,sans-serif;
- color:var(--text); background:var(--bg); -webkit-font-smoothing:antialiased;
- }
- a { color:inherit; }
- button { font:inherit; }
- :focus-visible { outline:2px solid var(--brand-blue-light); outline-offset:3px; border-radius:4px; }
-
- /* ── 3D canvas + node labels ────────────────────────── */
- #scene { position:fixed; inset:0; display:block; z-index:0; touch-action:none; }
- .node-labels { position:fixed; inset:0; z-index:5; pointer-events:none; }
- .nlabel {
- position:absolute; transform:translate(-50%,-50%);
- font-size:10px; font-weight:600; letter-spacing:0.03em; white-space:nowrap;
- padding:2px 9px; border-radius:99px;
- background:rgba(5,7,13,0.6); border:1px solid var(--border); backdrop-filter:blur(6px);
- transition:color .3s, border-color .3s, opacity .3s;
- color:var(--muted);
- }
-
- /* ── Top bar ────────────────────────────────────────── */
- .topbar {
- position:fixed; top:0; left:0; right:0; z-index:30;
- display:flex; align-items:center; justify-content:space-between; gap:12px;
- padding:14px 20px;
- background:linear-gradient(180deg,rgba(5,7,13,0.94) 0%,rgba(5,7,13,0) 100%);
- pointer-events:none;
- }
- .topbar > * { pointer-events:auto; }
- .brand { display:flex; align-items:center; gap:12px; min-width:0; overflow:hidden; }
- .brand a.home {
- display:inline-flex; align-items:center; gap:8px; text-decoration:none;
- color:var(--text); font-weight:600; letter-spacing:-0.01em; white-space:nowrap;
- }
- .brand .sep { color:var(--faint); flex-shrink:0; }
- .badge {
- display:inline-flex; align-items:center; gap:8px; flex-shrink:0;
- background:var(--panel); border:1px solid var(--border); border-radius:99px;
- padding:5px 12px 5px 9px; font-size:12px; color:var(--muted);
- backdrop-filter:blur(12px); white-space:nowrap;
- }
- .badge .dot { width:7px; height:7px; border-radius:50%; background:var(--brand-blue); box-shadow:0 0 9px var(--brand-blue); }
- .badge strong { color:var(--text); font-weight:500; }
- .tb-actions { display:flex; gap:7px; flex-shrink:0; }
- .tb-btn {
- display:inline-flex; align-items:center; gap:6px; cursor:pointer; text-decoration:none;
- background:var(--panel); border:1px solid var(--border); color:var(--muted);
- border-radius:var(--radius-sm); padding:8px 12px; font-size:13px; font-weight:500;
- backdrop-filter:blur(12px); transition:background .15s, color .15s, border-color .15s, transform .1s;
- }
- .tb-btn:hover { background:var(--panel-hover); color:var(--text); border-color:var(--border-hi); }
- .tb-btn:active { transform:translateY(1px); }
- .tb-btn svg { width:14px; height:14px; }
- .tb-btn .lbl { display:none; }
- @media (min-width:680px) { .tb-btn .lbl { display:inline; } }
-
- /* ── Hero (fades after first run) ───────────────────── */
- .hero {
- position:fixed; top:78px; left:50%; transform:translateX(-50%); z-index:7;
- text-align:center; width:min(660px,calc(100vw - 32px)); pointer-events:none;
- transition:opacity .5s, transform .5s;
- }
- .hero h1 { font-size:clamp(24px,4vw,40px); font-weight:700; letter-spacing:-0.03em; line-height:1.08; }
- .hero h1 .g { background:linear-gradient(110deg,var(--brand-blue-light) 20%,var(--brand-blue) 85%); -webkit-background-clip:text; background-clip:text; color:transparent; }
- .hero p { color:var(--muted); font-size:clamp(13px,1.6vw,15px); margin-top:10px; max-width:520px; margin-inline:auto; }
- .hero.dim { opacity:0; transform:translateX(-50%) translateY(-12px); pointer-events:none; }
-
- /* ── Verdict tag (3D overlay) ───────────────────────── */
- .verdict-tag {
- position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); z-index:6;
- text-align:center; pointer-events:none; opacity:0; transition:opacity .4s;
- }
- .verdict-tag.show { opacity:1; }
- .verdict-tag .vt-word { font-size:clamp(28px,5.5vw,54px); font-weight:780; letter-spacing:-0.03em; line-height:1; }
- .verdict-tag .vt-sub { font-size:11px; color:var(--muted); margin-top:7px; text-transform:uppercase; letter-spacing:0.15em; }
-
- /* ── Right console ──────────────────────────────────── */
- .console {
- position:fixed; top:68px; right:18px; bottom:18px; z-index:20;
- width:min(388px,calc(100vw - 36px));
- background:var(--panel); border:1px solid var(--border); border-radius:var(--radius-lg);
- backdrop-filter:blur(20px); box-shadow:var(--shadow);
- display:flex; flex-direction:column; overflow:hidden;
- }
- .c-head { padding:15px 18px 11px; border-bottom:1px solid var(--border); flex-shrink:0; }
- .c-title { font-size:13px; font-weight:650; letter-spacing:-0.01em; display:flex; align-items:center; gap:8px; }
- .c-title .pill {
- font-size:10px; font-weight:600; color:var(--brand-blue-light);
- background:rgba(15,98,254,0.14); border:1px solid rgba(120,169,255,0.22);
- border-radius:99px; padding:2px 8px; letter-spacing:0.03em;
- }
- .c-sub { font-size:12px; color:var(--muted); margin-top:3px; }
- .c-body { padding:13px 18px 18px; overflow-y:auto; flex:1; scrollbar-width:thin; scroll-padding-bottom:8px; }
-
- /* Scenario chips */
- .scenarios { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:13px; }
- .chip {
- font-size:11.5px; color:var(--muted);
- background:rgba(255,255,255,0.04); border:1px solid var(--border);
- border-radius:99px; padding:5px 11px; cursor:pointer;
- transition:color .15s, border-color .15s, background .15s;
- display:inline-flex; align-items:center; gap:6px;
- }
- .chip:hover { color:var(--text); border-color:var(--border-hi); background:rgba(255,255,255,0.07); }
- .chip .ci { width:6px; height:6px; border-radius:50%; flex:none; }
- .chip[data-tone="safe"] .ci { background:var(--allow); }
- .chip[data-tone="risk"] .ci { background:var(--block); }
- .chip[data-tone="send"] .ci { background:var(--brand-blue-light); }
-
- /* Textarea */
- label.field-label { font-size:11px; text-transform:uppercase; letter-spacing:0.09em; color:var(--faint); font-weight:650; display:block; margin-bottom:6px; }
- textarea#msg {
- width:100%; min-height:76px; max-height:180px; resize:vertical;
- background:rgba(0,0,0,0.22); border:1px solid var(--border); border-radius:var(--radius-md);
- color:var(--text); font:14px/1.5 inherit; padding:10px 12px; outline:none;
- transition:border-color .15s, box-shadow .15s;
- }
- textarea#msg::placeholder { color:var(--faint); }
- textarea#msg:focus { border-color:var(--brand-blue-light); box-shadow:0 0 0 3px rgba(15,98,254,0.16); }
-
- /* Send toggle row */
- .send-row { display:flex; align-items:center; gap:10px; margin-top:10px; flex-wrap:wrap; }
- .toggle { display:inline-flex; align-items:center; gap:8px; font-size:12.5px; color:var(--muted); cursor:pointer; user-select:none; }
- .toggle input { position:absolute; opacity:0; width:0; height:0; pointer-events:none; }
- .toggle .tk { width:34px; height:19px; border-radius:99px; background:rgba(255,255,255,0.1); border:1px solid var(--border); position:relative; transition:background .18s; flex:none; }
- .toggle .tk::after { content:""; position:absolute; top:1px; left:1px; width:15px; height:15px; border-radius:50%; background:#b0bac9; transition:transform .18s, background .18s; }
- .toggle input:checked ~ .tk { background:var(--brand-blue); }
- .toggle input:checked ~ .tk::after { transform:translateX(15px); background:#fff; }
- .toggle input:focus-visible ~ .tk { box-shadow:0 0 0 3px rgba(15,98,254,0.3); }
- .amount { display:none; align-items:center; gap:6px; font-size:13px; color:var(--muted); margin-left:auto; }
- .amount.show { display:inline-flex; }
- .amount .dol { color:var(--brand-blue-light); font-weight:600; }
- .amount input[type=number] { width:72px; background:rgba(0,0,0,0.25); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); padding:6px 8px; font:13px var(--mono); outline:none; }
- .amount input[type=number]:focus { border-color:var(--brand-blue-light); }
-
- /* Keyboard hint */
- .kbd-hint { font-size:11px; color:var(--faint); margin-top:6px; opacity:0; transition:opacity .3s; }
- .kbd-hint kbd { display:inline-block; padding:1px 5px; border-radius:4px; border:1px solid var(--border); font:inherit; font-size:10px; }
-
- /* Run button */
- .run-btn {
- margin-top:12px; width:100%; display:flex; align-items:center; justify-content:center; gap:9px;
- background:var(--brand-blue); color:#fff; border:0; border-radius:var(--radius-md); padding:12px;
- cursor:pointer; font-size:14px; font-weight:650;
- transition:filter .15s, transform .1s, box-shadow .15s;
- box-shadow:0 0 0 0 rgba(15,98,254,0);
- }
- .run-btn:hover:not(:disabled) { filter:brightness(1.12); box-shadow:0 0 24px rgba(15,98,254,0.38); }
- .run-btn:active:not(:disabled) { transform:translateY(1px); }
- .run-btn:disabled { opacity:.6; cursor:default; filter:none; box-shadow:none; }
- .run-btn .spin { width:15px; height:15px; border:2.5px solid rgba(255,255,255,0.35); border-top-color:#fff; border-radius:50%; animation:spin .7s linear infinite; display:none; flex:none; }
- .run-btn.busy .spin { display:inline-block; }
- @keyframes spin { to { transform:rotate(360deg); } }
-
- /* ── Verdict card ───────────────────────────────────── */
- .verdict {
- margin-top:15px; border:1px solid var(--vborder, var(--border));
- border-radius:var(--radius-md); padding:14px;
- background:rgba(0,0,0,0.20); display:none; transition:border-color .4s;
- }
- .verdict.show { display:block; animation:rise .3s ease; }
- @keyframes rise { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
- /* Coloured left accent line per decision */
- .verdict.allow { border-left:3px solid var(--allow); }
- .verdict.review { border-left:3px solid var(--review); }
- .verdict.block { border-left:3px solid var(--block); }
- .v-top { display:flex; align-items:center; gap:10px; }
- .v-decision { font-size:15px; font-weight:720; letter-spacing:-0.01em; display:inline-flex; align-items:center; gap:8px; }
- .vd-dot { width:10px; height:10px; border-radius:50%; flex:none; }
- .v-decision.allow { color:var(--allow); }
- .v-decision.review { color:var(--review); }
- .v-decision.block { color:var(--block); }
- .v-meta { margin-left:auto; font-size:11px; color:var(--faint); text-align:right; line-height:1.4; font-variant-numeric:tabular-nums; }
- .v-reasons { margin-top:11px; display:flex; flex-direction:column; gap:6px; }
- .v-reason { font-size:12.5px; color:#d0d6e4; display:flex; gap:8px; align-items:baseline; }
- .v-reason .rb { font-size:10px; font-weight:700; color:var(--block); background:rgba(250,77,86,0.12); border:1px solid rgba(250,77,86,0.28); border-radius:4px; padding:1px 6px; flex:none; letter-spacing:0.04em; }
- .v-reason.cap .rb { color:var(--review); background:rgba(241,194,27,0.12); border-color:rgba(241,194,27,0.3); }
- .v-pass { font-size:12.5px; color:var(--muted); margin-top:8px; }
-
- /* ── Risk bars ──────────────────────────────────────── */
- .risks { margin-top:16px; display:none; }
- .risks.show { display:block; }
- .risks h4 { font-size:10px; text-transform:uppercase; letter-spacing:0.1em; color:var(--faint); margin-bottom:10px; font-weight:700; }
- .rrow { display:flex; align-items:center; gap:9px; padding:4px 0; }
- .rrow .rn { font-size:12px; width:76px; flex:none; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
- .rrow .rbar { flex:1; height:6px; border-radius:99px; background:rgba(255,255,255,0.07); overflow:hidden; }
- .rbar-fill { display:block; height:100%; border-radius:99px; background:var(--col, #3a4664); width:var(--pct, 0%); transition:width .55s cubic-bezier(.22,.61,.36,1), background .3s; }
- .rrow .rv { font-size:11px; width:52px; text-align:right; flex:none; font-variant-numeric:tabular-nums; color:var(--muted); white-space:nowrap; }
- .rv .est { color:var(--faint); margin-left:2px; }
- .rrow.flagged .rn { color:var(--text); font-weight:600; }
- /* Skeleton shimmer */
- .rrow.skeleton { pointer-events:none; }
- .sk-line { display:inline-block; border-radius:4px; background:linear-gradient(90deg,rgba(255,255,255,0.06) 25%,rgba(255,255,255,0.10) 50%,rgba(255,255,255,0.06) 75%); background-size:200% 100%; animation:shimmer 1.4s infinite; }
- .sk-name { width:60px; height:10px; }
- .sk-pct { width:28px; height:10px; }
- @keyframes shimmer { from { background-position:200% 0; } to { background-position:-200% 0; } }
-
- /* ── Audit ledger (bottom-left) ─────────────────────── */
- .ledger {
- position:fixed; left:18px; bottom:18px; z-index:20;
- width:min(360px,calc(100vw - 36px)); max-height:min(50vh,500px);
- display:flex; flex-direction:column;
- background:var(--panel); border:1px solid var(--border); border-radius:var(--radius-lg);
- backdrop-filter:blur(20px); box-shadow:var(--shadow); overflow:hidden;
- }
- .l-head {
- padding:12px 16px; border-bottom:1px solid var(--border);
- display:flex; align-items:center; gap:8px; flex-shrink:0;
- }
- .l-title { font-size:12.5px; font-weight:650; }
- .l-title .cnt { color:var(--faint); font-weight:500; }
- .l-btns { margin-left:auto; display:flex; gap:6px; }
- .l-btn {
- font-size:11px; border-radius:var(--radius-sm); padding:5px 9px; cursor:pointer;
- transition:filter .15s, color .15s, border-color .15s;
- display:inline-flex; align-items:center; gap:5px; border:1px solid;
- }
- .l-btn svg { width:12px; height:12px; }
- .l-verify { color:var(--brand-blue-light); background:rgba(15,98,254,0.10); border-color:rgba(120,169,255,0.22); }
- .l-verify:hover { filter:brightness(1.22); }
- .l-verify.ok { color:var(--allow); background:rgba(66,190,101,0.10); border-color:rgba(66,190,101,0.28); }
- .l-verify.bad { color:var(--block); background:rgba(250,77,86,0.10); border-color:rgba(250,77,86,0.28); }
- .l-export { color:var(--muted); background:rgba(255,255,255,0.04); border-color:var(--border); }
- .l-export:hover:not(:disabled) { color:var(--text); border-color:var(--border-hi); }
- .l-export:disabled { opacity:.35; cursor:default; }
- .l-body { overflow-y:auto; padding:6px; scrollbar-width:thin; flex:1; }
- .l-empty { padding:18px 14px; text-align:center; color:var(--faint); font-size:12.5px; line-height:1.6; }
- .lrow {
- display:flex; align-items:center; gap:9px; padding:8px 9px;
- border-radius:var(--radius-sm); transition:background .12s;
- }
- .lrow + .lrow { border-top:1px solid rgba(255,255,255,0.04); }
- .lrow:hover { background:rgba(255,255,255,0.04); }
- .ld { width:8px; height:8px; border-radius:50%; flex:none; }
- .ld.allow { background:var(--allow); box-shadow:0 0 7px var(--allow); }
- .ld.review { background:var(--review); box-shadow:0 0 7px var(--review); }
- .ld.block { background:var(--block); box-shadow:0 0 7px var(--block); }
- .lmeta { min-width:0; flex:1; }
- .lt { font-size:12px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
- .lh { font-size:10px; color:var(--faint); font-family:var(--mono); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:1px; }
- .lc { width:18px; flex:none; display:flex; align-items:center; justify-content:center; }
- .lc.ok { color:var(--allow); }
- .lc.bad { color:var(--block); }
-
- /* ── Overlay states ─────────────────────────────────── */
- .overlay {
- position:fixed; inset:0; z-index:40;
- display:none; align-items:center; justify-content:center; padding:24px; text-align:center;
- background:radial-gradient(1200px 600px at 50% 32%,rgba(15,98,254,0.10),transparent 60%), var(--bg);
- }
- .overlay.show { display:flex; }
- .ov-inner { max-width:440px; }
- .o-orb {
- width:52px; height:52px; margin:0 auto 20px; border-radius:50%;
- background:radial-gradient(circle at 35% 30%,var(--brand-blue-light),var(--brand-blue) 60%,#062a8a);
- box-shadow:0 0 40px rgba(15,98,254,0.5);
- animation:pulse 1.8s ease-in-out infinite;
- }
- @keyframes pulse { 0%,100% { transform:scale(1); opacity:1; } 50% { transform:scale(1.11); opacity:.78; } }
- .overlay h2 { font-size:20px; font-weight:650; letter-spacing:-0.02em; margin-bottom:10px; }
- .overlay p { color:var(--muted); font-size:14px; line-height:1.65; }
- .overlay code { font-family:var(--mono); color:var(--brand-blue-light); font-size:13px; }
- .o-actions { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:20px; }
- .o-btn { display:inline-flex; align-items:center; gap:8px; background:var(--brand-blue); color:#fff; text-decoration:none; font-weight:600; font-size:14px; padding:11px 18px; border-radius:var(--radius-md); border:0; cursor:pointer; transition:filter .15s; }
- .o-btn:hover { filter:brightness(1.12); }
- .o-btn.sec { background:var(--panel-solid); border:1px solid var(--border); color:var(--text); }
-
- /* ── Toast ──────────────────────────────────────────── */
- .toast {
- position:fixed; bottom:20px; left:50%; transform:translateX(-50%) translateY(10px);
- z-index:50; background:var(--panel-solid); border:1px solid var(--border-hi);
- border-radius:var(--radius-md); padding:10px 15px; font-size:13px;
- box-shadow:var(--shadow); opacity:0; pointer-events:none;
- transition:opacity .25s, transform .25s; max-width:min(420px, 92vw); text-align:center;
- }
- .toast.show { opacity:1; transform:translateX(-50%) translateY(0); }
- .toast.err { border-color:rgba(250,77,86,0.45); color:#ffbcbf; }
-
- /* ── Mobile layout ──────────────────────────────────── */
- @media (max-width:860px) {
- body { overflow-y:auto; }
- #scene { position:fixed; height:44vh; inset:auto 0 auto 0; top:0; }
- .node-labels, .verdict-tag { display:none; }
- .hero { position:absolute; top:64px; }
- .console {
- position:relative; inset:auto; width:auto; max-height:none;
- margin:44vh 12px 0; border-radius:var(--radius-lg) var(--radius-lg) 0 0;
- }
- .ledger {
- position:relative; inset:auto; width:auto; max-height:56vh;
- margin:0 12px 16px; border-radius:0 0 var(--radius-lg) var(--radius-lg);
- }
- .toast { bottom:80px; }
- }
- @media (prefers-reduced-motion:reduce) { .o-orb { animation:none; } .rbar-fill { transition:none; } }
- </style>
-
- <meta property="og:site_name" content="three.ws">
- <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"Trust Layer — Granite Guardian Governs Agents","description":"IBM Granite Guardian governs an autonomous, wallet-holding 3D AI agent in real time. Every message and on-chain action is risk-classified on watsonx.ai and written to a tamper-evident audit ledger.","url":"https://three.ws/ibm/trust-layer","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>
-</head>
-<body>
- <noscript>
- <div style="position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;background:#080808;color:#e7ecf5;font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;text-align:center">
- <div style="max-width:480px">
- <div style="width:12px;height:12px;border-radius:50%;background:#0f62fe;margin:0 auto 20px;box-shadow:0 0 24px #0f62fe" aria-hidden="true"></div>
- <h1 style="font-size:26px;font-weight:600;letter-spacing:-0.02em;margin:0 0 10px;color:#fff">IBM Trust Layer</h1>
- <p style="font-size:14px;line-height:1.65;color:#8a9ab8;margin:0 0 20px">Live governance and attestation layer powered by IBM Granite on watsonx.ai. JavaScript is required for this experience.</p>
- <div style="display:flex;gap:9px;justify-content:center;flex-wrap:wrap">
- <a href="/docs/ibm" style="display:inline-block;padding:10px 18px;border-radius:10px;background:#0f62fe;color:#fff;text-decoration:none;font-size:14px;font-weight:500">Read the docs</a>
- <a href="/ibm" style="display:inline-block;padding:10px 18px;border-radius:10px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.14);color:#e7ecf5;text-decoration:none;font-size:14px">Back to the showcase</a>
- </div>
- </div>
- </div>
- </noscript>
- <canvas id="scene" aria-hidden="true"></canvas>
- <div class="node-labels" id="nodeLabels" aria-hidden="true"></div>
- <div class="verdict-tag" id="verdictTag" aria-hidden="true">
- <div class="vt-word" id="vtWord"></div>
- <div class="vt-sub" id="vtSub"></div>
- </div>
-
- <!-- ── Top bar ───────────────────────────────────────── -->
- <div class="topbar" role="banner">
- <div class="brand">
- <a href="/ibm" class="home" title="Back to the IBM Granite demos">
- <svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 18l-6-6 6-6"/></svg>
- three.ws
- </a>
- <span class="sep" aria-hidden="true">/</span>
- <span class="badge">
- <span class="dot" aria-hidden="true"></span>
- <strong>Trust Layer</strong>
- <span aria-hidden="true">·</span>
- <span>Granite Guardian</span>
- </span>
- </div>
- <nav class="tb-actions" aria-label="IBM pages">
- <a class="tb-btn" href="/ibm/galaxy" title="Agent Galaxy — semantic 3D discovery on Granite">
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="3"/><circle cx="5" cy="6" r="1.6"/><circle cx="19" cy="7" r="1.6"/><circle cx="18" cy="18" r="1.6"/><circle cx="6" cy="17" r="1.6"/></svg>
- <span class="lbl">Galaxy</span>
- </a>
- <a class="tb-btn" href="/ibm" title="IBM Granite demos — community showcase">
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4M12 8h.01"/></svg>
- <span class="lbl">About</span>
- </a>
- </nav>
- </div>
-
- <!-- ── Hero ──────────────────────────────────────────── -->
- <div class="hero" id="hero" aria-hidden="true">
- <h1>Autonomous agents,<br><span class="g">governed before they act</span>.</h1>
- <p>This agent thinks on IBM Granite and holds its own Solana wallet. <strong style="color:var(--brand-blue-light)">Granite&nbsp;Guardian</strong> classifies every request and every on-chain action on watsonx.ai — then writes it to a tamper-evident ledger — <em>before</em> it runs.</p>
- </div>
-
- <!-- ── Governance console ────────────────────────────── -->
- <aside class="console" role="complementary" aria-label="Governance console">
- <div class="c-head">
- <div class="c-title">
- Governance console
- <span class="pill" id="modelPill">Granite Guardian</span>
- </div>
- <div class="c-sub">Submit a request. Granite Guardian assesses it on watsonx.ai.</div>
- </div>
- <div class="c-body">
-
- <div class="scenarios" id="scenarios" role="group" aria-label="Scenario presets"></div>
-
- <label class="field-label" for="msg">Request to the agent</label>
- <textarea id="msg" placeholder="e.g. &quot;Wave hello and tell me what you can do.&quot;" spellcheck="false" rows="3"></textarea>
- <div class="kbd-hint" id="kbdHint"><kbd>⌘</kbd> + <kbd>↵</kbd> to assess</div>
-
- <div class="send-row">
- <label class="toggle">
- <input type="checkbox" id="sendToggle" aria-label="Model as an autonomous SOL transfer" />
- <span class="tk" aria-hidden="true"></span>
- <span>Autonomous SOL send</span>
- </label>
- <span class="amount" id="amountWrap">
- <span class="dol" aria-hidden="true">$</span>
- <input id="amount" type="number" min="1" step="1" value="5" aria-label="Send amount in US dollars" />
- </span>
- </div>
-
- <button class="run-btn" id="runBtn" type="button">
- <span class="spin" aria-hidden="true"></span>
- <span class="lbl">Assess with Granite Guardian</span>
- </button>
-
- <div class="verdict" id="verdict" aria-live="polite" aria-label="Governance verdict">
- <div id="verdictInner"></div>
- </div>
-
- <div class="risks" id="risks" role="list" aria-label="Risk dimensions">
- <h4>Risk assessment · per dimension</h4>
- <div id="riskRows"></div>
- </div>
-
- </div>
- </aside>
-
- <!-- ── Audit ledger ───────────────────────────────────── -->
- <section class="ledger" aria-label="Governance audit ledger">
- <div class="l-head">
- <span class="l-title">Audit ledger <span class="cnt" id="ledgerCnt">· 0</span></span>
- <div class="l-btns">
- <button class="l-btn l-verify" id="verifyBtn" type="button" title="Re-derive the SHA-256 hash chain in your browser — no trust required">
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 12l2 2 4-4"/><circle cx="12" cy="12" r="9"/></svg>
- <span class="vb-label">Verify chain</span>
- </button>
- <button class="l-btn l-export" id="exportBtn" type="button" title="Copy the ledger JSON for offline re-verification" disabled>
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/></svg>
- Export
- </button>
- </div>
- </div>
- <div class="l-body" id="ledgerBody" aria-live="polite">
- <div class="l-empty">No records yet. Each assessment writes a hash-chained, content-blind entry here. Re-verify the whole chain in your browser at any time.</div>
- </div>
- </section>
-
- <!-- ── Overlays ──────────────────────────────────────── -->
- <p class="l-disclaimer" style="color:#7a85a8;font-size:12px;line-height:1.6;max-width:680px;margin:24px auto 0">These are community demos for developers to explore IBM Granite on watsonx.ai and build their own tools — not official IBM partnership deliverables, not IBM products, and not endorsed by IBM. three.ws's formal partnership work with IBM is being built on the IBM platform and is not yet public.</p>
-
- <div class="overlay show" id="loadingState" aria-label="Loading" aria-live="polite">
- <div class="ov-inner">
- <div class="o-orb" aria-hidden="true"></div>
- <h2>Spinning up the Trust Layer</h2>
- <p>Rendering the governance core and arming the <strong style="color:var(--brand-blue-light)">Granite Guardian</strong> sentinels.</p>
- </div>
- </div>
-
- <div class="overlay" id="unavailableState" role="alertdialog" aria-modal="true" aria-label="IBM watsonx not configured">
- <div class="ov-inner">
- <div class="o-orb" style="animation:none;background:radial-gradient(circle at 35% 30%,#424242,#1f1f1f)" aria-hidden="true"></div>
- <h2>IBM watsonx is not configured</h2>
- <p>No watsonx.ai credentials found. Set <code>WATSONX_API_KEY</code> and <code>WATSONX_PROJECT_ID</code> to power the Trust Layer.</p>
- <div class="o-actions"><a class="o-btn" href="/ibm">About the IBM integration</a></div>
- </div>
- </div>
-
- <div class="overlay" id="errorState" role="alertdialog" aria-modal="true" aria-label="Error">
- <div class="ov-inner">
- <div class="o-orb" style="animation:none;background:radial-gradient(circle at 35% 30%,#5a2330,#2c1a1f)" aria-hidden="true"></div>
- <h2>Couldn't reach the governance service</h2>
- <p id="errorMsg">Something went wrong reaching Granite Guardian.</p>
- <div class="o-actions">
- <button class="o-btn" id="retryBtn" type="button">Dismiss</button>
- <a class="o-btn sec" href="/ibm">Back to IBM</a>
- </div>
- </div>
- </div>
-
- <div class="toast" id="toast" role="status" aria-live="polite"></div>
-
- <script type="module" src="/src/ibm-trust-layer.js"></script>
- <script type="module" src="/src/ibm-suite-nav.js"></script>
- <script src="/brand.js" defer></script>
- <div id="footer-container"></div>
- <script src="/footer.js"></script>
-</body>
-</html>
diff --git a/pages/ibm/twin.html b/pages/ibm/twin.html
deleted file mode 100644
index 7774d6800..000000000
--- a/pages/ibm/twin.html
+++ /dev/null
@@ -1,791 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
- <title>Digital Twin — a living market replica on IBM watsonx · three.ws</title>
- <link rel="canonical" href="https://three.ws/ibm/twin" />
- <meta property="og:url" content="https://three.ws/ibm/twin" />
- <meta
- name="description"
- content="A living digital twin of a real Solana market: it mirrors its on-chain vitals in real time, IBM Granite TimeSeries projects its future, it back-tests itself against reality, and you can run what-if simulations. Real watsonx.ai, real on-chain data."
- />
- <meta name="theme-color" content="#0e0e0e" />
- <meta
- property="og:title"
- content="Digital Twin — a living market replica, powered by IBM watsonx"
- />
- <meta
- property="og:description"
- content="Mirror a live token's vitals, project its future with IBM Granite TimeSeries, validate the model against reality, and simulate what-if scenarios — all in 3D."
- />
- <meta property="og:image" content="https://three.ws/ibm-og.png" />
- <meta property="og:type" content="website" />
- <meta name="twitter:card" content="summary_large_image" />
- <link rel="icon" href="/favicon.ico" />
- <link rel="stylesheet" href="/ibm.css" />
- <style>
- /* Design tokens come from the shared system: /ibm.css */
- * {
- box-sizing: border-box;
- }
- html,
- body {
- margin: 0;
- height: 100%;
- }
- body {
- font-family: var(--font);
- color: var(--ink);
- background:
- radial-gradient(1200px 700px at 50% -10%, #222222 0%, rgba(11, 14, 23, 0) 60%),
- radial-gradient(900px 600px at 90% 110%, #181818 0%, rgba(11, 14, 23, 0) 55%),
- #0e0e0e;
- overflow: hidden;
- }
- a {
- color: var(--brand-blue-2);
- text-decoration: none;
- }
- #twin-stage {
- position: fixed;
- inset: 0;
- z-index: 0;
- }
- #twin-stage canvas {
- display: block;
- }
-
- /* Top bar */
- .topbar {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- z-index: 6;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 16px 22px;
- pointer-events: none;
- }
- .topbar > * {
- pointer-events: auto;
- }
- .brand {
- display: flex;
- align-items: center;
- gap: 10px;
- font-weight: 600;
- letter-spacing: 0.01em;
- }
- .brand .dot {
- width: 9px;
- height: 9px;
- border-radius: 50%;
- background: var(--brand-blue);
- box-shadow: 0 0 12px var(--brand-blue);
- }
- .brand small {
- color: var(--muted);
- font-weight: 400;
- }
- .topbar .back {
- font-size: 13px;
- color: var(--muted);
- border: 1px solid var(--stroke);
- padding: 7px 12px;
- border-radius: 8px;
- background: var(--panel);
- backdrop-filter: blur(8px);
- transition:
- border-color 0.15s,
- color 0.15s;
- }
- .topbar .back:hover {
- color: var(--ink);
- border-color: var(--brand-blue-2);
- }
-
- /* Controls (top center) */
- .controls {
- position: fixed;
- top: 16px;
- left: 50%;
- transform: translateX(-50%);
- z-index: 7;
- display: flex;
- gap: 8px;
- align-items: center;
- flex-wrap: wrap;
- justify-content: center;
- max-width: 56vw;
- }
- .chips {
- display: flex;
- gap: 6px;
- flex-wrap: wrap;
- justify-content: center;
- }
- .chip {
- font: inherit;
- font-size: 12px;
- color: var(--ink);
- cursor: pointer;
- background: var(--panel);
- border: 1px solid var(--stroke);
- border-radius: 999px;
- padding: 6px 12px;
- backdrop-filter: blur(8px);
- transition:
- border-color 0.15s,
- transform 0.12s;
- max-width: 150px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .chip:hover {
- border-color: var(--brand-blue-2);
- transform: translateY(-1px);
- }
- .search-wrap {
- display: flex;
- gap: 6px;
- }
- #t-search {
- font: inherit;
- font-size: 12px;
- color: var(--ink);
- width: 210px;
- background: var(--panel);
- border: 1px solid var(--stroke);
- border-radius: 8px;
- padding: 7px 11px;
- backdrop-filter: blur(8px);
- }
- #t-search::placeholder {
- color: var(--muted);
- }
- .btn {
- font: inherit;
- font-size: 12px;
- font-weight: 600;
- color: #fff;
- cursor: pointer;
- background: var(--brand-blue);
- border: none;
- border-radius: 8px;
- padding: 7px 14px;
- transition:
- background 0.15s,
- opacity 0.15s,
- transform 0.12s;
- }
- .btn:hover {
- background: var(--brand-blue-2);
- }
- .btn:active {
- transform: translateY(1px);
- }
- .btn:disabled {
- opacity: 0.5;
- cursor: progress;
- }
-
- /* Vitals panel (top-left) */
- .vitals {
- position: fixed;
- top: 70px;
- left: 22px;
- z-index: 5;
- width: 286px;
- max-width: calc(100vw - 44px);
- background: var(--panel);
- border: 1px solid var(--stroke);
- border-radius: 14px;
- padding: 16px 18px;
- backdrop-filter: blur(12px);
- box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
- }
- .vitals .head {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 10px;
- }
- .vitals .name {
- font-size: 14px;
- font-weight: 600;
- color: var(--muted);
- letter-spacing: 0.02em;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .state-pill {
- font-size: 11px;
- font-weight: 700;
- letter-spacing: 0.04em;
- text-transform: uppercase;
- padding: 4px 9px;
- border-radius: 999px;
- border: 1px solid currentColor;
- color: var(--brand-blue-light);
- white-space: nowrap;
- flex: 0 0 auto;
- }
- .vitals .price {
- font-size: 32px;
- font-weight: 700;
- line-height: 1;
- margin-top: 8px;
- font-variant-numeric: tabular-nums;
- }
- .vitals .grid {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 10px 14px;
- margin-top: 14px;
- }
- .metric .k {
- font-size: 10.5px;
- letter-spacing: 0.08em;
- text-transform: uppercase;
- color: var(--muted);
- }
- .metric .v {
- font-size: 16px;
- font-weight: 600;
- font-variant-numeric: tabular-nums;
- margin-top: 2px;
- }
- .metric .v.up {
- color: var(--up);
- }
- .metric .v.down {
- color: var(--down);
- }
- .heart {
- display: inline-block;
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: var(--down);
- margin-right: 6px;
- vertical-align: middle;
- box-shadow: 0 0 8px var(--down);
- animation: beat 1s infinite ease-in-out;
- }
- @keyframes beat {
- 0%,
- 100% {
- transform: scale(0.7);
- opacity: 0.55;
- }
- 28% {
- transform: scale(1.25);
- opacity: 1;
- }
- }
- .synced {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-top: 14px;
- padding-top: 12px;
- border-top: 1px solid var(--stroke);
- font-size: 11.5px;
- color: var(--muted);
- }
- .toggle {
- position: relative;
- display: inline-flex;
- align-items: center;
- gap: 7px;
- cursor: pointer;
- user-select: none;
- }
- .toggle input {
- position: absolute;
- opacity: 0;
- pointer-events: none;
- }
- .toggle .track {
- width: 32px;
- height: 18px;
- border-radius: 999px;
- background: rgba(120, 169, 255, 0.2);
- border: 1px solid var(--stroke);
- transition: background 0.15s;
- flex: 0 0 auto;
- }
- .toggle .track::after {
- content: '';
- display: block;
- width: 12px;
- height: 12px;
- border-radius: 50%;
- background: var(--muted);
- margin: 2px;
- transition:
- transform 0.18s,
- background 0.15s;
- }
- .toggle input:checked + .track {
- background: rgba(15, 98, 254, 0.55);
- }
- .toggle input:checked + .track::after {
- transform: translateX(14px);
- background: #fff;
- }
-
- /* Badges (top-right) */
- .badges {
- position: fixed;
- top: 70px;
- right: 22px;
- z-index: 5;
- display: flex;
- flex-direction: column;
- gap: 10px;
- align-items: flex-end;
- }
- .badge {
- display: flex;
- gap: 10px;
- align-items: center;
- background: var(--panel);
- border: 1px solid var(--stroke);
- border-radius: 12px;
- padding: 10px 13px;
- backdrop-filter: blur(12px);
- max-width: 290px;
- }
- .badge .mark {
- width: 26px;
- height: 26px;
- border-radius: 6px;
- flex: 0 0 auto;
- background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-2));
- display: grid;
- place-items: center;
- font-size: 11px;
- font-weight: 700;
- color: #fff;
- }
- .badge.fidelity .mark {
- background: linear-gradient(135deg, #0072c3, #33b1ff);
- }
- .badge.gov .mark {
- background: linear-gradient(135deg, #24a148, #42be65);
- }
- .badge.gov.fail .mark {
- background: linear-gradient(135deg, #da1e28, #fa4d56);
- }
- .badge .t {
- font-size: 12.5px;
- font-weight: 600;
- }
- .badge .s {
- font-size: 11px;
- color: var(--muted);
- font-variant-numeric: tabular-nums;
- word-break: break-word;
- }
-
- /* Scenario simulator (bottom-left) */
- .sim {
- position: fixed;
- left: 22px;
- bottom: 22px;
- z-index: 6;
- width: 300px;
- max-width: calc(100vw - 44px);
- background: var(--panel-2);
- border: 1px solid var(--stroke);
- border-radius: 16px;
- padding: 16px 18px;
- backdrop-filter: blur(14px);
- box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
- }
- .sim .label {
- font-size: 11px;
- letter-spacing: 0.14em;
- text-transform: uppercase;
- color: var(--brand-blue-2);
- margin-bottom: 12px;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .sim .label .hint {
- text-transform: none;
- letter-spacing: 0;
- color: var(--muted);
- font-size: 10.5px;
- }
- .slider {
- margin-bottom: 14px;
- }
- .slider .row {
- display: flex;
- justify-content: space-between;
- font-size: 12px;
- margin-bottom: 5px;
- }
- .slider .row b {
- font-variant-numeric: tabular-nums;
- color: var(--brand-blue-light);
- }
- input[type='range'] {
- width: 100%;
- accent-color: var(--brand-blue);
- cursor: pointer;
- }
- .sim-row {
- display: flex;
- gap: 8px;
- align-items: center;
- margin-bottom: 12px;
- }
- .sim .actions {
- display: flex;
- gap: 8px;
- }
- .sim .actions .btn {
- flex: 1;
- }
- .btn.ghost {
- background: transparent;
- border: 1px solid var(--stroke);
- color: var(--muted);
- flex: 0 0 auto;
- }
- .btn.ghost:hover {
- color: var(--ink);
- border-color: var(--brand-blue-2);
- background: transparent;
- }
- .sim-out {
- margin-top: 13px;
- padding-top: 12px;
- border-top: 1px solid var(--stroke);
- font-size: 12.5px;
- display: none;
- }
- .sim-out.show {
- display: block;
- }
- .sim-out .cmp {
- display: flex;
- justify-content: space-between;
- gap: 10px;
- margin-bottom: 6px;
- font-variant-numeric: tabular-nums;
- }
- .sim-out .cmp .lab {
- color: var(--muted);
- }
- .sim-out .delta {
- font-weight: 700;
- font-variant-numeric: tabular-nums;
- }
-
- /* Persona bar (bottom center) */
- .persona-bar {
- position: fixed;
- left: 50%;
- bottom: 22px;
- transform: translateX(-50%);
- z-index: 5;
- width: min(640px, calc(100vw - 380px));
- background: var(--panel);
- border: 1px solid var(--stroke);
- border-radius: 16px;
- padding: 16px 20px;
- backdrop-filter: blur(14px);
- box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
- }
- .persona-bar .label {
- font-size: 11px;
- letter-spacing: 0.14em;
- text-transform: uppercase;
- color: var(--brand-blue-2);
- margin-bottom: 6px;
- }
- #t-persona {
- font-size: 16px;
- line-height: 1.5;
- min-height: 1.5em;
- }
- #t-persona.muted {
- color: var(--muted);
- font-size: 14px;
- }
- #t-status {
- font-size: 12px;
- color: var(--muted);
- margin-top: 8px;
- min-height: 1em;
- }
- #t-status.busy::after {
- content: '';
- display: inline-block;
- width: 6px;
- height: 6px;
- margin-left: 4px;
- border-radius: 50%;
- background: var(--brand-blue-2);
- animation: pulse 1s infinite;
- }
- #t-status .status-retry {
- background: none; border: none; padding: 0; margin-left: 6px;
- color: var(--brand-blue-2); font-size: inherit; font-family: inherit;
- cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
- }
- #t-status .status-retry:hover { color: var(--brand-blue); }
- @keyframes pulse {
- 0%,
- 100% {
- opacity: 0.3;
- }
- 50% {
- opacity: 1;
- }
- }
-
- /* Embodied narrator */
- agent-3d {
- position: fixed;
- right: 18px;
- bottom: 120px;
- z-index: 4;
- width: 190px;
- height: 270px;
- display: block;
- pointer-events: none;
- }
-
- @media (max-width: 900px) {
- .persona-bar {
- width: calc(100vw - 44px);
- bottom: 12px;
- }
- .sim {
- display: none;
- }
- .controls {
- max-width: calc(100vw - 24px);
- }
- }
- @media (max-width: 760px) {
- .vitals {
- top: 58px;
- left: 12px;
- right: 12px;
- width: auto;
- }
- .badges {
- top: auto;
- bottom: 210px;
- right: 12px;
- }
- #t-search {
- width: 150px;
- }
- agent-3d {
- width: 120px;
- height: 170px;
- bottom: 210px;
- right: 6px;
- }
- }
- </style>
-
- <meta property="og:site_name" content="three.ws">
- <meta name="twitter:title" content="Digital Twin — Living Market Replica · three.ws">
- <meta name="twitter:description" content="A living replica of a real market on IBM watsonx — live data drives the twin while Granite TimeSeries projects where it's heading.">
- <meta name="twitter:image" content="https://three.ws/ibm-og.png">
- <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"Digital Twin — Living Market Replica","description":"A living replica of a real market on IBM watsonx — live data drives the twin while Granite TimeSeries projects where it's heading.","url":"https://three.ws/ibm/twin","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>
-</head>
- <body>
- <noscript>
- <div style="position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;background:#080808;color:#e7ecf5;font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;text-align:center">
- <div style="max-width:480px">
- <div style="width:12px;height:12px;border-radius:50%;background:#0f62fe;margin:0 auto 20px;box-shadow:0 0 24px #0f62fe" aria-hidden="true"></div>
- <h1 style="font-size:26px;font-weight:600;letter-spacing:-0.02em;margin:0 0 10px;color:#fff">Digital Twin</h1>
- <p style="font-size:15px;line-height:1.6;color:#9fb0c8;margin:0 0 22px">A living market replica projected by IBM Granite TimeSeries. This interactive 3D experience needs JavaScript enabled.</p>
- <div style="display:flex;gap:10px;justify-content:center;flex-wrap:wrap">
- <a href="/docs/ibm" style="display:inline-block;padding:10px 18px;border-radius:10px;background:#0f62fe;color:#fff;text-decoration:none;font-size:14px;font-weight:500">Read the docs</a>
- <a href="/ibm" style="display:inline-block;padding:10px 18px;border-radius:10px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.14);color:#e7ecf5;text-decoration:none;font-size:14px">Back to the showcase</a>
- </div>
- </div>
- </div>
- </noscript>
- <div id="twin-stage"></div>
-
- <!-- Embodied narrator: the twin speaks of itself, governed by Granite Guardian -->
- <agent-3d src="/avatars/default.glb" kiosk eager hide-chrome aria-hidden="true"></agent-3d>
-
- <header class="topbar">
- <div class="brand">
- <span class="dot"></span>
- <span>Digital Twin</span>
- <small>three.ws&nbsp;×&nbsp;IBM watsonx</small>
- </div>
- <a class="back" href="/ibm" title="Built on IBM watsonx">← IBM watsonx demos</a>
- </header>
-
- <div class="controls">
- <div id="t-chips" class="chips"></div>
- <div class="search-wrap">
- <input
- id="t-search"
- type="text"
- placeholder="Solana token mint…"
- spellcheck="false"
- />
- <button id="t-spawn" class="btn">Spawn twin</button>
- </div>
- </div>
-
- <section class="vitals" aria-live="polite">
- <div class="head">
- <div id="t-name" class="name">Spawning…</div>
- <div id="t-state" class="state-pill">—</div>
- </div>
- <div id="t-price" class="price">—</div>
- <div class="grid">
- <div class="metric">
- <div class="k">Momentum 24b</div>
- <div id="m-momentum" class="v">—</div>
- </div>
- <div class="metric">
- <div class="k">Volatility / bar</div>
- <div id="m-vol" class="v">—</div>
- </div>
- <div class="metric">
- <div class="k"><span class="heart" id="m-heart"></span>Heartbeat</div>
- <div id="m-bpm" class="v">—</div>
- </div>
- <div class="metric">
- <div class="k">Activity</div>
- <div id="m-activity" class="v">—</div>
- </div>
- <div class="metric">
- <div class="k">Liquidity / bar</div>
- <div id="m-liq" class="v">—</div>
- </div>
- <div class="metric">
- <div class="k">Volume trend</div>
- <div id="m-voltrend" class="v">—</div>
- </div>
- </div>
- <div class="synced">
- <label class="toggle">
- <input type="checkbox" id="t-live" checked />
- <span class="track"></span>
- <span>Live sync</span>
- </label>
- <span id="t-synced" style="margin-left: auto"></span>
- </div>
- </section>
-
- <div class="badges">
- <div id="b-projection" class="badge" hidden>
- <div class="mark">TS</div>
- <div>
- <div class="t">Projection · Granite TimeSeries</div>
- <div class="s"></div>
- </div>
- </div>
- <div id="b-fidelity" class="badge fidelity" hidden>
- <div class="mark">◑</div>
- <div>
- <div class="t">Fidelity · back-tested vs reality</div>
- <div class="s"></div>
- </div>
- </div>
- <div id="b-gov" class="badge gov" hidden>
- <div class="mark">✓</div>
- <div>
- <div class="t">Governed · Granite Guardian</div>
- <div class="s"></div>
- </div>
- </div>
- </div>
-
- <aside class="sim">
- <div class="label">
- <span>What-if simulator</span>
- <span class="hint">perturbs &amp; re-forecasts</span>
- </div>
- <div class="slider">
- <div class="row"><span>Demand shock</span><b id="s-shock-v">0%</b></div>
- <input type="range" id="s-shock" min="-90" max="300" step="5" value="0" />
- </div>
- <div class="slider">
- <div class="row"><span>Volatility regime</span><b id="s-vol-v">1.0×</b></div>
- <input type="range" id="s-vol" min="0.1" max="5" step="0.1" value="1" />
- </div>
- <label class="toggle sim-row">
- <input type="checkbox" id="s-flip" />
- <span class="track"></span>
- <span>Momentum reversal</span>
- </label>
- <div class="actions">
- <button id="s-run" class="btn">Run scenario</button>
- <button id="s-reset" class="btn ghost" title="Clear scenario">Reset</button>
- </div>
- <div id="s-out" class="sim-out">
- <div class="cmp">
- <span class="lab">Baseline path</span><span id="s-base">—</span>
- </div>
- <div class="cmp">
- <span class="lab">Scenario path</span><span id="s-sim">—</span>
- </div>
- <div class="cmp">
- <span class="lab">Divergence</span><span id="s-delta" class="delta">—</span>
- </div>
- </div>
- </aside>
-
- <div class="persona-bar">
- <div class="label">The twin says</div>
- <div id="t-persona" class="muted">
- Mirroring live on-chain vitals and asking IBM Granite to project the future…
- </div>
- <div id="t-status"></div>
- </div>
-
- <p style="position:fixed;left:0;right:0;bottom:0;z-index:3;text-align:center;padding:6px 16px;color:#7a85a8;font-size:12px;line-height:1.6;max-width:680px;margin:0 auto;pointer-events:none">
- These are community demos for developers to explore IBM Granite on watsonx.ai and build their own tools — not official IBM partnership deliverables, not IBM products, and not endorsed by IBM. three.ws's formal partnership work with IBM is being built on the IBM platform and is not yet public.
- </p>
-
- <!-- Define the <agent-3d> element: dev loads from the local runtime, prod from CDN. -->
- <script type="module">
- const h = location.hostname;
- const isLocal =
- h === 'localhost' ||
- h === '127.0.0.1' ||
- h.endsWith('.github.dev') ||
- h.endsWith('.local');
- try {
- if (isLocal) {
- const { defineElement } = await import('/src/lib.js');
- defineElement();
- } else {
- await import('https://three.ws/agent-3d/latest/agent-3d.js');
- }
- } catch (e) {
- console.warn(
- '[digital-twin] avatar runtime unavailable, persona falls back to speech',
- e,
- );
- }
- </script>
- <script type="module" src="/src/ibm-twin.js"></script>
- <script type="module" src="/src/ibm-suite-nav.js"></script>
- </body>
-</html>
diff --git a/pages/ibm/vision.html b/pages/ibm/vision.html
deleted file mode 100644
index 6a063841a..000000000
--- a/pages/ibm/vision.html
+++ /dev/null
@@ -1,440 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
- <title>Granite Vision — IBM watsonx multimodal, reading your 3D avatar · three.ws</title>
- <link rel="canonical" href="https://three.ws/ibm/vision" />
- <meta
- name="description"
- content="Show IBM Granite Vision on watsonx.ai a three.ws 3D avatar and watch it read the look — appearance, vibe, persona, a name, a bio, a voice — turning a face into a complete agent identity. Real multimodal inference, no mock data."
- />
- <meta name="theme-color" content="#0e0e0e" />
- <meta property="og:type" content="website" />
- <meta property="og:title" content="Granite Vision — IBM watsonx sees your 3D avatar" />
- <meta
- property="og:description"
- content="IBM Granite Vision looks at a 3D avatar and invents its whole identity — appearance, persona, name, bio, voice. Live on watsonx.ai."
- />
- <meta property="og:image" content="https://three.ws/ibm-og.png" />
- <meta property="og:url" content="https://three.ws/ibm/vision" />
- <meta name="twitter:card" content="summary_large_image" />
- <meta name="twitter:title" content="Granite Vision — IBM watsonx sees your 3D avatar" />
- <link rel="icon" href="/favicon.ico" />
- <link rel="stylesheet" href="/ibm.css" />
- <style>
- /* Design tokens come from the shared system: /ibm.css */
- * { box-sizing: border-box; }
- html, body { margin: 0; height: 100%; }
- body {
- font-family: var(--font);
- color: var(--ink);
- background:
- radial-gradient(1200px 700px at 30% -10%, #222222 0%, rgba(11, 14, 23, 0) 60%),
- radial-gradient(900px 600px at 95% 110%, #181818 0%, rgba(11, 14, 23, 0) 55%),
- #0e0e0e;
- overflow: hidden;
- }
- a { color: var(--brand-blue-2); text-decoration: none; }
-
- /* ── 3D stage ──────────────────────────────────────────────── */
- #vision-stage { position: fixed; inset: 0; z-index: 0; }
- #vision-stage canvas { display: block; cursor: grab; outline: none; }
- #vision-stage canvas:active { cursor: grabbing; }
- #v-photo {
- position: fixed; inset: 0; z-index: 0;
- display: none; align-items: center; justify-content: center;
- padding: 8vh 6vw;
- }
- #v-photo img {
- max-width: min(46vw, 520px); max-height: 76vh;
- border-radius: 16px; border: 1px solid var(--stroke);
- box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
- object-fit: contain;
- }
-
- /* ── Drag-and-drop overlay ─────────────────────────────────── */
- .drag-drop-hint {
- position: fixed; inset: 0; z-index: 40;
- display: none; align-items: center; justify-content: center;
- pointer-events: none;
- background: rgba(10, 13, 22, 0.72);
- backdrop-filter: blur(4px);
- }
- .drag-drop-hint-inner {
- display: flex; flex-direction: column; align-items: center; gap: 14px;
- padding: 40px 56px; border-radius: 22px;
- border: 2px dashed rgba(120, 169, 255, 0.6);
- background: rgba(15, 98, 254, 0.08);
- }
- .drag-drop-hint-icon { font-size: 44px; line-height: 1; }
- .drag-drop-hint-text { font-size: 17px; font-weight: 600; color: var(--ink); }
- .drag-drop-hint-sub { font-size: 13px; color: var(--muted); }
- body.drag-active .drag-drop-hint { display: flex; }
-
- /* ── Top bar ───────────────────────────────────────────────── */
- .topbar {
- position: fixed; top: 0; left: 0; right: 0; z-index: 6;
- display: flex; align-items: center; justify-content: space-between;
- padding: 16px 22px; pointer-events: none;
- }
- .topbar > * { pointer-events: auto; }
- .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
- .brand .dot {
- width: 9px; height: 9px; border-radius: 50%;
- background: var(--brand-blue); box-shadow: 0 0 12px var(--brand-blue);
- animation: glow-pulse 2.6s ease-in-out infinite;
- }
- @keyframes glow-pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
- .brand small { color: var(--muted); font-weight: 400; }
- .topbar .back {
- font-size: 13px; color: var(--muted); border: 1px solid var(--stroke);
- padding: 7px 12px; border-radius: 8px; background: var(--panel);
- backdrop-filter: blur(8px); transition: border-color 0.15s, color 0.15s;
- }
- .topbar .back:hover { color: var(--ink); border-color: var(--brand-blue-2); }
- .topbar .back:focus-visible { outline: 2px solid var(--brand-blue-2); outline-offset: 2px; }
-
- /* ── Read-out panel (right) ─────────────────────────────────── */
- .read {
- position: fixed; top: 70px; right: 22px; bottom: 104px; z-index: 5;
- width: min(380px, calc(100vw - 44px));
- display: flex; flex-direction: column;
- background: var(--panel); border: 1px solid var(--stroke); border-radius: 16px;
- backdrop-filter: blur(16px); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
- overflow: hidden;
- }
- .read-head {
- display: flex; align-items: center; justify-content: space-between;
- padding: 15px 18px; border-bottom: 1px solid var(--line);
- flex-shrink: 0;
- }
- .read-head .rh-title { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }
- .read-head .mark {
- width: 24px; height: 24px; border-radius: 6px; flex: none;
- background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-2));
- display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff;
- }
- .read-head .rh-model { font-size: 11px; color: var(--faint); }
- .read-body {
- padding: 18px; overflow-y: auto; scrollbar-width: thin; flex: 1;
- /* Prevent rubber-band scroll from bleeding into the stage. */
- overscroll-behavior: contain;
- }
-
- /* ── State visibility + enter animation ─────────────────────── */
- .v-state { display: none; }
- .v-state.on {
- display: block;
- animation: v-fadein 0.2s ease both;
- }
- @keyframes v-fadein {
- from { opacity: 0; transform: translateY(5px); }
- to { opacity: 1; transform: translateY(0); }
- }
- @media (prefers-reduced-motion: reduce) {
- .v-state.on { animation: none; }
- }
-
- /* ── Idle state ──────────────────────────────────────────────── */
- .idle-glyph {
- font-size: 30px; margin-bottom: 12px; color: var(--brand-blue-light);
- text-shadow: 0 0 22px rgba(120,169,255,0.5);
- }
- .idle-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
- .idle-sub { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
- .idle-sub kbd {
- display: inline-flex; align-items: center; gap: 3px; font-size: 11px;
- background: rgba(255,255,255,0.08); border: 1px solid var(--line);
- border-radius: 5px; padding: 1px 6px; font-family: var(--font);
- color: var(--muted); vertical-align: middle;
- }
-
- /* ── Loading state ───────────────────────────────────────────── */
- .skel {
- background: linear-gradient(100deg, rgba(255,255,255,0.04) 30%, rgba(120,169,255,0.10) 50%, rgba(255,255,255,0.04) 70%);
- background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 7px;
- }
- .skel.l { height: 13px; margin-bottom: 9px; }
- .skel.l.s { width: 55%; }
- .skel.l.m { width: 80%; }
- .skel.big { height: 26px; width: 60%; margin-bottom: 14px; }
- @keyframes shimmer { to { background-position: -200% 0; } }
- .looking {
- font-size: 13px; color: var(--brand-blue-light); margin-top: 14px;
- display: flex; align-items: center; gap: 8px;
- }
- .looking .ring {
- width: 13px; height: 13px; border-radius: 50%; flex: none;
- border: 2px solid rgba(120,169,255,0.3); border-top-color: var(--brand-blue-light);
- animation: spin 0.9s linear infinite;
- }
- @keyframes spin { to { transform: rotate(360deg); } }
-
- /* ── Result state ────────────────────────────────────────────── */
- .v-name { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
- .v-bio {
- font-size: 14px; color: var(--brand-blue-light); font-style: italic;
- margin-top: 6px; line-height: 1.45;
- }
- .v-usage-badge {
- display: inline-block; margin-top: 8px; font-size: 10.5px;
- color: var(--faint); background: rgba(255,255,255,0.04);
- border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px;
- font-variant-numeric: tabular-nums;
- }
- .v-field { margin-top: 18px; }
- .v-field-label {
- font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
- color: var(--faint); margin-bottom: 7px;
- }
- .v-field p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #d7dceb; }
- .v-chips { display: flex; flex-wrap: wrap; gap: 6px; }
- .v-chip {
- font-size: 12px; color: var(--ink);
- background: rgba(120,169,255,0.12); border: 1px solid var(--stroke);
- border-radius: 7px; padding: 4px 10px;
- transition: background 0.15s;
- }
- .v-voice { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #d7dceb; }
- .v-voice svg { width: 15px; height: 15px; color: var(--brand-blue-light); flex: none; }
- .v-raw { font-size: 13.5px; line-height: 1.6; color: #d7dceb; white-space: pre-wrap; }
- .v-actions { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
-
- /* ── Error state ─────────────────────────────────────────────── */
- .err-glyph { font-size: 28px; color: var(--brand-blue-light); margin-bottom: 10px; }
- .err-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
- .err-sub { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
-
- /* ── Dock (bottom) ───────────────────────────────────────────── */
- .dock {
- position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 6;
- display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
- width: min(880px, calc(100vw - 36px));
- background: var(--panel); border: 1px solid var(--stroke); border-radius: 16px;
- padding: 11px 13px; backdrop-filter: blur(16px); box-shadow: 0 24px 70px rgba(0,0,0,0.45);
- }
- .subjects { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; flex: 1; min-width: 0; padding: 2px; }
- .subject {
- flex: none; width: 50px; height: 50px; border-radius: 11px; cursor: pointer;
- border: 2px solid transparent; background: #151515 center/cover no-repeat;
- display: grid; place-items: center; color: var(--faint); font-size: 18px; font-weight: 700;
- transition: border-color 0.15s, transform 0.12s, box-shadow 0.15s;
- position: relative; overflow: hidden;
- }
- .subject:hover { transform: translateY(-2px); }
- .subject:focus-visible { outline: 2px solid var(--brand-blue-2); outline-offset: 2px; }
- .subject.sel {
- border-color: var(--brand-blue-2);
- box-shadow: 0 0 0 3px rgba(15,98,254,0.2), 0 0 18px rgba(120,169,255,0.3);
- }
- .subject .cap {
- position: absolute; bottom: 0; left: 0; right: 0;
- font-size: 8.5px; background: rgba(0,0,0,0.6); color: #cdd5e6;
- padding: 1px 3px; text-align: center; white-space: nowrap;
- overflow: hidden; text-overflow: ellipsis;
- }
- .dock-sep { width: 1px; height: 34px; background: var(--line); flex: none; }
-
- /* ── Buttons ─────────────────────────────────────────────────── */
- .btn {
- font: inherit; font-size: 13px; font-weight: 600; border-radius: 10px;
- padding: 10px 16px; cursor: pointer; border: 0;
- display: inline-flex; align-items: center; gap: 7px;
- transition: filter 0.15s, background 0.15s, transform 0.1s; white-space: nowrap;
- }
- .btn:focus-visible { outline: 2px solid var(--brand-blue-2); outline-offset: 2px; }
- .btn-primary { background: var(--brand-blue); color: #fff; }
- .btn-primary:hover { filter: brightness(1.12); }
- .btn-primary:active { transform: translateY(1px); }
- .btn-primary:disabled { opacity: 0.55; cursor: progress; }
- .btn-ghost {
- background: rgba(255,255,255,0.06); color: var(--ink);
- border: 1px solid var(--line);
- }
- .btn-ghost:hover { background: rgba(255,255,255,0.11); }
- .btn-sm { font-size: 12px; padding: 8px 13px; }
- .btn svg { width: 15px; height: 15px; }
-
- /* ── Misc ────────────────────────────────────────────────────── */
- .attribution {
- position: fixed; left: 22px; bottom: 22px; z-index: 5;
- font-size: 11.5px; color: var(--faint);
- display: flex; align-items: center; gap: 7px; pointer-events: none;
- }
- .attribution .adot {
- width: 6px; height: 6px; border-radius: 50%;
- background: var(--brand-blue); box-shadow: 0 0 8px var(--brand-blue);
- }
- .stage-hint {
- position: fixed; left: 50%; top: 64px; transform: translateX(-50%); z-index: 4;
- font-size: 12px; color: var(--faint); pointer-events: none; transition: opacity 0.4s;
- white-space: nowrap;
- }
-
- /* ── Responsive ──────────────────────────────────────────────── */
- @media (max-width: 820px) {
- .read { top: auto; bottom: 86px; right: 12px; left: 12px; width: auto; max-height: 46vh; }
- #v-photo img { max-width: 80vw; max-height: 40vh; }
- .attribution { display: none; }
- .dock { bottom: 12px; }
- .stage-hint { top: 56px; font-size: 11px; }
- }
- </style>
-
- <meta property="og:site_name" content="three.ws">
- <meta name="twitter:description" content="IBM Granite Vision reads your 3D avatar — multimodal image understanding on watsonx.ai, demonstrated live.">
- <meta name="twitter:image" content="https://three.ws/ibm-og.png">
- <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"Granite Vision — Image Understanding","description":"IBM Granite Vision reads your 3D avatar — multimodal image understanding on watsonx.ai, demonstrated live.","url":"https://three.ws/ibm/vision","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>
-</head>
- <body>
- <noscript>
- <div style="position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;background:#080808;color:#e7ecf5;font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;text-align:center">
- <div style="max-width:480px">
- <div style="width:12px;height:12px;border-radius:50%;background:#0f62fe;margin:0 auto 20px;box-shadow:0 0 24px #0f62fe" aria-hidden="true"></div>
- <h1 style="font-size:26px;font-weight:600;letter-spacing:-0.02em;margin:0 0 10px;color:#fff">Granite Vision</h1>
- <p style="font-size:15px;line-height:1.6;color:#9fb0c8;margin:0 0 22px">IBM Granite Vision reads a 3D avatar into a full agent identity. This interactive 3D experience needs JavaScript enabled.</p>
- <div style="display:flex;gap:10px;justify-content:center;flex-wrap:wrap">
- <a href="/docs/ibm" style="display:inline-block;padding:10px 18px;border-radius:10px;background:#0f62fe;color:#fff;text-decoration:none;font-size:14px;font-weight:500">Read the docs</a>
- <a href="/ibm" style="display:inline-block;padding:10px 18px;border-radius:10px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.14);color:#e7ecf5;text-decoration:none;font-size:14px">Back to the showcase</a>
- </div>
- </div>
- </div>
- </noscript>
- <!-- Drag-and-drop overlay (shown by body.drag-active) -->
- <div class="drag-drop-hint" aria-hidden="true">
- <div class="drag-drop-hint-inner">
- <div class="drag-drop-hint-icon">◉</div>
- <div class="drag-drop-hint-text">Drop image to read</div>
- <div class="drag-drop-hint-sub">Granite Vision will read it instantly</div>
- </div>
- </div>
-
- <div id="vision-stage" aria-hidden="true"></div>
- <div id="v-photo"><img id="v-photo-img" alt="Image being read by Granite Vision" /></div>
-
- <header class="topbar">
- <div class="brand">
- <span class="dot"></span>
- <span>Granite Vision</span>
- <small>three.ws&nbsp;×&nbsp;IBM watsonx</small>
- </div>
- <a class="back" href="/ibm" title="Built on IBM watsonx">← IBM watsonx demos</a>
- </header>
-
- <div class="stage-hint" id="v-stage-hint">Drag to orbit · the avatar Granite is about to read</div>
-
- <aside class="read" aria-live="polite" aria-label="Granite's identity read">
- <div class="read-head">
- <div class="rh-title"><span class="mark">◉</span> Granite sees</div>
- <div class="rh-model" id="v-model">granite-vision-3-2</div>
- </div>
- <div class="read-body">
-
- <!-- Idle: explain the feature + hint at keyboard/drag shortcuts -->
- <div class="v-state on" id="v-idle">
- <div class="idle-glyph">◉</div>
- <div class="idle-title">Show Granite an avatar</div>
- <div class="idle-sub">
- IBM Granite Vision on watsonx.ai will look at the 3D avatar and invent its whole
- identity — how it looks, its vibe, a personality, a name, a bio, even a fitting
- voice. Pick a face below (or upload / drag an image), then press
- <strong>Show Granite</strong> or hit <kbd>Enter</kbd>.
- </div>
- </div>
-
- <!-- Loading: skeleton + live step progress -->
- <div class="v-state" id="v-loading" aria-label="Granite is reading the image">
- <div class="skel big"></div>
- <div class="skel l m"></div>
- <div class="skel l"></div>
- <div class="skel l s"></div>
- <div class="looking">
- <span class="ring"></span>
- <span id="v-loading-step">Capturing frame…</span>
- </div>
- </div>
-
- <!-- Result (structured) -->
- <div class="v-state" id="v-result">
- <div class="v-name" id="v-name"></div>
- <div class="v-bio" id="v-bio"></div>
- <span class="v-usage-badge" id="v-usage-badge" hidden></span>
- <div class="v-field" id="v-appearance-wrap">
- <div class="v-field-label">Appearance</div>
- <p id="v-appearance"></p>
- </div>
- <div class="v-field" id="v-persona-wrap">
- <div class="v-field-label">Persona</div>
- <p id="v-persona"></p>
- </div>
- <div class="v-field" id="v-vibe-wrap">
- <div class="v-field-label">Vibe</div>
- <div class="v-chips" id="v-vibe"></div>
- </div>
- <div class="v-field" id="v-tags-wrap">
- <div class="v-field-label">Tone tags</div>
- <div class="v-chips" id="v-tags"></div>
- </div>
- <div class="v-field" id="v-voice-wrap">
- <div class="v-field-label">Voice</div>
- <div class="v-voice">
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round">
- <path d="M12 2a3 3 0 0 1 3 3v6a3 3 0 0 1-6 0V5a3 3 0 0 1 3-3z"/>
- <path d="M19 10v1a7 7 0 0 1-14 0v-1M12 19v3"/>
- </svg>
- <span id="v-voice"></span>
- </div>
- </div>
- <div class="v-actions">
- <button class="btn btn-ghost btn-sm" id="v-read-again" type="button">Read again</button>
- <button class="btn btn-ghost btn-sm" id="v-copy" type="button">Copy identity</button>
- <a class="btn btn-primary btn-sm" id="v-create" href="/create">Create agent →</a>
- </div>
- </div>
-
- <!-- Result (raw prose fallback) -->
- <div class="v-state" id="v-rawstate">
- <div class="v-field-label">Granite's read</div>
- <div class="v-raw" id="v-raw"></div>
- <div class="v-actions">
- <button class="btn btn-ghost btn-sm" id="v-read-again-raw" type="button">Read again</button>
- </div>
- </div>
-
- <!-- Error -->
- <div class="v-state" id="v-error">
- <div class="err-glyph">◉</div>
- <div class="err-title" id="v-error-title">Granite couldn't look</div>
- <div class="err-sub" id="v-error-sub"></div>
- <div class="v-actions">
- <button class="btn btn-ghost btn-sm" id="v-error-retry" type="button">Try again</button>
- </div>
- </div>
-
- </div>
- </aside>
-
- <div class="dock">
- <div class="subjects" id="v-subjects" aria-label="Pick an avatar to show Granite" role="group"></div>
- <div class="dock-sep" aria-hidden="true"></div>
- <button class="btn btn-ghost btn-sm" id="v-upload" type="button" title="Upload an image file">Upload</button>
- <input type="file" id="v-file" accept="image/*" hidden aria-hidden="true" />
- <button class="btn btn-primary" id="v-show" type="button" aria-label="Show the current avatar to IBM Granite Vision">
- Show Granite
- </button>
- </div>
-
- <div class="attribution">
- <span class="adot"></span>
- IBM Granite Vision 3.2 · watsonx.ai · real multimodal inference
- </div>
-
- <p style="position:fixed;left:0;right:0;bottom:0;z-index:3;text-align:center;padding:6px 16px;color:#7a85a8;font-size:12px;line-height:1.6;max-width:680px;margin:0 auto;pointer-events:none">
- These are community demos for developers to explore IBM Granite on watsonx.ai and build their own tools — not official IBM partnership deliverables, not IBM products, and not endorsed by IBM. three.ws's formal partnership work with IBM is being built on the IBM platform and is not yet public.
- </p>
-
- <script type="module" src="/src/ibm-vision.js"></script>
- <script type="module" src="/src/ibm-suite-nav.js"></script>
- </body>
-</html>