web-agent-bridge 3.2.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/LICENSE +84 -72
  2. package/README.ar.md +1304 -1152
  3. package/README.md +298 -1635
  4. package/bin/agent-runner.js +474 -474
  5. package/bin/cli.js +237 -138
  6. package/bin/wab-init.js +223 -0
  7. package/bin/wab.js +80 -80
  8. package/examples/azure-dns-wab.js +83 -0
  9. package/examples/bidi-agent.js +119 -119
  10. package/examples/cloudflare-wab-dns.js +121 -0
  11. package/examples/cpanel-wab-dns.js +114 -0
  12. package/examples/cross-site-agent.js +91 -91
  13. package/examples/dns-discovery-agent.js +166 -0
  14. package/examples/gcp-dns-wab.js +76 -0
  15. package/examples/governance-agent.js +169 -0
  16. package/examples/mcp-agent.js +94 -94
  17. package/examples/next-app-router/README.md +44 -44
  18. package/examples/plesk-wab-dns.js +103 -0
  19. package/examples/puppeteer-agent.js +108 -108
  20. package/examples/route53-wab-dns.js +144 -0
  21. package/examples/saas-dashboard/README.md +55 -55
  22. package/examples/safe-mode-agent.js +96 -0
  23. package/examples/shopify-hydrogen/README.md +74 -74
  24. package/examples/vision-agent.js +171 -171
  25. package/examples/wab-sign.js +74 -0
  26. package/examples/wab-verify.js +60 -0
  27. package/examples/wordpress-elementor/README.md +77 -77
  28. package/package.json +19 -6
  29. package/public/.well-known/agent-tools.json +180 -180
  30. package/public/.well-known/ai-assets.json +59 -59
  31. package/public/.well-known/security.txt +8 -0
  32. package/public/.well-known/wab.json +28 -0
  33. package/public/activate.html +368 -0
  34. package/public/adoption-metrics.html +188 -0
  35. package/public/agent-workspace.html +349 -349
  36. package/public/ai.html +198 -198
  37. package/public/api.html +413 -412
  38. package/public/azure-dns-integration.html +289 -0
  39. package/public/browser.html +486 -486
  40. package/public/cloudflare-integration.html +380 -0
  41. package/public/commander-dashboard.html +243 -243
  42. package/public/cookies.html +210 -210
  43. package/public/cpanel-integration.html +398 -0
  44. package/public/css/agent-workspace.css +1713 -1713
  45. package/public/css/premium.css +317 -317
  46. package/public/css/styles.css +1263 -1235
  47. package/public/dashboard.html +707 -706
  48. package/public/dns.html +436 -0
  49. package/public/docs.html +588 -587
  50. package/public/feed.xml +89 -89
  51. package/public/gcp-dns-integration.html +318 -0
  52. package/public/growth.html +465 -463
  53. package/public/index.html +1266 -982
  54. package/public/integrations.html +556 -0
  55. package/public/js/activate.js +145 -0
  56. package/public/js/agent-workspace.js +1740 -1740
  57. package/public/js/auth-nav.js +65 -31
  58. package/public/js/auth-redirect.js +12 -12
  59. package/public/js/cookie-consent.js +56 -56
  60. package/public/js/dns.js +438 -0
  61. package/public/js/wab-demo-page.js +721 -721
  62. package/public/js/ws-client.js +74 -74
  63. package/public/llms-full.txt +360 -360
  64. package/public/llms.txt +125 -125
  65. package/public/login.html +85 -85
  66. package/public/mesh-dashboard.html +328 -328
  67. package/public/openapi.json +669 -580
  68. package/public/phone-shield.html +281 -0
  69. package/public/plesk-integration.html +375 -0
  70. package/public/premium-dashboard.html +2489 -2489
  71. package/public/premium.html +793 -793
  72. package/public/privacy.html +297 -297
  73. package/public/provider-onboarding.html +172 -0
  74. package/public/provider-sandbox.html +134 -0
  75. package/public/providers.html +359 -0
  76. package/public/register.html +105 -105
  77. package/public/registrar-integrations.html +141 -0
  78. package/public/robots.txt +99 -87
  79. package/public/route53-integration.html +531 -0
  80. package/public/script/wab-consent.d.ts +36 -36
  81. package/public/script/wab-consent.js +104 -104
  82. package/public/script/wab-schema.js +131 -131
  83. package/public/script/wab.d.ts +108 -108
  84. package/public/script/wab.min.js +580 -580
  85. package/public/security.txt +8 -0
  86. package/public/shieldqr.html +231 -0
  87. package/public/sitemap.xml +6 -0
  88. package/public/terms.html +256 -256
  89. package/public/wab-trust.html +200 -0
  90. package/public/wab-vs-protocols.html +210 -0
  91. package/public/whitepaper.html +449 -0
  92. package/script/ai-agent-bridge.js +1754 -1754
  93. package/sdk/README.md +99 -99
  94. package/sdk/agent-mesh.js +449 -449
  95. package/sdk/auto-discovery.js +288 -0
  96. package/sdk/commander.js +262 -262
  97. package/sdk/governance.js +262 -0
  98. package/sdk/index.d.ts +464 -464
  99. package/sdk/index.js +25 -1
  100. package/sdk/multi-agent.js +318 -318
  101. package/sdk/package.json +2 -2
  102. package/sdk/safe-mode.js +221 -0
  103. package/sdk/safety-shield.js +219 -0
  104. package/sdk/schema-discovery.js +83 -83
  105. package/server/adapters/index.js +520 -520
  106. package/server/config/plans.js +367 -367
  107. package/server/config/secrets.js +102 -102
  108. package/server/control-plane/index.js +301 -301
  109. package/server/data-plane/index.js +354 -354
  110. package/server/index.js +670 -427
  111. package/server/llm/index.js +404 -404
  112. package/server/middleware/adminAuth.js +35 -35
  113. package/server/middleware/auth.js +50 -50
  114. package/server/middleware/featureGate.js +88 -88
  115. package/server/middleware/rateLimits.js +100 -100
  116. package/server/middleware/sensitiveAction.js +157 -0
  117. package/server/migrations/001_add_analytics_indexes.sql +7 -7
  118. package/server/migrations/002_premium_features.sql +418 -418
  119. package/server/migrations/003_ads_integer_cents.sql +33 -33
  120. package/server/migrations/004_agent_os.sql +158 -158
  121. package/server/migrations/005_marketplace_metering.sql +126 -126
  122. package/server/migrations/007_governance.sql +106 -0
  123. package/server/migrations/008_plans.sql +144 -0
  124. package/server/migrations/009_shieldqr.sql +30 -0
  125. package/server/migrations/010_extended_trust.sql +33 -0
  126. package/server/models/adapters/index.js +33 -33
  127. package/server/models/adapters/mysql.js +183 -183
  128. package/server/models/adapters/postgresql.js +172 -172
  129. package/server/models/adapters/sqlite.js +7 -7
  130. package/server/models/db.js +740 -681
  131. package/server/observability/failure-analysis.js +337 -337
  132. package/server/observability/index.js +394 -394
  133. package/server/protocol/capabilities.js +223 -223
  134. package/server/protocol/index.js +243 -243
  135. package/server/protocol/schema.js +584 -584
  136. package/server/registry/certification.js +271 -271
  137. package/server/registry/index.js +326 -326
  138. package/server/routes/admin-plans.js +76 -0
  139. package/server/routes/admin-premium.js +673 -671
  140. package/server/routes/admin-shieldqr.js +90 -0
  141. package/server/routes/admin-trust-monitor.js +83 -0
  142. package/server/routes/admin.js +549 -261
  143. package/server/routes/ads.js +130 -130
  144. package/server/routes/agent-workspace.js +540 -540
  145. package/server/routes/api.js +150 -150
  146. package/server/routes/auth.js +71 -71
  147. package/server/routes/billing.js +57 -45
  148. package/server/routes/commander.js +316 -316
  149. package/server/routes/demo-showcase.js +332 -332
  150. package/server/routes/demo-store.js +154 -0
  151. package/server/routes/discovery.js +2348 -417
  152. package/server/routes/gateway.js +173 -157
  153. package/server/routes/governance.js +208 -0
  154. package/server/routes/license.js +251 -240
  155. package/server/routes/mesh.js +469 -469
  156. package/server/routes/noscript.js +543 -543
  157. package/server/routes/plans.js +33 -0
  158. package/server/routes/premium-v2.js +686 -686
  159. package/server/routes/premium.js +724 -724
  160. package/server/routes/providers.js +650 -0
  161. package/server/routes/runtime.js +2148 -2147
  162. package/server/routes/shieldqr.js +88 -0
  163. package/server/routes/sovereign.js +465 -385
  164. package/server/routes/universal.js +200 -185
  165. package/server/routes/wab-api.js +850 -501
  166. package/server/runtime/container-worker.js +111 -111
  167. package/server/runtime/container.js +448 -448
  168. package/server/runtime/distributed-worker.js +362 -362
  169. package/server/runtime/event-bus.js +210 -210
  170. package/server/runtime/index.js +253 -253
  171. package/server/runtime/queue.js +599 -599
  172. package/server/runtime/replay.js +666 -666
  173. package/server/runtime/sandbox.js +266 -266
  174. package/server/runtime/scheduler.js +534 -534
  175. package/server/runtime/session-engine.js +293 -293
  176. package/server/runtime/state-manager.js +188 -188
  177. package/server/security/cross-site-redactor.js +196 -0
  178. package/server/security/dry-run.js +180 -0
  179. package/server/security/human-gate-rate-limit.js +147 -0
  180. package/server/security/human-gate-transports.js +178 -0
  181. package/server/security/human-gate.js +281 -0
  182. package/server/security/index.js +368 -368
  183. package/server/security/intent-engine.js +245 -0
  184. package/server/security/reward-guard.js +171 -0
  185. package/server/security/rollback-store.js +239 -0
  186. package/server/security/token-scope.js +404 -0
  187. package/server/security/url-policy.js +139 -0
  188. package/server/services/agent-chat.js +506 -506
  189. package/server/services/agent-learning.js +601 -575
  190. package/server/services/agent-memory.js +625 -625
  191. package/server/services/agent-mesh.js +555 -539
  192. package/server/services/agent-symphony.js +717 -717
  193. package/server/services/agent-tasks.js +1807 -1807
  194. package/server/services/api-key-engine.js +292 -261
  195. package/server/services/cluster.js +894 -894
  196. package/server/services/commander.js +738 -738
  197. package/server/services/edge-compute.js +440 -440
  198. package/server/services/email.js +233 -204
  199. package/server/services/governance.js +466 -0
  200. package/server/services/hosted-runtime.js +205 -205
  201. package/server/services/lfd.js +635 -635
  202. package/server/services/local-ai.js +389 -389
  203. package/server/services/marketplace.js +270 -270
  204. package/server/services/metering.js +182 -182
  205. package/server/services/modules/affiliate-intelligence.js +93 -93
  206. package/server/services/modules/agent-firewall.js +90 -90
  207. package/server/services/modules/bounty.js +89 -89
  208. package/server/services/modules/collective-bargaining.js +92 -92
  209. package/server/services/modules/dark-pattern.js +66 -66
  210. package/server/services/modules/gov-intelligence.js +45 -45
  211. package/server/services/modules/neural.js +55 -55
  212. package/server/services/modules/notary.js +49 -49
  213. package/server/services/modules/price-time-machine.js +86 -86
  214. package/server/services/modules/protocol.js +104 -104
  215. package/server/services/negotiation.js +439 -439
  216. package/server/services/plans.js +214 -0
  217. package/server/services/plugins.js +771 -771
  218. package/server/services/premium.js +1 -1
  219. package/server/services/price-intelligence.js +566 -566
  220. package/server/services/price-shield.js +1137 -1137
  221. package/server/services/provider-clients.js +740 -0
  222. package/server/services/reputation.js +465 -465
  223. package/server/services/search-engine.js +357 -357
  224. package/server/services/security.js +513 -513
  225. package/server/services/self-healing.js +843 -843
  226. package/server/services/shieldqr.js +322 -0
  227. package/server/services/sovereign-shield.js +542 -0
  228. package/server/services/ssl-inspector.js +42 -0
  229. package/server/services/ssl-monitor.js +167 -0
  230. package/server/services/stripe.js +205 -192
  231. package/server/services/swarm.js +788 -788
  232. package/server/services/universal-scraper.js +662 -661
  233. package/server/services/verification.js +481 -481
  234. package/server/services/vision.js +1163 -1163
  235. package/server/services/wab-crypto.js +178 -0
  236. package/server/utils/cache.js +125 -125
  237. package/server/utils/migrate.js +81 -81
  238. package/server/utils/safe-fetch.js +228 -0
  239. package/server/utils/secureFields.js +50 -50
  240. package/server/ws.js +161 -161
  241. package/templates/artisan-marketplace.yaml +104 -104
  242. package/templates/book-price-scout.yaml +98 -98
  243. package/templates/electronics-price-tracker.yaml +108 -108
  244. package/templates/flight-deal-hunter.yaml +113 -113
  245. package/templates/freelancer-direct.yaml +116 -116
  246. package/templates/grocery-price-compare.yaml +93 -93
  247. package/templates/hotel-direct-booking.yaml +113 -113
  248. package/templates/local-services.yaml +98 -98
  249. package/templates/olive-oil-tunisia.yaml +88 -88
  250. package/templates/organic-farm-fresh.yaml +101 -101
  251. package/templates/restaurant-direct.yaml +97 -97
  252. package/public/score.html +0 -263
  253. package/server/migrations/006_growth_suite.sql +0 -138
  254. package/server/routes/growth.js +0 -962
  255. package/server/services/fairness-engine.js +0 -409
  256. package/server/services/fairness.js +0 -420
package/public/index.html CHANGED
@@ -1,982 +1,1266 @@
1
- <!DOCTYPE html>
2
- <html lang="en" dir="ltr">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Web Agent Bridge — AI Agent Middleware for the Web</title>
7
- <meta name="description" content="Open-source middleware that bridges AI agents and websites. Standardized commands, permissions, and analytics for intelligent automation.">
8
- <link rel="preconnect" href="https://fonts.googleapis.com">
9
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
- <style>body{background:#0a0e1a;color:#f0f4ff;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin:0;min-height:100vh}</style>
11
- <link rel="preload" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'">
12
- <noscript><link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet"></noscript>
13
- <link rel="stylesheet" href="/css/styles.css?v=3.0.1">
14
- </head>
15
- <body>
16
-
17
- <!-- ═══════════ NAVBAR ═══════════ -->
18
- <nav class="navbar" id="navbar">
19
- <div class="container">
20
- <a href="/" class="navbar-brand">
21
- <div class="brand-icon">⚡</div>
22
- <span>WAB</span>
23
- </a>
24
- <ul class="navbar-links">
25
- <li><a href="#features">Features</a></li>
26
- <li><a href="#packages">Packages</a></li>
27
- <li><a href="#integrations">Integrations</a></li>
28
- <li><a href="#how-it-works">How It Works</a></li>
29
- <li><a href="#pricing">Pricing</a></li>
30
- <li><a href="#v2-features">v2.0</a></li>
31
- <li><a href="#agent-mesh">Agent Mesh</a></li>
32
- <li><a href="#agent-workspace">Workspace</a></li>
33
- <li><a href="/demo">Demo</a></li>
34
- <li><a href="/growth">Growth Suite</a></li>
35
- <li><a href="/api">API</a></li>
36
- <li><a href="/docs">Docs</a></li>
37
- </ul>
38
- <div class="navbar-actions">
39
- <a href="/login" class="btn btn-ghost" data-wab-auth="guest">Sign In</a>
40
- <a href="/dashboard" class="btn btn-ghost" data-wab-auth="signed-in" style="display:none">Dashboard</a>
41
- <a href="/register" class="btn btn-primary btn-sm" data-wab-auth="guest">Get Started</a>
42
- </div>
43
- <button class="mobile-menu-btn" onclick="document.querySelector('.navbar-links').classList.toggle('active')">☰</button>
44
- </div>
45
- </nav>
46
-
47
- <!-- ═══════════ HERO ═══════════ -->
48
- <section class="hero">
49
- <div class="container">
50
- <div class="hero-content fade-in">
51
- <div class="hero-badge">
52
- 🚀 Open Source &middot; React &middot; Vue &middot; Svelte &middot; LangChain
53
- </div>
54
- <h1>
55
- Bridge the Gap Between<br>
56
- <span class="gradient-text">AI Agents</span> &amp; <span class="gradient-text-accent">Websites</span>
57
- </h1>
58
- <p>
59
- An open-source middleware script that gives AI agents a standardized command interface
60
- to interact with any website with permissions, rate limiting, and full control for site owners.
61
- </p>
62
- <div class="hero-actions">
63
- <a href="/register" class="btn btn-primary btn-lg">Start Free</a>
64
- <a href="/docs" class="btn btn-secondary btn-lg">Read the Docs</a>
65
- <a href="/browser" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#0ea5e9,#10b981);color:#fff;border:none">🌐 Download WAB Browser</a>
66
- <a href="/pwa/" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#8b5cf6,#0ea5e9);color:#fff;border:none">📱 Mobile PWA</a>
67
- <a href="/workspace" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;border:none">🤖 Agent Workspace</a>
68
- <a href="/demo" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none">🧪 API Playground</a>
69
- <a href="/demo-1/" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#06b6d4,#0ea5e9);color:#fff;border:none">🎮 Interactive Demo</a>
70
- </div>
71
-
72
- <div class="hero-code fade-in fade-in-delay-2">
73
- <code>
74
- <span class="comment">// Add the bridge to your website</span><br>
75
- &lt;<span class="keyword">script</span>&gt;<br>
76
- &nbsp;&nbsp;window.<span class="property">AIBridgeConfig</span> = {<br>
77
- &nbsp;&nbsp;&nbsp;&nbsp;<span class="property">licenseKey</span>: <span class="string">"WAB-XXXXX-XXXXX"</span>,<br>
78
- &nbsp;&nbsp;&nbsp;&nbsp;<span class="property">agentPermissions</span>: { <span class="property">click</span>: <span class="boolean">true</span>, <span class="property">fillForms</span>: <span class="boolean">true</span> }<br>
79
- &nbsp;&nbsp;};<br>
80
- &lt;/<span class="keyword">script</span>&gt;<br>
81
- &lt;<span class="keyword">script</span> <span class="property">src</span>=<span class="string">"/script/ai-agent-bridge.js"</span>&gt;&lt;/<span class="keyword">script</span>&gt;
82
- </code>
83
- </div>
84
- </div>
85
- </div>
86
- </section>
87
-
88
- <!-- ═══════════ FEATURES ═══════════ -->
89
- <section class="section" id="features">
90
- <div class="container">
91
- <div class="section-header">
92
- <span class="label">Features</span>
93
- <h2>Everything AI Agents Need</h2>
94
- <p>A complete interface layer that makes websites AI-ready with security and control built in.</p>
95
- </div>
96
-
97
- <div class="grid-3">
98
- <div class="card fade-in">
99
- <div class="card-icon blue">🎯</div>
100
- <h3>Auto-Discovery</h3>
101
- <p>Automatically detects buttons, forms, and navigation elements — generating precise CSS selectors and action descriptions for AI agents.</p>
102
- </div>
103
- <div class="card fade-in fade-in-delay-1">
104
- <div class="card-icon purple">🔐</div>
105
- <h3>Permission System</h3>
106
- <p>Granular control over what AI agents can do. Enable clicking, form filling, API access, and more — each toggled independently.</p>
107
- </div>
108
- <div class="card fade-in fade-in-delay-2">
109
- <div class="card-icon cyan">⚡</div>
110
- <h3>Standardized Commands</h3>
111
- <p>Unified <code>window.AICommands</code> interface that any AI agent can read and execute no more DOM guessing.</p>
112
- </div>
113
- <div class="card fade-in fade-in-delay-1">
114
- <div class="card-icon green">🛡️</div>
115
- <h3>Rate Limiting</h3>
116
- <p>Built-in rate limiting prevents abuse. Configure max calls per minute to protect your site from aggressive automation.</p>
117
- </div>
118
- <div class="card fade-in fade-in-delay-2">
119
- <div class="card-icon orange">📊</div>
120
- <h3>Analytics Dashboard</h3>
121
- <p>Track how AI agents interact with your site. See which actions are used most, success rates, and usage patterns.</p>
122
- </div>
123
- <div class="card fade-in fade-in-delay-3">
124
- <div class="card-icon pink">🔌</div>
125
- <h3>Custom Actions</h3>
126
- <p>Register your own actions with custom handlers. Create complex workflows that AI agents can trigger with a single command.</p>
127
- </div>
128
- <div class="card fade-in">
129
- <div class="card-icon cyan">🛒</div>
130
- <h3>Commerce &amp; Booking Intents</h3>
131
- <p>Automatically detects add-to-cart, checkout, booking, and reservation flows mapping them to named actions agents can call directly.</p>
132
- </div>
133
- <div class="card fade-in fade-in-delay-1">
134
- <div class="card-icon blue">📦</div>
135
- <h3>Structured Data Scanning</h3>
136
- <p>Reads schema.org JSON-LD and microdata (Products, Offers, Prices) and exposes them as queryable actions zero manual setup.</p>
137
- </div>
138
- <div class="card fade-in fade-in-delay-2">
139
- <div class="card-icon green">🩹</div>
140
- <h3>Self-Healing Selectors</h3>
141
- <p>7-strategy resilient element resolution. When the DOM changes, selectors auto-heal via ARIA, text similarity, and position heuristics.</p>
142
- </div>
143
- <div class="card fade-in">
144
- <div class="card-icon purple">🔏</div>
145
- <h3>GDPR / CCPA Consent</h3>
146
- <p>Optional consent banner gates agent actions behind user approval. SDK agents can check <code>hasConsent()</code> or <code>waitForConsent()</code> programmatically.</p>
147
- </div>
148
- <div class="card fade-in fade-in-delay-1">
149
- <div class="card-icon orange">🤖</div>
150
- <h3>Agent SDK</h3>
151
- <p>Built-in SDK for Puppeteer and Playwright: <code>runPipeline()</code>, <code>executeParallel()</code>, <code>screenshot()</code>, and consent-aware workflows.</p>
152
- </div>
153
- <div class="card fade-in fade-in-delay-2">
154
- <div class="card-icon pink">🌐</div>
155
- <h3>WebDriver BiDi</h3>
156
- <p>Standard WebDriver BiDi protocol support via <code>window.__wab_bidi</code> compatible with any automation framework that speaks the standard.</p>
157
- </div>
158
- </div>
159
- </div>
160
- </section>
161
-
162
- <!-- ═══════════ V2 FEATURES ═══════════ -->
163
- <section class="section" id="v2-features" style="background: var(--bg-secondary);">
164
- <div class="container">
165
- <div class="section-header">
166
- <span class="label">v2.0Digital Fortress</span>
167
- <h2>Internet Sovereignty Features</h2>
168
- <p>WAB v2.0 goes beyond bridging — it protects users with negotiation, verification, and decentralized trust.</p>
169
- </div>
170
-
171
- <div class="grid-3">
172
- <div class="card fade-in" style="border-left: 3px solid #f59e0b;">
173
- <div class="card-icon orange">💰</div>
174
- <h3>Real-time Negotiation Engine</h3>
175
- <p>AI agents negotiate prices directly with WAB-enabled sites. Site owners define negotiation rules (bulk discounts, loyalty rewards, time-based offers). Agents submit counter-offers in multi-round sessions — no middleman, no hidden fees.</p>
176
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
177
- <li>8 condition types (bulk, loyalty, time, first-buy...)</li>
178
- <li>4 discount types (percentage, fixed, free shipping, bundle)</li>
179
- <li>Multi-round negotiation with counter-offers</li>
180
- <li>Savings tracking per agent</li>
181
- </ul>
182
- </div>
183
- <div class="card fade-in fade-in-delay-1" style="border-left: 3px solid #ef4444;">
184
- <div class="card-icon pink">🛡️</div>
185
- <h3>Anti-Hallucination Shield</h3>
186
- <p>Cross-verification engine that catches AI lies before they reach users. Compares DOM values against vision screenshots, validates prices against market benchmarks, and checks temporal consistency across sessions.</p>
187
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
188
- <li>DOM vs Vision verification</li>
189
- <li>Market benchmark price validation</li>
190
- <li>Temporal consistency checks</li>
191
- <li>Text similarity scoring (Levenshtein)</li>
192
- </ul>
193
- </div>
194
- <div class="card fade-in fade-in-delay-2" style="border-left: 3px solid #10b981;">
195
- <div class="card-icon green">⭐</div>
196
- <h3>Decentralized Reputation</h3>
197
- <p>Agents and sites build trust through cryptographic attestations. Every interaction gets scored — purchase success, data accuracy, delivery fulfillment. Scores are aggregated into transparent reputation profiles visible to all agents.</p>
198
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
199
- <li>Trust attestations from agent network</li>
200
- <li>Weighted scoring by interaction type</li>
201
- <li>Trust levels: emerging verified exemplary</li>
202
- <li>Global leaderboard</li>
203
- </ul>
204
- </div>
205
- <div class="card fade-in" style="border-left: 3px solid #3b82f6;">
206
- <div class="card-icon blue">🏰</div>
207
- <h3>Sovereign Dashboard</h3>
208
- <p>A real-time command center showing your digital fortress status — protected sites, fairness radar, privacy shield, negotiation logs, and verification checks all in one beautiful dark-mode dashboard.</p>
209
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
210
- <li>Live fairness radar with safety scoring</li>
211
- <li>Privacy shield metrics</li>
212
- <li>AI model switcher (Llama, GPT-4, Claude...)</li>
213
- <li>Protected sites table with trust levels</li>
214
- </ul>
215
- </div>
216
- <div class="card fade-in fade-in-delay-1" style="border-left: 3px solid #8b5cf6;">
217
- <div class="card-icon purple">📦</div>
218
- <h3>Community Agent Hub</h3>
219
- <p>Pre-built YAML agent templates for common use cases — hotel booking, grocery comparison, artisan marketplace, flight deals. Run any template with a single CLI command: <code>npx wab-agent run template.yaml</code>.</p>
220
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
221
- <li>11 production-ready templates</li>
222
- <li>CLI runner with variable substitution</li>
223
- <li>Fairness rules built into every template</li>
224
- <li>Supports negotiation + verification</li>
225
- </ul>
226
- </div>
227
- <div class="card fade-in fade-in-delay-2" style="border-left: 3px solid #0ea5e9;">
228
- <div class="card-icon cyan">🌐</div>
229
- <h3>Cross-Site Agent Orchestration</h3>
230
- <p>One agent manages multiple WAB-enabled sites simultaneously. Compare prices across stores, aggregate product data, run parallel actions — all from a single <code>WABMultiAgent</code> instance in the SDK.</p>
231
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
232
- <li>Parallel multi-site browser sessions</li>
233
- <li>comparePrices() with cheapest-deal finder</li>
234
- <li>Schema.org + WAB action price extraction</li>
235
- <li>Cross-site screenshots for vision verification</li>
236
- </ul>
237
- </div>
238
- <div class="card fade-in" style="border-left: 3px solid #06b6d4;">
239
- <div class="card-icon cyan">🔄</div>
240
- <h3>AI Brain Swapping</h3>
241
- <p>WAB is the bridge — the AI model is your choice. Switch between Llama 3, GPT-4, Claude, Gemini, Mistral, or run fully local with Ollama. Your data, your model, your sovereignty.</p>
242
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
243
- <li>6 supported AI engines</li>
244
- <li>Local-first with Ollama support</li>
245
- <li>Hot-swap without reconfiguration</li>
246
- <li>Your data never leaves your machine</li>
247
- </ul>
248
- </div>
249
- </div>
250
-
251
- <div style="text-align:center; margin-top:32px;">
252
- <a href="/sovereign" class="btn btn-primary btn-lg">Open Sovereign Dashboard</a>
253
- </div>
254
- </div>
255
- </section>
256
-
257
- <!-- ═══════════ PRIVATE AGENT MESH ═══════════ -->
258
- <section class="section" id="agent-mesh">
259
- <div class="container">
260
- <div class="section-header">
261
- <span class="label" style="background: rgba(139,92,246,0.15); color: #8b5cf6;">v2.3 — Distributed Mind</span>
262
- <h2>Private Agent Mesh</h2>
263
- <p>Agents communicate, learn, and orchestrate autonomously — zero external LLM dependency. Your private fortress now has a distributed intelligence layer.</p>
264
- </div>
265
-
266
- <div class="grid-3">
267
- <div class="card fade-in" style="border-left: 3px solid #8b5cf6;">
268
- <div class="card-icon purple">🕸️</div>
269
- <h3>Inter-Agent Protocol</h3>
270
- <p>Agents communicate through a private mesh — sharing discoveries, broadcasting alerts, and exchanging tactics in real-time. 5 built-in channels: alerts, discoveries, tactics, negotiations, votes.</p>
271
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
272
- <li>Real-time agent-to-agent messaging</li>
273
- <li>Shared knowledge base with confidence scoring</li>
274
- <li>Priority-based message routing</li>
275
- <li>Auto-expiring messages with TTL</li>
276
- </ul>
277
- </div>
278
- <div class="card fade-in fade-in-delay-1" style="border-left: 3px solid #10b981;">
279
- <div class="card-icon green">🧠</div>
280
- <h3>Local Reinforcement Learning</h3>
281
- <p>Agents learn from every user decision — accepted, rejected, or modified. Multi-armed bandit action selection, gradient-descent policy updates, and behavioral pattern mining. All local, zero tokens consumed.</p>
282
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
283
- <li>UCB1 multi-armed bandit for action selection</li>
284
- <li>Sigmoid prediction with gradient descent</li>
285
- <li>Behavioral sequence pattern mining</li>
286
- <li>Bayesian confidence estimation</li>
287
- </ul>
288
- </div>
289
- <div class="card fade-in fade-in-delay-2" style="border-left: 3px solid #f59e0b;">
290
- <div class="card-icon orange">🎼</div>
291
- <h3>Symphony Orchestrator</h3>
292
- <p>Four specialized agents (Researcher, Analyst, Negotiator, Guardian) collaborate autonomously through rule-based engines. No external AI needed — the symphony runs entirely on local heuristics and learned preferences.</p>
293
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
294
- <li>5 templates: purchase, price comparison, negotiation, exploration, audit</li>
295
- <li>6-phase pipeline: compose → discover → analyze → negotiate → guard → decide</li>
296
- <li>Guardian veto for safety-critical decisions</li>
297
- <li>Weighted consensus with agreement scoring</li>
298
- </ul>
299
- </div>
300
- </div>
301
-
302
- <div style="text-align:center; margin-top:32px;">
303
- <a href="/mesh-dashboard" class="btn btn-primary btn-lg" style="background: #8b5cf6;">Open Agent Mesh Dashboard</a>
304
- </div>
305
- </div>
306
- </section>
307
-
308
- <!-- ═══════════ AGENT WORKSPACE (v2.5) ═══════════ -->
309
- <section class="section" id="agent-workspace" style="background: var(--bg-secondary);">
310
- <div class="container">
311
- <div class="section-header">
312
- <span class="label" style="background: rgba(245,158,11,0.15); color: #f59e0b;">v2.5 Agent Workspace</span>
313
- <h2>Smart Agent Workspace</h2>
314
- <p>A premium 4-panel workspace for non-technical users — search, negotiate, and buy with AI assistance. Available in Arabic &amp; English with multilingual agent support.</p>
315
- </div>
316
-
317
- <div class="grid-3">
318
- <div class="card fade-in" style="border-left: 3px solid #0ea5e9;">
319
- <div class="card-icon blue">🌐</div>
320
- <h3>Embedded Browser</h3>
321
- <p>Full browser panel with URL bar, navigation controls, and secure iframe rendering. The agent opens pages, loads deals, and navigates sites — all visible in real-time.</p>
322
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
323
- <li>Address bar with SSL indicator</li>
324
- <li>Back, forward, refresh controls</li>
325
- <li>Maximize any panel to full screen</li>
326
- </ul>
327
- </div>
328
- <div class="card fade-in fade-in-delay-1" style="border-left: 3px solid #10b981;">
329
- <div class="card-icon green">🤖</div>
330
- <h3>Smart Agent Chat</h3>
331
- <p>Chat with the AI agent in any language — Arabic, English, French, Turkish, or mix them all. The agent understands your intent from any style, dialect, or slang.</p>
332
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
333
- <li>Suggestion chips for quick start</li>
334
- <li>Multilingual — responds in your language</li>
335
- <li>Clarifying questions for precise results</li>
336
- </ul>
337
- </div>
338
- <div class="card fade-in fade-in-delay-2" style="border-left: 3px solid #f59e0b;">
339
- <div class="card-icon orange">📊</div>
340
- <h3>Negotiation Monitor</h3>
341
- <p>Watch the agent work in real-timestep-by-step progress tracking, per-agent status cards, and live negotiation rounds with savings details.</p>
342
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
343
- <li>Multi-step progress visualization</li>
344
- <li>Per-agent cards with progress bars</li>
345
- <li>Negotiation round-by-round log</li>
346
- </ul>
347
- </div>
348
- <div class="card fade-in" style="border-left: 3px solid #8b5cf6;">
349
- <div class="card-icon purple">🏆</div>
350
- <h3>Results &amp; Actions</h3>
351
- <p>Compare offers ranked by value with savings percentages, one-click deal links, and an "Agent Do It" button that lets the AI complete the purchase for you.</p>
352
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
353
- <li>Deal cards with price comparison</li>
354
- <li>One-click \"Open Deal\" links</li>
355
- <li>\"Agent Do It\" auto-completion</li>
356
- </ul>
357
- </div>
358
- <div class="card fade-in fade-in-delay-1" style="border-left: 3px solid #ef4444;">
359
- <div class="card-icon pink">🌍</div>
360
- <h3>Bilingual UI (AR/EN)</h3>
361
- <p>Full Arabic and English interface with auto-detection from browser language. Toggle instantly between languages with complete RTL/LTR layout support.</p>
362
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
363
- <li>100+ translated UI strings</li>
364
- <li>Auto-detect browser language</li>
365
- <li>RTL ↔ LTR with one click</li>
366
- </ul>
367
- </div>
368
- <div class="card fade-in fade-in-delay-2" style="border-left: 3px solid #06b6d4;">
369
- <div class="card-icon cyan">💎</div>
370
- <h3>Subscription Plans</h3>
371
- <p>Free tier (5 tasks/day), Starter, Pro (unlimited + advanced negotiation), and Enterprise plans. Admin dashboard for managing users, deals, and analytics.</p>
372
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
373
- <li>Free, Starter, Pro, Enterprise</li>
374
- <li>Usage tracking with daily limits</li>
375
- <li>Admin management panel</li>
376
- </ul>
377
- </div>
378
- <div class="card fade-in" style="border-left: 3px solid #a855f7;">
379
- <div class="card-icon purple">🛡️</div>
380
- <h3>Dynamic Pricing Shield</h3>
381
- <p>Detects when websites manipulate prices based on your device, location, cookies, or browsing history. The agent probes with 12 distinct identities to expose hidden pricing and find the lowest price invisible to normal users.</p>
382
- <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
383
- <li>12 identity personas (device, geo, referral, privacy)</li>
384
- <li>Statistical variance &amp; z-score outlier detection</li>
385
- <li>Manipulation scoring with actionable tips</li>
386
- <li>Historical price-trend analysis</li>
387
- </ul>
388
- </div>
389
- </div>
390
-
391
- <div style="text-align:center; margin-top:32px;">
392
- <a href="/workspace" class="btn btn-primary btn-lg" style="background: linear-gradient(135deg,#f59e0b,#ef4444);">Open Agent Workspace</a>
393
- </div>
394
- </div>
395
- </section>
396
-
397
- <!-- ═══════════ HOW IT WORKS ═══════════ -->
398
- <section class="section" id="how-it-works" style="background: var(--bg-secondary);">
399
- <div class="container">
400
- <div class="section-header">
401
- <span class="label">How It Works</span>
402
- <h2>Three Steps to AI-Ready</h2>
403
- <p>Get your website ready for AI agents in minutes, not days.</p>
404
- </div>
405
-
406
- <div class="grid-3">
407
- <div class="card" style="text-align:center;">
408
- <div style="font-size:2.5rem; margin-bottom:16px;">1️⃣</div>
409
- <h3>Add the Script</h3>
410
- <p>Include the bridge script in your HTML with your configuration. Set permissions, restrictions, and your license key.</p>
411
- </div>
412
- <div class="card" style="text-align:center;">
413
- <div style="font-size:2.5rem; margin-bottom:16px;">2️⃣</div>
414
- <h3>Configure Permissions</h3>
415
- <p>Use the dashboard to fine-tune which actions AI agents can perform. Block sensitive areas and set rate limits.</p>
416
- </div>
417
- <div class="card" style="text-align:center;">
418
- <div style="font-size:2.5rem; margin-bottom:16px;">3️⃣</div>
419
- <h3>AI Agents Connect</h3>
420
- <p>AI agents read <code>window.AICommands</code>, discover available actions, and execute them precisely — no DOM scraping needed.</p>
421
- </div>
422
- </div>
423
-
424
- <div style="margin-top:48px;">
425
- <div class="code-block">
426
- <div class="code-header">
427
- <div class="code-dots"><span></span><span></span><span></span></div>
428
- <span class="code-lang">JavaScript AI Agent Side</span>
429
- </div>
430
- <div class="code-body">
431
- <pre><span class="cm">// AI Agent reads available commands</span>
432
- <span class="kw">const</span> bridge = window.<span class="prop">AICommands</span>;
433
-
434
- <span class="cm">// Discover all available actions</span>
435
- <span class="kw">const</span> actions = bridge.<span class="fn">getActions</span>();
436
- console.<span class="fn">log</span>(actions);
437
- <span class="cm">// → [{ name: "signup", trigger: "click", ... }, ...]</span>
438
-
439
- <span class="cm">// Execute a form fill action</span>
440
- <span class="kw">const</span> result = <span class="kw">await</span> bridge.<span class="fn">execute</span>(<span class="str">"fill_contact_form"</span>, {
441
- <span class="prop">name</span>: <span class="str">"John Doe"</span>,
442
- <span class="prop">email</span>: <span class="str">"john@example.com"</span>,
443
- <span class="prop">message</span>: <span class="str">"Hello from AI!"</span>
444
- });
445
-
446
- <span class="cm">// Wait for dynamic content</span>
447
- <span class="kw">await</span> bridge.<span class="fn">waitForElement</span>(<span class="str">".success-message"</span>);</pre>
448
- </div>
449
- </div>
450
- </div>
451
- </div>
452
- </section>
453
-
454
- <!-- ═══════════ PRICING ═══════════ -->
455
- <section class="section" id="pricing">
456
- <div class="container">
457
- <div class="section-header">
458
- <span class="label">Pricing</span>
459
- <h2>Simple, Transparent Pricing</h2>
460
- <p>Start free, upgrade when you need advanced features. Open source forever.</p>
461
- </div>
462
-
463
- <div class="grid-3">
464
- <div class="pricing-card">
465
- <div class="pricing-tier">Free</div>
466
- <div class="pricing-price">$0 <span>/mo</span></div>
467
- <div class="pricing-desc">Perfect for personal projects and experimentation.</div>
468
- <ul class="pricing-features">
469
- <li>Auto-discovery of actions</li>
470
- <li>Click &amp; scroll permissions</li>
471
- <li>Rate limiting (60/min)</li>
472
- <li>Basic logging</li>
473
- <li>1 site</li>
474
- <li class="disabled">Form filling</li>
475
- <li class="disabled">API access</li>
476
- <li class="disabled">Analytics dashboard</li>
477
- </ul>
478
- <a href="/register" class="btn btn-secondary" style="width:100%;">Get Started Free</a>
479
- </div>
480
-
481
- <div class="pricing-card featured">
482
- <div class="pricing-tier">Pro</div>
483
- <div class="pricing-price">$29 <span>/mo</span></div>
484
- <div class="pricing-desc">For businesses that want full AI agent integration.</div>
485
- <ul class="pricing-features">
486
- <li>Everything in Free</li>
487
- <li>Form filling &amp; submission</li>
488
- <li>Internal API access</li>
489
- <li>Advanced analytics</li>
490
- <li>Up to 10 sites</li>
491
- <li>Automated login support</li>
492
- <li>Data extraction</li>
493
- <li>Priority support</li>
494
- </ul>
495
- <a href="/register" class="btn btn-primary" style="width:100%;">Start Pro Trial</a>
496
- </div>
497
-
498
- <div class="pricing-card">
499
- <div class="pricing-tier">Enterprise</div>
500
- <div class="pricing-price">Custom</div>
501
- <div class="pricing-desc">Custom solutions for large-scale deployments.</div>
502
- <ul class="pricing-features">
503
- <li>Everything in Pro</li>
504
- <li>Unlimited sites</li>
505
- <li>Custom rate limits</li>
506
- <li>Webhook integrations</li>
507
- <li>SSO / SAML</li>
508
- <li>Dedicated support</li>
509
- <li>SLA guarantee</li>
510
- <li>Custom development</li>
511
- </ul>
512
- <a href="mailto:sales@webagentbridge.com" class="btn btn-secondary" style="width:100%;">Contact Sales</a>
513
- </div>
514
- </div>
515
- </div>
516
- </section>
517
-
518
- <!-- ═══════════ FRAMEWORK PACKAGES ═══════════ -->
519
- <section class="section" id="packages" style="background: var(--bg-secondary);">
520
- <div class="container">
521
- <div class="section-header">
522
- <span class="label">Packages</span>
523
- <h2>Use WAB with Your Favorite Framework</h2>
524
- <p>Official packages for React, Vue, Svelte, and LangChain — with full TypeScript support.</p>
525
- </div>
526
-
527
- <div class="grid-3">
528
- <div class="card fade-in" style="text-align:center;">
529
- <div style="font-size:2.5rem; margin-bottom:16px;">⚛️</div>
530
- <h3>React</h3>
531
- <p><code>@web-agent-bridge/react</code></p>
532
- <p style="color:var(--text-secondary); font-size:0.9rem; margin-top:8px;">Hooks: <code>useWAB</code>, <code>useWABAction</code>, <code>useWABActions</code> + <code>WABProvider</code> for auto-loading the script.</p>
533
- <div class="code-block" style="margin-top:16px; text-align:left;">
534
- <div class="code-body" style="padding:12px; font-size:0.82rem;">
535
- <pre><span class="kw">const</span> { run, result } = <span class="fn">useWABAction</span>(<span class="str">'addToCart'</span>);
536
- <span class="kw">await</span> <span class="fn">run</span>({ <span class="prop">sku</span>: <span class="str">'ABC123'</span> });</pre>
537
- </div>
538
- </div>
539
- </div>
540
- <div class="card fade-in fade-in-delay-1" style="text-align:center;">
541
- <div style="font-size:2.5rem; margin-bottom:16px;">💚</div>
542
- <h3>Vue 3</h3>
543
- <p><code>@web-agent-bridge/vue</code></p>
544
- <p style="color:var(--text-secondary); font-size:0.9rem; margin-top:8px;">Composables: <code>useWAB</code>, <code>useWABAction</code>, <code>useWABActions</code> — reactive refs with loading/error/result state.</p>
545
- <div class="code-block" style="margin-top:16px; text-align:left;">
546
- <div class="code-body" style="padding:12px; font-size:0.82rem;">
547
- <pre><span class="kw">const</span> cart = <span class="fn">useWABAction</span>(<span class="str">'addToCart'</span>);
548
- <span class="kw">await</span> cart.<span class="fn">run</span>({ <span class="prop">sku</span>: <span class="str">'ABC123'</span> });
549
- <span class="cm">// cart.result.value, cart.loading.value</span></pre>
550
- </div>
551
- </div>
552
- </div>
553
- <div class="card fade-in fade-in-delay-2" style="text-align:center;">
554
- <div style="font-size:2.5rem; margin-bottom:16px;">🔥</div>
555
- <h3>Svelte</h3>
556
- <p><code>@web-agent-bridge/svelte</code></p>
557
- <p style="color:var(--text-secondary); font-size:0.9rem; margin-top:8px;">Stores: <code>createWAB</code>, <code>createWABAction</code> — subscribe to <code>$store</code> for reactive state.</p>
558
- <div class="code-block" style="margin-top:16px; text-align:left;">
559
- <div class="code-body" style="padding:12px; font-size:0.82rem;">
560
- <pre><span class="kw">const</span> cart = <span class="fn">createWABAction</span>(<span class="str">'addToCart'</span>);
561
- <span class="kw">await</span> cart.<span class="fn">run</span>({ <span class="prop">sku</span>: <span class="str">'ABC123'</span> });
562
- <span class="cm">// {#if $cart.loading}Adding...{/if}</span></pre>
563
- </div>
564
- </div>
565
- </div>
566
- </div>
567
- </div>
568
- </section>
569
-
570
- <!-- ═══════════ LLM / AGENT INTEGRATION ═══════════ -->
571
- <section class="section" id="integrations">
572
- <div class="container">
573
- <div class="section-header">
574
- <span class="label">Agent Integrations</span>
575
- <h2>Connect Any AI Agent Framework</h2>
576
- <p>Use WAB with LangChain, MCP, or build your own agent — every action becomes a tool the LLM can call.</p>
577
- </div>
578
-
579
- <div class="grid-3">
580
- <div class="card fade-in" style="text-align:center;">
581
- <div style="font-size:2.5rem; margin-bottom:16px;">🦜</div>
582
- <h3>LangChain / LangGraph</h3>
583
- <p><code>@web-agent-bridge/langchain</code></p>
584
- <p style="color:var(--text-secondary); font-size:0.9rem; margin-top:8px;">WABToolkit wraps every WAB action as a LangChain <code>StructuredTool</code>. Works in HTTP mode (server) or browser mode (Puppeteer).</p>
585
- <div class="code-block" style="margin-top:16px; text-align:left;">
586
- <div class="code-body" style="padding:12px; font-size:0.82rem;">
587
- <pre><span class="kw">const</span> tk = <span class="kw">new</span> <span class="fn">WABToolkit</span>({ <span class="prop">siteUrl</span>: <span class="str">'https://shop.example.com'</span> });
588
- <span class="kw">const</span> tools = <span class="kw">await</span> tk.<span class="fn">getTools</span>();
589
- <span class="cm">// Pass tools to any LangChain agent</span></pre>
590
- </div>
591
- </div>
592
- </div>
593
- <div class="card fade-in fade-in-delay-1" style="text-align:center;">
594
- <div style="font-size:2.5rem; margin-bottom:16px;">🔗</div>
595
- <h3>MCP Adapter</h3>
596
- <p><code>wab-mcp-adapter</code></p>
597
- <p style="color:var(--text-secondary); font-size:0.9rem; margin-top:8px;">Converts WAB actions into MCP tools so any MCP-compatible agent (Claude, etc.) can interact with WAB sites through MCP.</p>
598
- <div class="code-block" style="margin-top:16px; text-align:left;">
599
- <div class="code-body" style="padding:12px; font-size:0.82rem;">
600
- <pre><span class="kw">const</span> adapter = <span class="kw">new</span> <span class="fn">WABMCPAdapter</span>({ <span class="prop">siteUrl</span>: <span class="str">'...'</span> });
601
- <span class="kw">const</span> tools = adapter.<span class="fn">listTools</span>();
602
- <span class="cm">// Built-in: discover, execute, read, search</span></pre>
603
- </div>
604
- </div>
605
- </div>
606
- <div class="card fade-in fade-in-delay-2" style="text-align:center;">
607
- <div style="font-size:2.5rem; margin-bottom:16px;">🧰</div>
608
- <h3>Agent SDK</h3>
609
- <p><code>web-agent-bridge/sdk</code></p>
610
- <p style="color:var(--text-secondary); font-size:0.9rem; margin-top:8px;">First-class Puppeteer/Playwright SDK with pipeline execution, parallel actions, screenshot capture, and consent-aware workflows.</p>
611
- <div class="code-block" style="margin-top:16px; text-align:left;">
612
- <div class="code-body" style="padding:12px; font-size:0.82rem;">
613
- <pre><span class="kw">const</span> agent = <span class="kw">new</span> <span class="fn">WABAgent</span>(page);
614
- <span class="kw">await</span> agent.<span class="fn">waitForConsent</span>();
615
- <span class="kw">await</span> agent.<span class="fn">runPipeline</span>([...steps]);</pre>
616
- </div>
617
- </div>
618
- </div>
619
- </div>
620
- </div>
621
- </section>
622
-
623
- <!-- ═══════════ EXAMPLES ═══════════ -->
624
- <section class="section" id="examples" style="background: var(--bg-secondary);">
625
- <div class="container">
626
- <div class="section-header">
627
- <span class="label">Examples</span>
628
- <h2>Framework &amp; CMS Integration Examples</h2>
629
- <p>Ready-to-use examples for popular platforms — see how WAB fits into your stack.</p>
630
- </div>
631
-
632
- <div class="grid-3">
633
- <div class="card fade-in" style="text-align:center;">
634
- <div style="font-size:2.2rem; margin-bottom:12px;">▲</div>
635
- <h3>Next.js App Router</h3>
636
- <p style="color:var(--text-secondary); font-size:0.9rem;">React Server Components + WABProvider for client-side bridge with <code>useWABAction</code> hooks.</p>
637
- </div>
638
- <div class="card fade-in fade-in-delay-1" style="text-align:center;">
639
- <div style="font-size:2.2rem; margin-bottom:12px;">🛍️</div>
640
- <h3>Shopify Hydrogen</h3>
641
- <p style="color:var(--text-secondary); font-size:0.9rem;">Hydrogen storefront with cart actions: <code>getCartCount</code>, <code>addFirstVisibleProductToCart</code>.</p>
642
- </div>
643
- <div class="card fade-in fade-in-delay-2" style="text-align:center;">
644
- <div style="font-size:2.2rem; margin-bottom:12px;">📝</div>
645
- <h3>WordPress + Elementor</h3>
646
- <p style="color:var(--text-secondary); font-size:0.9rem;">Elementor page builder + WAB schema scanner for auto-discovered product and form actions.</p>
647
- </div>
648
- <div class="card fade-in" style="text-align:center;">
649
- <div style="font-size:2.2rem; margin-bottom:12px;">📊</div>
650
- <h3>SaaS Dashboard</h3>
651
- <p style="color:var(--text-secondary); font-size:0.9rem;">Notion-style SaaS with KPI reads, customer lookup, and invoice workflow triggers.</p>
652
- </div>
653
- <div class="card fade-in fade-in-delay-1" style="text-align:center;">
654
- <div style="font-size:2.2rem; margin-bottom:12px;">🤖</div>
655
- <h3>Puppeteer Agent</h3>
656
- <p style="color:var(--text-secondary); font-size:0.9rem;">Headless browser agent that discovers and executes actions automatically via the SDK.</p>
657
- </div>
658
- <div class="card fade-in fade-in-delay-2" style="text-align:center;">
659
- <div style="font-size:2.2rem; margin-bottom:12px;">👁️</div>
660
- <h3>Vision Agent</h3>
661
- <p style="color:var(--text-secondary); font-size:0.9rem;">Natural language intent resolution — "add product to cart" maps to the right WAB action.</p>
662
- </div>
663
- </div>
664
-
665
- <div style="text-align:center; margin-top:32px;">
666
- <a href="https://github.com/abokenan444/web-agent-bridge/tree/master/examples" class="btn btn-secondary" target="_blank" rel="noopener">View All Examples on GitHub →</a>
667
- </div>
668
- </div>
669
- </section>
670
-
671
- <!-- ═══════════ GROWTH SUITE ═══════════ -->
672
- <section class="section" id="growth-suite" style="background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); color: #fff;">
673
- <div class="container" style="text-align:center;">
674
- <div style="display:inline-block; background:rgba(59,130,246,0.15); color:#60a5fa; padding:6px 16px; border-radius:20px; font-size:13px; font-weight:600; margin-bottom:20px;">WAB Growth Suite v2.5</div>
675
- <h2 style="margin-bottom:16px; color:#fff;">8 Modules to Protect & Power the Web</h2>
676
- <p style="color:#94a3b8; max-width:600px; margin:0 auto 40px; font-size:1.05rem; line-height:1.6;">
677
- From link protection widgets to AI safety layers, bounty networks to threat intelligence — everything you need to build a safer, fairer web.
678
- </p>
679
- <div style="display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:16px; max-width:960px; margin:0 auto 40px;">
680
- <div style="background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:20px;">
681
- <div style="font-size:28px; margin-bottom:8px;">🛡️</div>
682
- <div style="font-weight:700; font-size:15px;">WAB Widget</div>
683
- <div style="color:#94a3b8; font-size:13px; margin-top:4px;">Drop-in link protection</div>
684
- </div>
685
- <div style="background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:20px;">
686
- <div style="font-size:28px; margin-bottom:8px;">🤖</div>
687
- <div style="font-weight:700; font-size:15px;">AI Safety Layer</div>
688
- <div style="color:#94a3b8; font-size:13px; margin-top:4px;">Security for AI agents</div>
689
- </div>
690
- <div style="background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:20px;">
691
- <div style="font-size:28px; margin-bottom:8px;">📊</div>
692
- <div style="font-weight:700; font-size:15px;">WAB Score</div>
693
- <div style="color:#94a3b8; font-size:13px; margin-top:4px;">Platform credit rating</div>
694
- </div>
695
- <div style="background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:20px;">
696
- <div style="font-size:28px; margin-bottom:8px;">💰</div>
697
- <div style="font-weight:700; font-size:15px;">Bounty Network</div>
698
- <div style="color:#94a3b8; font-size:13px; margin-top:4px;">Earn by finding scams</div>
699
- </div>
700
- </div>
701
- <a href="/growth" class="btn btn-primary btn-lg">Explore All 8 Modules →</a>
702
- </div>
703
- </section>
704
-
705
- <!-- ═══════════ 1. WAB WIDGET ═══════════ -->
706
- <section class="wab-widget-section" style="padding: 80px 20px; background: #f8fafc; text-align: center;">
707
- <div style="max-width: 800px; margin: 0 auto;">
708
- <h2 style="font-size: 36px; color: #0f172a; margin-bottom: 16px;">One Line of Code. Full Link Protection.</h2>
709
- <p style="font-size: 18px; color: #64748b; margin-bottom: 32px;">
710
- Add a <strong>WAB Widget</strong> next to every external link on your site, blocking phishing and scam URLs in real-time for your visitors.
711
- </p>
712
- <div style="background: #0f172a; color: #e2e8f0; padding: 24px; border-radius: 12px; font-family: 'JetBrains Mono', monospace; font-size: 14px; text-align: left; margin-bottom: 24px; overflow-x: auto;">
713
- <span style="color:#f472b6">&lt;script</span> <span style="color:#a78bfa">src</span>=<span style="color:#86efac">"https://webagentbridge.com/script/ai-agent-bridge.js"</span><br>
714
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#a78bfa">data-wab-key</span>=<span style="color:#86efac">"YOUR_API_KEY"</span><span style="color:#f472b6">&gt;&lt;/script&gt;</span>
715
- </div>
716
- <div style="display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;">
717
- <a href="/growth#modules" class="btn btn-primary">See Widget Demo</a>
718
- <a href="/workspace" class="btn btn-secondary">Get Your API Key →</a>
719
- </div>
720
- </div>
721
- </section>
722
-
723
- <!-- ═══════════ 2. AI SAFETY LAYER ═══════════ -->
724
- <section class="ai-safety-section" style="padding: 80px 20px; background: #0f172a; color: #fff;">
725
- <div style="max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;">
726
- <div>
727
- <div style="color: #3b82f6; font-weight: 700; margin-bottom: 8px; letter-spacing: 1px; font-size: 12px;">FOR AI COMPANIES</div>
728
- <h2 style="font-size: 32px; margin-bottom: 16px;">Mandatory Safety for AI Agents</h2>
729
- <p style="color: #94a3b8; font-size: 16px; line-height: 1.6; margin-bottom: 24px;">
730
- Building an AI agent that browses the web? Use <strong>WAB AI Safety Layer</strong> as a mandatory security wrapper. It scans every URL before your agent visits it.
731
- </p>
732
- <ul style="list-style: none; padding: 0; color: #cbd5e1; margin-bottom: 32px;">
733
- <li style="margin-bottom: 12px;">✅ Compatible with OpenAI Operator &amp; Anthropic Computer Use</li>
734
- <li style="margin-bottom: 12px;">✅ Blocks fraudulent financial transactions automatically</li>
735
- <li style="margin-bottom: 12px;">✅ Lifts legal liability from your company</li>
736
- </ul>
737
- <a href="/docs" class="btn btn-primary">Read AI Safety Docs →</a>
738
- </div>
739
- <div style="background: #1e293b; padding: 24px; border-radius: 16px; border: 1px solid #334155; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.7; overflow-x: auto;">
740
- <span style="color:#c678dd">import</span> { WABAgentWrapper } <span style="color:#c678dd">from</span> <span style="color:#98c379">'@wab/sdk'</span>;<br><br>
741
- <span style="color:#5c6370">// Wrap your AI Agent with WAB Safety</span><br>
742
- <span style="color:#c678dd">const</span> safeAgent = <span style="color:#c678dd">new</span> <span style="color:#61afef">WABAgentWrapper</span>(myAgent, {<br>
743
- &nbsp;&nbsp;<span style="color:#d19a66">blockCritical</span>: <span style="color:#d19a66">true</span>,<br>
744
- &nbsp;&nbsp;<span style="color:#d19a66">minFairness</span>: <span style="color:#d19a66">60</span>,<br>
745
- });<br><br>
746
- <span style="color:#5c6370">// WAB will block this if the site is a scam</span><br>
747
- <span style="color:#c678dd">await</span> safeAgent.<span style="color:#61afef">browse</span>(<span style="color:#98c379">'https://scam-site.xyz'</span>);<br>
748
- <span style="color:#e06c75">→ WABBlockedError: Phishing detected</span>
749
- </div>
750
- </div>
751
- </section>
752
-
753
- <!-- ═══════════ 3. WAB SCORE ═══════════ -->
754
- <section class="wab-score-section" style="padding: 80px 20px; background: white; text-align: center;">
755
- <div style="max-width: 800px; margin: 0 auto;">
756
- <h2 style="font-size: 36px; color: #0f172a; margin-bottom: 16px;">The Digital World's Credit Rating</h2>
757
- <p style="font-size: 18px; color: #64748b; margin-bottom: 40px;">
758
- Like credit agencies rate banks, <strong>WAB Score</strong> rates digital platforms. Search any platform and get a transparency score based on 15 fairness signals.
759
- </p>
760
- <div style="display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 40px;">
761
- <div style="border: 2px solid #22c55e; border-radius: 12px; padding: 16px 24px; display: flex; align-items: center; gap: 12px; background: #fff;">
762
- <div style="font-size: 32px; font-weight: 900; color: #22c55e; line-height: 1;">A-</div>
763
- <div>
764
- <div style="font-weight: 700; color: #1e293b;">Very Good</div>
765
- <div style="font-size: 12px; color: #64748b;">86/100 · amazon.com</div>
766
- </div>
767
- </div>
768
- <div style="border: 2px solid #f59e0b; border-radius: 12px; padding: 16px 24px; display: flex; align-items: center; gap: 12px; background: #fff;">
769
- <div style="font-size: 32px; font-weight: 900; color: #f59e0b; line-height: 1;">C+</div>
770
- <div>
771
- <div style="font-weight: 700; color: #1e293b;">Below Average</div>
772
- <div style="font-size: 12px; color: #64748b;">68/100 · aliexpress.com</div>
773
- </div>
774
- </div>
775
- </div>
776
- <form action="/score" method="GET" style="display: flex; max-width: 500px; margin: 0 auto; gap: 8px;">
777
- <input type="text" name="domain" placeholder="Enter platform domain (e.g. shein.com)" style="flex: 1; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 15px;">
778
- <button type="submit" style="background: #0f172a; color: white; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 700; cursor: pointer;">Check Score</button>
779
- </form>
780
- </div>
781
- </section>
782
-
783
- <!-- ═══════════ 4. TRUST LAYER PROTOCOL ═══════════ -->
784
- <section style="padding: 60px 20px; background: #f1f5f9; border-top: 1px solid #e2e8f0;">
785
- <div style="max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 40px; flex-wrap: wrap;">
786
- <div style="flex: 1; min-width: 280px;">
787
- <h3 style="font-size: 24px; color: #0f172a; margin-bottom: 12px;">The Open Trust Protocol</h3>
788
- <p style="color: #475569; line-height: 1.6; margin-bottom: 20px;">
789
- Prove to your customers that your store is fair and safe. Add a <code>wab.json</code> file to your site and print a verified trust badge — the SSL padlock for platform fairness.
790
- </p>
791
- <a href="/docs" style="color: #3b82f6; font-weight: 600; text-decoration: none;">Learn how to get WAB Certified →</a>
792
- </div>
793
- <div style="flex: 1; min-width: 280px; background: white; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0;">
794
- <div style="font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #334155;">
795
- <span style="color:#94a3b8">// /.well-known/wab.json</span><br>
796
- {<br>
797
- &nbsp;&nbsp;"wab_certified": <span style="color:#22c55e">true</span>,<br>
798
- &nbsp;&nbsp;"fairness_score": <span style="color:#3b82f6">92</span>,<br>
799
- &nbsp;&nbsp;"last_audit": <span style="color:#a3e635">"2026-04-01"</span><br>
800
- }
801
- </div>
802
- </div>
803
- </div>
804
- </section>
805
-
806
- <!-- ═══════════ 5. BOUNTY NETWORK ═══════════ -->
807
- <section style="padding: 80px 20px; background: #0f172a; color: white; text-align: center;">
808
- <div style="max-width: 700px; margin: 0 auto;">
809
- <div style="font-size: 48px; margin-bottom: 16px;">💰</div>
810
- <h2 style="font-size: 36px; margin-bottom: 16px;">Earn Money by Discovering Fraud</h2>
811
- <p style="font-size: 18px; color: #94a3b8; margin-bottom: 32px; line-height: 1.6;">
812
- Join the <strong>WAB Bounty Network</strong> and report phishing, scams, and malware that automated systems haven't caught yet. Earn credits redeemable for cash.
813
- </p>
814
- <div style="display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; flex-wrap: wrap;">
815
- <div style="background: #1e293b; padding: 16px 24px; border-radius: 8px;">
816
- <div style="font-size: 24px; font-weight: 700; color: #ef4444;">50 Credits</div>
817
- <div style="font-size: 13px; color: #94a3b8;">Critical Threats</div>
818
- </div>
819
- <div style="background: #1e293b; padding: 16px 24px; border-radius: 8px;">
820
- <div style="font-size: 24px; font-weight: 700; color: #f59e0b;">25 Credits</div>
821
- <div style="font-size: 13px; color: #94a3b8;">Confirmed Scams</div>
822
- </div>
823
- </div>
824
- <a href="/register" class="btn btn-primary btn-lg">Start Earning →</a>
825
- </div>
826
- </section>
827
-
828
- <!-- ═══════════ 6. DATA MARKETPLACE ═══════════ -->
829
- <section style="padding: 80px 20px; background: white;">
830
- <div style="max-width: 1000px; margin: 0 auto; text-align: center;">
831
- <h2 style="font-size: 32px; color: #0f172a; margin-bottom: 16px;">Threat Intelligence for AI &amp; Security</h2>
832
- <p style="font-size: 18px; color: #64748b; margin-bottom: 48px; max-width: 700px; margin-left: auto; margin-right: auto;">
833
- <strong>WAB Data Marketplace</strong> provides curated threat intelligence datasets for cybersecurity companies and AI model training.
834
- </p>
835
- <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;">
836
- <div style="border: 1px solid #e2e8f0; padding: 24px; border-radius: 12px; text-align: left;">
837
- <h4 style="font-size: 18px; margin-bottom: 8px; color: #0f172a;">Threat Intelligence Feed</h4>
838
- <p style="color: #64748b; font-size: 14px; margin-bottom: 16px;">Real-time phishing, malware, and scam URL data from 47 databases. Updated continuously.</p>
839
- <a href="/workspace" style="color: #3b82f6; font-weight: 600; text-decoration: none;">Explore Data →</a>
840
- </div>
841
- <div style="border: 1px solid #e2e8f0; padding: 24px; border-radius: 12px; text-align: left;">
842
- <h4 style="font-size: 18px; margin-bottom: 8px; color: #0f172a;">Platform Fairness Data</h4>
843
- <p style="color: #64748b; font-size: 14px; margin-bottom: 16px;">Quarterly transparency scores for 500+ marketplaces — hidden fees, return policies, dark patterns.</p>
844
- <a href="/workspace" style="color: #3b82f6; font-weight: 600; text-decoration: none;">Explore Data →</a>
845
- </div>
846
- <div style="border: 1px solid #e2e8f0; padding: 24px; border-radius: 12px; text-align: left;">
847
- <h4 style="font-size: 18px; margin-bottom: 8px; color: #0f172a;">Affiliate Intelligence</h4>
848
- <p style="color: #64748b; font-size: 14px; margin-bottom: 16px;">Commission benchmarks, fraud patterns, and network reliability scores across all major affiliate platforms.</p>
849
- <a href="/workspace" style="color: #3b82f6; font-weight: 600; text-decoration: none;">Explore Data →</a>
850
- </div>
851
- </div>
852
- </div>
853
- </section>
854
-
855
- <!-- ═══════════ 7. EMAIL PROTECTION ═══════════ -->
856
- <section style="padding: 60px 20px; background: #f8fafc;">
857
- <div style="max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 40px; flex-wrap: wrap;">
858
- <div style="flex: 1; min-width: 280px;">
859
- <h3 style="font-size: 28px; color: #0f172a; margin-bottom: 16px;">Email Protection</h3>
860
- <p style="color: #475569; font-size: 16px; line-height: 1.6; margin-bottom: 24px;">
861
- 94% of cyber breaches start with a phishing email. Install the WAB extension and every link and sender in your inbox gets scanned by WAB automatically.
862
- </p>
863
- <div style="display: flex; gap: 12px; flex-wrap: wrap;">
864
- <a href="/downloads" style="background: #fff; border: 1px solid #cbd5e1; padding: 10px 20px; border-radius: 8px; text-decoration: none; color: #1e293b; font-weight: 600; font-size: 14px;">🌐 Chrome Extension</a>
865
- <a href="/downloads" style="background: #fff; border: 1px solid #cbd5e1; padding: 10px 20px; border-radius: 8px; text-decoration: none; color: #1e293b; font-weight: 600; font-size: 14px;">🦊 Firefox Add-on</a>
866
- </div>
867
- </div>
868
- <div style="flex: 1; min-width: 280px; background: white; padding: 16px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);">
869
- <div style="background: #fef2f2; border-left: 4px solid #ef4444; padding: 12px 16px; border-radius: 4px; margin-bottom: 16px;">
870
- <strong style="color: #991b1b; font-size: 13px;">🚫 WAB Security Alert:</strong>
871
- <span style="color: #991b1b; font-size: 13px;"> Dangerous link detected</span>
872
- <div style="color: #b91c1c; font-size: 12px; margin-top: 4px;">PHISHING DETECTED — paypa1-secure-login.xyz scored 95/100 risk</div>
873
- </div>
874
- <div style="height: 12px; background: #f1f5f9; width: 60%; margin-bottom: 8px; border-radius: 4px;"></div>
875
- <div style="height: 12px; background: #f1f5f9; width: 80%; margin-bottom: 8px; border-radius: 4px;"></div>
876
- <div style="height: 12px; background: #f1f5f9; width: 40%; border-radius: 4px;"></div>
877
- </div>
878
- </div>
879
- </section>
880
-
881
- <!-- ═══════════ 8. AFFILIATE INTELLIGENCE ═══════════ -->
882
- <section style="padding: 80px 20px; background: #0f172a; color: white; text-align: center;">
883
- <div style="max-width: 800px; margin: 0 auto;">
884
- <h2 style="font-size: 36px; margin-bottom: 16px;">Are Affiliate Networks Stealing Your Commissions?</h2>
885
- <p style="font-size: 18px; color: #94a3b8; margin-bottom: 32px; line-height: 1.6;">
886
- <strong>WAB Affiliate Intelligence</strong> analyzes your affiliate data and compares it with industry benchmarks to detect commission shaving, cookie stuffing, and payment delays.
887
- </p>
888
- <div style="background: #1e293b; border: 1px solid #334155; border-radius: 16px; padding: 24px; text-align: left; max-width: 600px; margin: 0 auto 32px; font-family: 'JetBrains Mono', monospace;">
889
- <div style="display: flex; justify-content: space-between; border-bottom: 1px solid #334155; padding-bottom: 12px; margin-bottom: 12px;">
890
- <div>
891
- <div style="color: #94a3b8; font-size: 12px; margin-bottom: 4px;">Network</div>
892
- <div style="font-weight: 700; font-size: 16px;">ClickBank</div>
893
- </div>
894
- <div style="text-align: right;">
895
- <div style="color: #94a3b8; font-size: 12px; margin-bottom: 4px;">Fraud Risk</div>
896
- <div style="font-weight: 700; font-size: 16px; color: #f59e0b;">MEDIUM</div>
897
- </div>
898
- </div>
899
- <div style="color: #cbd5e1; font-size: 14px; margin-bottom: 8px;">⚠️ <strong>Commission Shaving:</strong> 12% of valid sales cancelled</div>
900
- <div style="color: #cbd5e1; font-size: 14px;">⚠️ <strong>Payment Delays:</strong> Average 45 days vs industry 30</div>
901
- </div>
902
- <a href="/register" class="btn btn-primary btn-lg">Analyze Your Networks →</a>
903
- </div>
904
- </section>
905
-
906
- <!-- ═══════════ CTA ═══════════ -->
907
- <section class="section" style="text-align:center;">
908
- <div class="container">
909
- <h2 style="margin-bottom:16px;">Ready to Make Your Site <span class="gradient-text">AI-Ready</span>?</h2>
910
- <p style="color:var(--text-secondary); max-width:540px; margin:0 auto 32px; font-size:1.1rem;">
911
- Join the open-source movement that's bridging the gap between AI agents and the web.
912
- </p>
913
- <div style="display:flex; gap:16px; justify-content:center; flex-wrap:wrap;">
914
- <a href="/register" class="btn btn-primary btn-lg">Create Free Account</a>
915
- <a href="https://github.com/abokenan444/web-agent-bridge" class="btn btn-secondary btn-lg" target="_blank" rel="noopener">⭐ Star on GitHub</a>
916
- <a href="/docs" class="btn btn-secondary btn-lg">View Documentation</a>
917
- </div>
918
- </div>
919
- </section>
920
-
921
- <!-- ═══════════ FOOTER ═══════════ -->
922
- <footer class="footer">
923
- <div class="container">
924
- <div class="footer-grid">
925
- <div class="footer-brand">
926
- <a href="/" class="navbar-brand">
927
- <div class="brand-icon">⚡</div>
928
- <span>Web Agent Bridge</span>
929
- </a>
930
- <p>Open-source middleware for AI agent and website interaction. Built for the future of intelligent automation.</p>
931
- </div>
932
- <div class="footer-col">
933
- <h4>Product</h4>
934
- <ul>
935
- <li><a href="#features">Features</a></li>
936
- <li><a href="#packages">Framework Packages</a></li>
937
- <li><a href="#integrations">Agent Integrations</a></li>
938
- <li><a href="#pricing">Pricing</a></li>
939
- <li><a href="/docs">Documentation</a></li>
940
- <li><a href="/api">API Gateway</a></li>
941
- <li><a href="/sovereign">Sovereign Dashboard</a></li>
942
- <li><a href="/workspace">Agent Workspace</a></li>
943
- <li data-wab-auth="signed-in" style="display:none"><a href="/dashboard">Dashboard</a></li>
944
- </ul>
945
- </div>
946
- <div class="footer-col">
947
- <h4>Developers</h4>
948
- <ul>
949
- <li><a href="/docs#quick-start">Quick Start</a></li>
950
- <li><a href="/docs#api-reference">API Reference</a></li>
951
- <li><a href="/api">API Modules</a></li>
952
- <li><a href="#examples">Examples</a></li>
953
- <li><a href="https://github.com/abokenan444/web-agent-bridge" target="_blank" rel="noopener">GitHub</a></li>
954
- </ul>
955
- </div>
956
- <div class="footer-col">
957
- <h4>Legal</h4>
958
- <ul>
959
- <li><a href="/privacy">Privacy Policy</a></li>
960
- <li><a href="/terms">Terms of Service</a></li>
961
- <li><a href="/cookies">Cookie Policy</a></li>
962
- </ul>
963
- </div>
964
- </div>
965
- <div class="footer-bottom">
966
- <span>&copy; 2026 Web Agent Bridge. MIT License. Operated from the Netherlands.</span>
967
- </div>
968
- </div>
969
- </footer>
970
-
971
- <script src="/js/auth-nav.js?v=3.0.1"></script>
972
- <script>
973
- const navbar = document.getElementById('navbar');
974
- window.addEventListener('scroll', () => {
975
- navbar.style.background = window.scrollY > 50
976
- ? 'rgba(10, 14, 26, 0.95)'
977
- : 'rgba(10, 14, 26, 0.8)';
978
- });
979
- </script>
980
- <script src="/js/cookie-consent.js?v=3.0.1"></script>
981
- </body>
982
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en" dir="ltr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Web Agent Bridge — Open AI↔Web Protocol & Agent Platform</title>
7
+ <meta name="description" content="The open AI↔Web protocol & agent platform: standardized command interface, sovereign browser, phone shield, DNS discovery, agent mesh, and unified API gateway.">
8
+ <link rel="preconnect" href="https://fonts.googleapis.com">
9
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
+ <style>body{background:#0a0e1a;color:#f0f4ff;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin:0;min-height:100vh}
11
+
12
+ </style>
13
+ <link rel="preload" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'">
14
+ <noscript><link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet"></noscript>
15
+ <link rel="stylesheet" href="/css/styles.css?v=3.0.1">
16
+ </head>
17
+ <body>
18
+
19
+ <!-- ═══════════ NAVBAR ═══════════ -->
20
+ <nav class="navbar" id="navbar">
21
+ <div class="container">
22
+ <a href="/" class="navbar-brand">
23
+ <div class="brand-icon">⚡</div>
24
+ <span>WAB</span>
25
+ </a>
26
+ <ul class="navbar-links">
27
+ <li><a href="#features">Features</a></li>
28
+ <li><a href="#governance">Governance</a></li>
29
+ <li><a href="#packages">Packages</a></li>
30
+ <li><a href="#integrations">Integrations</a></li>
31
+ <li><a href="#how-it-works">How It Works</a></li>
32
+ <li><a href="#pricing">Pricing</a></li>
33
+ <li><a href="#v2-features">v2.0</a></li>
34
+ <li><a href="#agent-mesh">Agent Mesh</a></li>
35
+ <li><a href="#agent-workspace">Workspace</a></li>
36
+ <li><a href="/demo">Demo</a></li>
37
+ <li><a href="/integrations">Integrations</a></li>
38
+ <li><a href="#latest-additions">What's New</a></li>
39
+ <li><a href="/dns">AI Discovery</a></li>
40
+ <li><a href="/phone-shield">Phone Shield</a></li>
41
+ <li><a href="/growth">Growth Suite</a></li>
42
+ <li><a href="/api">API</a></li>
43
+ <li><a href="/docs">Docs</a></li>
44
+ <li><a href="/whitepaper">Whitepaper</a></li>
45
+ </ul>
46
+ <div class="navbar-actions">
47
+ <a href="/login" class="btn btn-ghost" data-wab-auth="guest">Sign In</a>
48
+ <a href="/dashboard" class="btn btn-ghost" data-wab-auth="signed-in" style="display:none">Dashboard</a>
49
+ <a href="/register" class="btn btn-primary btn-sm" data-wab-auth="guest">Get Started</a>
50
+ </div>
51
+ <button class="mobile-menu-btn" >☰</button>
52
+ </div>
53
+ </nav>
54
+
55
+ <!-- ═══════════ HERO ═══════════ -->
56
+ <section class="hero">
57
+ <div class="container">
58
+ <div class="hero-content fade-in">
59
+ <div class="hero-badge">
60
+ 🚀 Open Source &middot; React &middot; Vue &middot; Svelte &middot; LangChain
61
+ </div>
62
+ <h1>
63
+ Bridge the Gap Between<br>
64
+ <span class="gradient-text">AI Agents</span> &amp; <span class="gradient-text-accent">Websites</span>
65
+ </h1>
66
+ <p>
67
+ The open <strong>AI↔Web protocol & agent platform</strong>. A standardized command interface, sovereign browser,
68
+ phone shield, DNS discovery, agent mesh, and unified API gateway — with permissions, rate limiting,
69
+ and full control for site owners.
70
+ </p>
71
+ <div class="hero-actions">
72
+ <a href="/register" class="btn btn-primary btn-lg">Start Free</a>
73
+ <a href="/docs" class="btn btn-secondary btn-lg">Read the Docs</a>
74
+ <a href="/whitepaper" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#4ea3ff,#8b5cf6);color:#fff;border:none">📄 Read the Whitepaper</a>
75
+ <a href="/browser" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#0ea5e9,#10b981);color:#fff;border:none">🌐 Download WAB Browser</a>
76
+ <a href="/pwa/" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#8b5cf6,#0ea5e9);color:#fff;border:none">📱 Mobile PWA</a>
77
+ <a href="/workspace" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;border:none">🤖 Agent Workspace</a>
78
+ <a href="/demo" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none">🧪 API Playground</a>
79
+ <a href="/demo" class="btn btn-secondary btn-lg" style="background:linear-gradient(135deg,#06b6d4,#0ea5e9);color:#fff;border:none">🎮 Interactive Demo</a>
80
+ </div>
81
+
82
+ <div class="hero-code fade-in fade-in-delay-2">
83
+ <code>
84
+ <span class="comment">// Add the bridge to your website</span><br>
85
+ &lt;<span class="keyword">script</span>&gt;<br>
86
+ &nbsp;&nbsp;window.<span class="property">AIBridgeConfig</span> = {<br>
87
+ &nbsp;&nbsp;&nbsp;&nbsp;<span class="property">licenseKey</span>: <span class="string">"WAB-XXXXX-XXXXX"</span>,<br>
88
+ &nbsp;&nbsp;&nbsp;&nbsp;<span class="property">agentPermissions</span>: { <span class="property">click</span>: <span class="boolean">true</span>, <span class="property">fillForms</span>: <span class="boolean">true</span> }<br>
89
+ &nbsp;&nbsp;};<br>
90
+ &lt;/<span class="keyword">script</span>&gt;<br>
91
+ &lt;<span class="keyword">script</span> <span class="property">src</span>=<span class="string">"/script/ai-agent-bridge.js"</span>&gt;&lt;/<span class="keyword">script</span>&gt;
92
+ </code>
93
+ </div>
94
+ </div>
95
+ </div>
96
+ </section>
97
+
98
+ <!-- ═══════════ FEATURES ═══════════ -->
99
+ <section class="section" id="features">
100
+ <div class="container">
101
+ <div class="section-header">
102
+ <span class="label">Features</span>
103
+ <h2>Everything AI Agents Need</h2>
104
+ <p>A complete interface layer that makes websites AI-ready with security and control built in.</p>
105
+ </div>
106
+
107
+ <div class="grid-3">
108
+ <div class="card fade-in">
109
+ <div class="card-icon blue">🎯</div>
110
+ <h3>Auto-Discovery</h3>
111
+ <p>Automatically detects buttons, forms, and navigation elements generating precise CSS selectors and action descriptions for AI agents.</p>
112
+ </div>
113
+ <div class="card fade-in fade-in-delay-1">
114
+ <div class="card-icon purple">🔐</div>
115
+ <h3>Permission System</h3>
116
+ <p>Granular control over what AI agents can do. Enable clicking, form filling, API access, and more each toggled independently.</p>
117
+ </div>
118
+ <div class="card fade-in fade-in-delay-2">
119
+ <div class="card-icon cyan">⚡</div>
120
+ <h3>Standardized Commands</h3>
121
+ <p>Unified <code>window.AICommands</code> interface that any AI agent can read and execute no more DOM guessing.</p>
122
+ </div>
123
+ <div class="card fade-in fade-in-delay-1">
124
+ <div class="card-icon green">🛡️</div>
125
+ <h3>Rate Limiting</h3>
126
+ <p>Built-in rate limiting prevents abuse. Configure max calls per minute to protect your site from aggressive automation.</p>
127
+ </div>
128
+ <div class="card fade-in fade-in-delay-2">
129
+ <div class="card-icon orange">📊</div>
130
+ <h3>Analytics Dashboard</h3>
131
+ <p>Track how AI agents interact with your site. See which actions are used most, success rates, and usage patterns.</p>
132
+ </div>
133
+ <div class="card fade-in fade-in-delay-3">
134
+ <div class="card-icon pink">🔌</div>
135
+ <h3>Custom Actions</h3>
136
+ <p>Register your own actions with custom handlers. Create complex workflows that AI agents can trigger with a single command.</p>
137
+ </div>
138
+ <div class="card fade-in">
139
+ <div class="card-icon cyan">🛒</div>
140
+ <h3>Commerce &amp; Booking Intents</h3>
141
+ <p>Automatically detects add-to-cart, checkout, booking, and reservation flows mapping them to named actions agents can call directly.</p>
142
+ </div>
143
+ <div class="card fade-in fade-in-delay-1">
144
+ <div class="card-icon blue">📦</div>
145
+ <h3>Structured Data Scanning</h3>
146
+ <p>Reads schema.org JSON-LD and microdata (Products, Offers, Prices) and exposes them as queryable actions zero manual setup.</p>
147
+ </div>
148
+ <div class="card fade-in fade-in-delay-2">
149
+ <div class="card-icon green">🩹</div>
150
+ <h3>Self-Healing Selectors</h3>
151
+ <p>7-strategy resilient element resolution. When the DOM changes, selectors auto-heal via ARIA, text similarity, and position heuristics.</p>
152
+ </div>
153
+ <div class="card fade-in">
154
+ <div class="card-icon purple">🔏</div>
155
+ <h3>GDPR / CCPA Consent</h3>
156
+ <p>Optional consent banner gates agent actions behind user approval. SDK agents can check <code>hasConsent()</code> or <code>waitForConsent()</code> programmatically.</p>
157
+ </div>
158
+ <div class="card fade-in fade-in-delay-1">
159
+ <div class="card-icon orange">🤖</div>
160
+ <h3>Agent SDK</h3>
161
+ <p>Built-in SDK for Puppeteer and Playwright: <code>runPipeline()</code>, <code>executeParallel()</code>, <code>screenshot()</code>, and consent-aware workflows.</p>
162
+ </div>
163
+ <div class="card fade-in fade-in-delay-2">
164
+ <div class="card-icon pink">🌐</div>
165
+ <h3>WebDriver BiDi</h3>
166
+ <p>Standard WebDriver BiDi protocol support via <code>window.__wab_bidi</code>compatible with any automation framework that speaks the standard.</p>
167
+ </div>
168
+ </div>
169
+ </div>
170
+ </section>
171
+
172
+ <!-- ═══════════ GOVERNANCE LAYER ═══════════ -->
173
+ <section class="section" id="governance" style="background: linear-gradient(180deg, var(--bg-primary) 0%, #f1f5f9 100%);">
174
+ <div class="container">
175
+ <div class="section-header">
176
+ <span class="label" style="background:#0ea5e9; color:#fff;">Enterprise Security &amp; Compliance</span>
177
+ <h2>Governance Layer for agents that touch real money</h2>
178
+ <p>The missing layer above the protocol: per-agent permissions, human-in-the-loop approvals, tamper-evident audit, kill-switch and spend caps — all server-enforced, all open-source, all one SDK call away.</p>
179
+ <div style="display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:18px;">
180
+ <img alt="Tamper-Evident Audit" src="https://img.shields.io/badge/Audit-Tamper--Evident_HMAC_Chain-0ea5e9?style=for-the-badge&logo=keybase&logoColor=white" />
181
+ <img alt="Human-in-the-Loop Approvals" src="https://img.shields.io/badge/Approvals-Human--in--the--Loop-22c55e?style=for-the-badge&logo=checkmarx&logoColor=white" />
182
+ <img alt="Kill Switch" src="https://img.shields.io/badge/Kill_Switch-Per--Agent-ef4444?style=for-the-badge&logo=stopsign&logoColor=white" />
183
+ <img alt="Tests" src="https://img.shields.io/badge/Governance_Tests-26%2F26-22c55e?style=for-the-badge&logo=jest&logoColor=white" />
184
+ </div>
185
+ </div>
186
+
187
+ <div class="grid-3" style="margin-top:32px;">
188
+ <div class="card fade-in">
189
+ <div class="card-icon blue">🔐</div>
190
+ <h3>Permission Boundaries</h3>
191
+ <p>Per-agent <code>resource × action × scope</code> policies with <code>allow</code> or <code>deny</code> effect. Most-specific scope wins. Deny-by-default.</p>
192
+ </div>
193
+ <div class="card fade-in fade-in-delay-1">
194
+ <div class="card-icon green">🙋</div>
195
+ <h3>Human-in-the-Loop Approvals</h3>
196
+ <p>Mark any policy <code>requires_approval: true</code>. Sensitive actions wait for an explicit human <em>approve</em> or <em>reject</em> with TTL. SDK <code>onApprovalRequired</code> hook routes to Slack, email or webhook.</p>
197
+ </div>
198
+ <div class="card fade-in fade-in-delay-2">
199
+ <div class="card-icon cyan">🧾</div>
200
+ <h3>Tamper-Evident Audit</h3>
201
+ <p>Every event hash-chained with HMAC: <code>hash<sub>n</sub> = HMAC(secret, prev_hash ‖ row)</code>. <code>verifyAuditChain()</code> rebuilds the chain and reports the first divergence — a single altered byte breaks every subsequent hash.</p>
202
+ </div>
203
+ <div class="card fade-in fade-in-delay-1">
204
+ <div class="card-icon" style="background:#fee2e2; color:#dc2626;">🛑</div>
205
+ <h3>Kill Switch</h3>
206
+ <p>One <code>POST /agents/:id/kill</code> disables the agent globally. All pending approvals are auto-cancelled — no resurrection via stale approval requests.</p>
207
+ </div>
208
+ <div class="card fade-in fade-in-delay-2">
209
+ <div class="card-icon orange">💰</div>
210
+ <h3>Spend &amp; Rate Limits</h3>
211
+ <p>Per-call <code>max_amount</code>, rolling 24-hour <code>daily_cap</code>, per-minute <code>per_call_rate</code>. Runaway loops can't drain your Stripe balance.</p>
212
+ </div>
213
+ <div class="card fade-in fade-in-delay-3">
214
+ <div class="card-icon purple">🕵️</div>
215
+ <h3>Auto-Redaction</h3>
216
+ <p>Fields named <code>password</code>, <code>api_key</code>, <code>token</code>, <code>cookie</code>, <code>cvv</code>, <code>ssn</code> are automatically replaced with <code>[redacted]</code> before audit storage. Token itself is sha256-hashed at rest.</p>
217
+ </div>
218
+ </div>
219
+
220
+ <div class="card fade-in" style="margin-top:32px; max-width:880px; margin-left:auto; margin-right:auto; background:#0f172a; color:#e2e8f0;">
221
+ <div style="font-family: 'JetBrains Mono', Menlo, monospace; font-size:13px; line-height:1.6; overflow-x:auto;">
222
+ <pre style="margin:0; color:#e2e8f0; background:transparent;"><span style="color:#64748b;">// One call wraps permission check + approval gate + execute + audit</span>
223
+ <span style="color:#7dd3fc;">await</span> gov.<span style="color:#fbbf24;">guard</span>(
224
+ { resource: <span style="color:#86efac;">'stripe'</span>, action: <span style="color:#86efac;">'write'</span>, scope: <span style="color:#86efac;">'refunds'</span>, amount: <span style="color:#fda4af;">49.99</span> },
225
+ <span style="color:#7dd3fc;">async</span> () =&gt; stripe.refunds.<span style="color:#fbbf24;">create</span>({ charge: <span style="color:#86efac;">'ch_x'</span> }),
226
+ );</pre>
227
+ </div>
228
+ <p style="margin-top:18px; color:#cbd5e1; font-size:14px;">
229
+ ▶ Run the full 9-step demo:
230
+ <code style="background:#1e293b; padding:4px 10px; border-radius:4px; color:#86efac;">node examples/governance-agent.js</code>
231
+ </p>
232
+ </div>
233
+
234
+ <p style="text-align:center; margin-top:24px; color:#64748b;">
235
+ Verified by <a href="https://github.com/abokenan444/web-agent-bridge/blob/master/tests/governance.test.js" style="color:#0ea5e9; font-weight:600;">26 automated tests</a> covering security (10), operational (10), and SDK (6) scenarios.
236
+ </p>
237
+ </div>
238
+ </section>
239
+
240
+ <!-- ═══════════ V2 FEATURES ═══════════ -->
241
+ <section class="section" id="v2-features" style="background: var(--bg-secondary);">
242
+ <div class="container">
243
+ <div class="section-header">
244
+ <span class="label">v2.0 Digital Fortress</span>
245
+ <h2>Internet Sovereignty Features</h2>
246
+ <p>WAB v2.0 goes beyond bridging — it protects users with negotiation, verification, and decentralized trust.</p>
247
+ </div>
248
+
249
+ <div class="grid-3">
250
+ <div class="card fade-in" style="border-left: 3px solid #f59e0b;">
251
+ <div class="card-icon orange">💰</div>
252
+ <h3>Real-time Negotiation Engine</h3>
253
+ <p>AI agents negotiate prices directly with WAB-enabled sites. Site owners define negotiation rules (bulk discounts, loyalty rewards, time-based offers). Agents submit counter-offers in multi-round sessions — no middleman, no hidden fees.</p>
254
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
255
+ <li>8 condition types (bulk, loyalty, time, first-buy...)</li>
256
+ <li>4 discount types (percentage, fixed, free shipping, bundle)</li>
257
+ <li>Multi-round negotiation with counter-offers</li>
258
+ <li>Savings tracking per agent</li>
259
+ </ul>
260
+ </div>
261
+ <div class="card fade-in fade-in-delay-1" style="border-left: 3px solid #ef4444;">
262
+ <div class="card-icon pink">🛡️</div>
263
+ <h3>Anti-Hallucination Shield</h3>
264
+ <p>Cross-verification engine that catches AI lies before they reach users. Compares DOM values against vision screenshots, validates prices against market benchmarks, and checks temporal consistency across sessions.</p>
265
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
266
+ <li>DOM vs Vision verification</li>
267
+ <li>Market benchmark price validation</li>
268
+ <li>Temporal consistency checks</li>
269
+ <li>Text similarity scoring (Levenshtein)</li>
270
+ </ul>
271
+ </div>
272
+ <div class="card fade-in fade-in-delay-2" style="border-left: 3px solid #10b981;">
273
+ <div class="card-icon green">⭐</div>
274
+ <h3>Decentralized Reputation</h3>
275
+ <p>Agents and sites build trust through cryptographic attestations. Every interaction gets scored — purchase success, data accuracy, delivery fulfillment. Scores are aggregated into transparent reputation profiles visible to all agents.</p>
276
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
277
+ <li>Trust attestations from agent network</li>
278
+ <li>Weighted scoring by interaction type</li>
279
+ <li>Trust levels: emerging → verified → exemplary</li>
280
+ <li>Global leaderboard</li>
281
+ </ul>
282
+ </div>
283
+ <div class="card fade-in" style="border-left: 3px solid #3b82f6;">
284
+ <div class="card-icon blue">🏰</div>
285
+ <h3>Sovereign Dashboard</h3>
286
+ <p>A real-time command center showing your digital fortress status — protected sites, fairness radar, privacy shield, negotiation logs, and verification checks all in one beautiful dark-mode dashboard.</p>
287
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
288
+ <li>Live fairness radar with safety scoring</li>
289
+ <li>Privacy shield metrics</li>
290
+ <li>AI model switcher (Llama, GPT-4, Claude...)</li>
291
+ <li>Protected sites table with trust levels</li>
292
+ </ul>
293
+ </div>
294
+ <div class="card fade-in fade-in-delay-1" style="border-left: 3px solid #8b5cf6;">
295
+ <div class="card-icon purple">📦</div>
296
+ <h3>Community Agent Hub</h3>
297
+ <p>Pre-built YAML agent templates for common use cases — hotel booking, grocery comparison, artisan marketplace, flight deals. Run any template with a single CLI command: <code>npx wab-agent run template.yaml</code>.</p>
298
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
299
+ <li>11 production-ready templates</li>
300
+ <li>CLI runner with variable substitution</li>
301
+ <li>Fairness rules built into every template</li>
302
+ <li>Supports negotiation + verification</li>
303
+ </ul>
304
+ </div>
305
+ <div class="card fade-in fade-in-delay-2" style="border-left: 3px solid #0ea5e9;">
306
+ <div class="card-icon cyan">🌐</div>
307
+ <h3>Cross-Site Agent Orchestration</h3>
308
+ <p>One agent manages multiple WAB-enabled sites simultaneously. Compare prices across stores, aggregate product data, run parallel actions — all from a single <code>WABMultiAgent</code> instance in the SDK.</p>
309
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
310
+ <li>Parallel multi-site browser sessions</li>
311
+ <li>comparePrices() with cheapest-deal finder</li>
312
+ <li>Schema.org + WAB action price extraction</li>
313
+ <li>Cross-site screenshots for vision verification</li>
314
+ </ul>
315
+ </div>
316
+ <div class="card fade-in" style="border-left: 3px solid #06b6d4;">
317
+ <div class="card-icon cyan">🔄</div>
318
+ <h3>AI Brain Swapping</h3>
319
+ <p>WAB is the bridge — the AI model is your choice. Switch between Llama 3, GPT-4, Claude, Gemini, Mistral, or run fully local with Ollama. Your data, your model, your sovereignty.</p>
320
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
321
+ <li>6 supported AI engines</li>
322
+ <li>Local-first with Ollama support</li>
323
+ <li>Hot-swap without reconfiguration</li>
324
+ <li>Your data never leaves your machine</li>
325
+ </ul>
326
+ </div>
327
+ </div>
328
+
329
+ <div style="text-align:center; margin-top:32px;">
330
+ <a href="/sovereign" class="btn btn-primary btn-lg">Open Sovereign Dashboard</a>
331
+ </div>
332
+ </div>
333
+ </section>
334
+
335
+ <!-- ═══════════ PRIVATE AGENT MESH ═══════════ -->
336
+ <section class="section" id="agent-mesh">
337
+ <div class="container">
338
+ <div class="section-header">
339
+ <span class="label" style="background: rgba(139,92,246,0.15); color: #8b5cf6;">v2.3 — Distributed Mind</span>
340
+ <h2>Private Agent Mesh</h2>
341
+ <p>Agents communicate, learn, and orchestrate autonomouslyzero external LLM dependency. Your private fortress now has a distributed intelligence layer.</p>
342
+ </div>
343
+
344
+ <div class="grid-3">
345
+ <div class="card fade-in" style="border-left: 3px solid #8b5cf6;">
346
+ <div class="card-icon purple">🕸️</div>
347
+ <h3>Inter-Agent Protocol</h3>
348
+ <p>Agents communicate through a private mesh — sharing discoveries, broadcasting alerts, and exchanging tactics in real-time. 5 built-in channels: alerts, discoveries, tactics, negotiations, votes.</p>
349
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
350
+ <li>Real-time agent-to-agent messaging</li>
351
+ <li>Shared knowledge base with confidence scoring</li>
352
+ <li>Priority-based message routing</li>
353
+ <li>Auto-expiring messages with TTL</li>
354
+ </ul>
355
+ </div>
356
+ <div class="card fade-in fade-in-delay-1" style="border-left: 3px solid #10b981;">
357
+ <div class="card-icon green">🧠</div>
358
+ <h3>Local Reinforcement Learning</h3>
359
+ <p>Agents learn from every user decision — accepted, rejected, or modified. Multi-armed bandit action selection, gradient-descent policy updates, and behavioral pattern mining. All local, zero tokens consumed.</p>
360
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
361
+ <li>UCB1 multi-armed bandit for action selection</li>
362
+ <li>Sigmoid prediction with gradient descent</li>
363
+ <li>Behavioral sequence pattern mining</li>
364
+ <li>Bayesian confidence estimation</li>
365
+ </ul>
366
+ </div>
367
+ <div class="card fade-in fade-in-delay-2" style="border-left: 3px solid #f59e0b;">
368
+ <div class="card-icon orange">🎼</div>
369
+ <h3>Symphony Orchestrator</h3>
370
+ <p>Four specialized agents (Researcher, Analyst, Negotiator, Guardian) collaborate autonomously through rule-based engines. No external AI needed — the symphony runs entirely on local heuristics and learned preferences.</p>
371
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
372
+ <li>5 templates: purchase, price comparison, negotiation, exploration, audit</li>
373
+ <li>6-phase pipeline: compose → discover → analyze → negotiate → guard → decide</li>
374
+ <li>Guardian veto for safety-critical decisions</li>
375
+ <li>Weighted consensus with agreement scoring</li>
376
+ </ul>
377
+ </div>
378
+ </div>
379
+
380
+ <div style="text-align:center; margin-top:32px;">
381
+ <a href="/mesh-dashboard" class="btn btn-primary btn-lg" style="background: #8b5cf6;">Open Agent Mesh Dashboard</a>
382
+ </div>
383
+ </div>
384
+ </section>
385
+
386
+ <!-- ═══════════ AGENT WORKSPACE (v2.5) ═══════════ -->
387
+ <section class="section" id="agent-workspace" style="background: var(--bg-secondary);">
388
+ <div class="container">
389
+ <div class="section-header">
390
+ <span class="label" style="background: rgba(245,158,11,0.15); color: #f59e0b;">v2.5 — Agent Workspace</span>
391
+ <h2>Smart Agent Workspace</h2>
392
+ <p>A premium 4-panel workspace for non-technical users search, negotiate, and buy with AI assistance. Available in Arabic &amp; English with multilingual agent support.</p>
393
+ </div>
394
+
395
+ <div class="grid-3">
396
+ <div class="card fade-in" style="border-left: 3px solid #0ea5e9;">
397
+ <div class="card-icon blue">🌐</div>
398
+ <h3>Embedded Browser</h3>
399
+ <p>Full browser panel with URL bar, navigation controls, and secure iframe rendering. The agent opens pages, loads deals, and navigates sites — all visible in real-time.</p>
400
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
401
+ <li>Address bar with SSL indicator</li>
402
+ <li>Back, forward, refresh controls</li>
403
+ <li>Maximize any panel to full screen</li>
404
+ </ul>
405
+ </div>
406
+ <div class="card fade-in fade-in-delay-1" style="border-left: 3px solid #10b981;">
407
+ <div class="card-icon green">🤖</div>
408
+ <h3>Smart Agent Chat</h3>
409
+ <p>Chat with the AI agent in any language — Arabic, English, French, Turkish, or mix them all. The agent understands your intent from any style, dialect, or slang.</p>
410
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
411
+ <li>Suggestion chips for quick start</li>
412
+ <li>Multilingual responds in your language</li>
413
+ <li>Clarifying questions for precise results</li>
414
+ </ul>
415
+ </div>
416
+ <div class="card fade-in fade-in-delay-2" style="border-left: 3px solid #f59e0b;">
417
+ <div class="card-icon orange">📊</div>
418
+ <h3>Negotiation Monitor</h3>
419
+ <p>Watch the agent work in real-time — step-by-step progress tracking, per-agent status cards, and live negotiation rounds with savings details.</p>
420
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
421
+ <li>Multi-step progress visualization</li>
422
+ <li>Per-agent cards with progress bars</li>
423
+ <li>Negotiation round-by-round log</li>
424
+ </ul>
425
+ </div>
426
+ <div class="card fade-in" style="border-left: 3px solid #8b5cf6;">
427
+ <div class="card-icon purple">🏆</div>
428
+ <h3>Results &amp; Actions</h3>
429
+ <p>Compare offers ranked by value with savings percentages, one-click deal links, and an "Agent Do It" button that lets the AI complete the purchase for you.</p>
430
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
431
+ <li>Deal cards with price comparison</li>
432
+ <li>One-click \"Open Deal\" links</li>
433
+ <li>\"Agent Do It\" auto-completion</li>
434
+ </ul>
435
+ </div>
436
+ <div class="card fade-in fade-in-delay-1" style="border-left: 3px solid #ef4444;">
437
+ <div class="card-icon pink">🌍</div>
438
+ <h3>Bilingual UI (AR/EN)</h3>
439
+ <p>Full Arabic and English interface with auto-detection from browser language. Toggle instantly between languages with complete RTL/LTR layout support.</p>
440
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
441
+ <li>100+ translated UI strings</li>
442
+ <li>Auto-detect browser language</li>
443
+ <li>RTL LTR with one click</li>
444
+ </ul>
445
+ </div>
446
+ <div class="card fade-in fade-in-delay-2" style="border-left: 3px solid #06b6d4;">
447
+ <div class="card-icon cyan">💎</div>
448
+ <h3>Subscription Plans</h3>
449
+ <p>Free tier (5 tasks/day), Starter, Pro (unlimited + advanced negotiation), and Enterprise plans. Admin dashboard for managing users, deals, and analytics.</p>
450
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
451
+ <li>Free, Starter, Pro, Enterprise</li>
452
+ <li>Usage tracking with daily limits</li>
453
+ <li>Admin management panel</li>
454
+ </ul>
455
+ </div>
456
+ <div class="card fade-in" style="border-left: 3px solid #a855f7;">
457
+ <div class="card-icon purple">🛡️</div>
458
+ <h3>Dynamic Pricing Shield</h3>
459
+ <p>Detects when websites manipulate prices based on your device, location, cookies, or browsing history. The agent probes with 12 distinct identities to expose hidden pricing and find the lowest price invisible to normal users.</p>
460
+ <ul style="margin-top:12px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
461
+ <li>12 identity personas (device, geo, referral, privacy)</li>
462
+ <li>Statistical variance &amp; z-score outlier detection</li>
463
+ <li>Manipulation scoring with actionable tips</li>
464
+ <li>Historical price-trend analysis</li>
465
+ </ul>
466
+ </div>
467
+ </div>
468
+
469
+ <div style="text-align:center; margin-top:32px;">
470
+ <a href="/workspace" class="btn btn-primary btn-lg" style="background: linear-gradient(135deg,#f59e0b,#ef4444);">Open Agent Workspace</a>
471
+ </div>
472
+ </div>
473
+ </section>
474
+
475
+ <!-- ═══════════ HOW IT WORKS ═══════════ -->
476
+ <section class="section" id="how-it-works" style="background: var(--bg-secondary);">
477
+ <div class="container">
478
+ <div class="section-header">
479
+ <span class="label">How It Works</span>
480
+ <h2>Three Steps to AI-Ready</h2>
481
+ <p>Get your website ready for AI agents in minutes, not days.</p>
482
+ </div>
483
+
484
+ <div class="grid-3">
485
+ <div class="card" style="text-align:center;">
486
+ <div style="font-size:2.5rem; margin-bottom:16px;">1️⃣</div>
487
+ <h3>Add the Script</h3>
488
+ <p>Include the bridge script in your HTML with your configuration. Set permissions, restrictions, and your license key.</p>
489
+ </div>
490
+ <div class="card" style="text-align:center;">
491
+ <div style="font-size:2.5rem; margin-bottom:16px;">2️⃣</div>
492
+ <h3>Configure Permissions</h3>
493
+ <p>Use the dashboard to fine-tune which actions AI agents can perform. Block sensitive areas and set rate limits.</p>
494
+ </div>
495
+ <div class="card" style="text-align:center;">
496
+ <div style="font-size:2.5rem; margin-bottom:16px;">3️⃣</div>
497
+ <h3>AI Agents Connect</h3>
498
+ <p>AI agents read <code>window.AICommands</code>, discover available actions, and execute them precisely — no DOM scraping needed.</p>
499
+ </div>
500
+ </div>
501
+
502
+ <div style="margin-top:48px;">
503
+ <div class="code-block">
504
+ <div class="code-header">
505
+ <div class="code-dots"><span></span><span></span><span></span></div>
506
+ <span class="code-lang">JavaScript — AI Agent Side</span>
507
+ </div>
508
+ <div class="code-body">
509
+ <pre><span class="cm">// AI Agent reads available commands</span>
510
+ <span class="kw">const</span> bridge = window.<span class="prop">AICommands</span>;
511
+
512
+ <span class="cm">// Discover all available actions</span>
513
+ <span class="kw">const</span> actions = bridge.<span class="fn">getActions</span>();
514
+ console.<span class="fn">log</span>(actions);
515
+ <span class="cm">// → [{ name: "signup", trigger: "click", ... }, ...]</span>
516
+
517
+ <span class="cm">// Execute a form fill action</span>
518
+ <span class="kw">const</span> result = <span class="kw">await</span> bridge.<span class="fn">execute</span>(<span class="str">"fill_contact_form"</span>, {
519
+ <span class="prop">name</span>: <span class="str">"John Doe"</span>,
520
+ <span class="prop">email</span>: <span class="str">"john@example.com"</span>,
521
+ <span class="prop">message</span>: <span class="str">"Hello from AI!"</span>
522
+ });
523
+
524
+ <span class="cm">// Wait for dynamic content</span>
525
+ <span class="kw">await</span> bridge.<span class="fn">waitForElement</span>(<span class="str">".success-message"</span>);</pre>
526
+ </div>
527
+ </div>
528
+ </div>
529
+ </div>
530
+ </section>
531
+
532
+ <!-- ═══════════ PRICING ═══════════ -->
533
+ <section class="section" id="pricing">
534
+ <div class="container">
535
+ <div class="section-header">
536
+ <span class="label">Pricing</span>
537
+ <h2>Simple, Transparent Pricing</h2>
538
+ <p>Start free, upgrade when you need advanced features. Open source forever.</p>
539
+ </div>
540
+
541
+ <div class="grid-3" id="pricing-grid" data-pricing-grid>
542
+ <!-- Server-rendered fallback. Replaced live by /api/plans on page load. -->
543
+ <div class="pricing-card">
544
+ <div class="pricing-tier">Free</div>
545
+ <div class="pricing-price">€0 <span>/mo</span></div>
546
+ <div class="pricing-desc">Open-source core, free forever.</div>
547
+ <ul class="pricing-features">
548
+ <li>WAP protocol &amp; SDK</li>
549
+ <li>DNS / .well-known discovery</li>
550
+ <li>Browser execution layer</li>
551
+ <li>MCP / REST adapters</li>
552
+ <li>Basic agent registration</li>
553
+ </ul>
554
+ <a href="/register" class="btn btn-secondary" style="width:100%;">Get Started Free</a>
555
+ </div>
556
+
557
+ <div class="pricing-card featured">
558
+ <div class="pricing-tier">Pro</div>
559
+ <div class="pricing-price">€10 <span>/mo</span></div>
560
+ <div class="pricing-desc">For developers shipping production agents.</div>
561
+ <ul class="pricing-features">
562
+ <li>Everything in Free</li>
563
+ <li>Workspace &amp; observability</li>
564
+ <li>Replay engine</li>
565
+ <li>Advanced orchestration</li>
566
+ <li>Advanced analytics &amp; data extraction</li>
567
+ </ul>
568
+ <a href="/register" class="btn btn-primary" style="width:100%;">Start Pro</a>
569
+ </div>
570
+
571
+ <div class="pricing-card">
572
+ <div class="pricing-tier">Business</div>
573
+ <div class="pricing-price">€29 <span>/mo</span></div>
574
+ <div class="pricing-desc">All paid features, ready for scale.</div>
575
+ <ul class="pricing-features">
576
+ <li>Everything in Pro</li>
577
+ <li>Hosted runtime &amp; marketplace</li>
578
+ <li>Vision, swarm, traffic intel</li>
579
+ <li>Audit logs &amp; custom domain</li>
580
+ <li>Agent governance layer</li>
581
+ </ul>
582
+ <a href="/register" class="btn btn-secondary" style="width:100%;">Start Business</a>
583
+ </div>
584
+
585
+ <div class="pricing-card">
586
+ <div class="pricing-tier">Enterprise</div>
587
+ <div class="pricing-price">Custom</div>
588
+ <div class="pricing-desc">Custom-built for organisations.</div>
589
+ <ul class="pricing-features">
590
+ <li>Everything in Business</li>
591
+ <li>Enterprise security &amp; SSO</li>
592
+ <li>Dedicated infrastructure</li>
593
+ <li>Priority support &amp; SLA</li>
594
+ <li>Custom development</li>
595
+ </ul>
596
+ <a href="mailto:sales@webagentbridge.com" class="btn btn-secondary" style="width:100%;">Contact Sales</a>
597
+ </div>
598
+ </div>
599
+ <script>
600
+ (function () {
601
+ var GRID = document.getElementById('pricing-grid');
602
+ if (!GRID) return;
603
+ var FEATURED_ID = 'pro';
604
+ function esc(s){return String(s==null?'':s).replace(/[&<>"']/g,function(c){return ({'&':'&amp;','<':'&lt;','>':'&gt;','"':'&quot;',"'":'&#39;'})[c];});}
605
+ function fmtPrice(p){
606
+ if (p.billing_period === 'custom' || p.cta_type === 'contact') return 'Custom';
607
+ if (!p.price_cents) return (p.currency==='EUR'?'€':p.currency==='USD'?'$':p.currency+' ') + '0 <span>/' + esc(p.billing_period) + '</span>';
608
+ var sym = p.currency === 'EUR' ? '€' : (p.currency === 'USD' ? '$' : p.currency + ' ');
609
+ return sym + (p.price_cents/100).toFixed(p.price_cents % 100 === 0 ? 0 : 2) + ' <span>/' + esc(p.billing_period) + '</span>';
610
+ }
611
+ function ctaHref(p){
612
+ if (p.cta_type === 'contact') return p.cta_url || 'mailto:sales@webagentbridge.com';
613
+ if (p.cta_type === 'external') return p.cta_url || '/register';
614
+ if (p.cta_type === 'register') return p.cta_url || '/register';
615
+ // checkout send authenticated users straight to dashboard?plan=…, anonymous to register first.
616
+ return '/register?plan=' + encodeURIComponent(p.id);
617
+ }
618
+ function topFeatures(plan, catalog, max){
619
+ var labels = catalog.reduce(function(m,f){m[f.key]=f.label;return m;},{});
620
+ var keys = Object.keys(plan.features||{}).filter(function(k){return plan.features[k];});
621
+ // Prefer non-open-source labels (the differentiators) when listing.
622
+ var nonOpen = keys.filter(function(k){var f=catalog.find(function(x){return x.key===k;});return f && !f.is_open_source;});
623
+ var pick = nonOpen.length ? nonOpen : keys;
624
+ return pick.slice(0, max).map(function(k){return labels[k] || k;});
625
+ }
626
+ function render(plans, catalog){
627
+ if (!plans || !plans.length) return;
628
+ var html = plans.map(function(p){
629
+ var feats = topFeatures(p, catalog, 6);
630
+ var ctaCls = p.highlight ? 'btn-primary' : 'btn-secondary';
631
+ return ''
632
+ + '<div class="pricing-card' + (p.highlight ? ' featured' : '') + '">'
633
+ + '<div class="pricing-tier">' + esc(p.name) + '</div>'
634
+ + '<div class="pricing-price">' + fmtPrice(p) + '</div>'
635
+ + '<div class="pricing-desc">' + esc(p.tagline || p.description || '') + '</div>'
636
+ + '<ul class="pricing-features">'
637
+ + feats.map(function(f){return '<li>' + esc(f) + '</li>';}).join('')
638
+ + '</ul>'
639
+ + '<a href="' + esc(ctaHref(p)) + '" class="btn ' + ctaCls + '" style="width:100%;">' + esc(p.cta_label || 'Get started') + '</a>'
640
+ + '</div>';
641
+ }).join('');
642
+ GRID.innerHTML = html;
643
+ GRID.style.gridTemplateColumns = 'repeat(' + Math.min(4, plans.length) + ', 1fr)';
644
+ }
645
+ fetch('/api/plans', { credentials: 'omit' })
646
+ .then(function(r){ return r.ok ? r.json() : null; })
647
+ .then(function(d){ if (d && d.plans) render(d.plans, d.features || []); })
648
+ .catch(function(){ /* keep server fallback */ });
649
+ })();
650
+ </script>
651
+ </div>
652
+ </section>
653
+
654
+ <!-- ═══════════ FRAMEWORK PACKAGES ═══════════ -->
655
+ <section class="section" id="packages" style="background: var(--bg-secondary);">
656
+ <div class="container">
657
+ <div class="section-header">
658
+ <span class="label">Packages</span>
659
+ <h2>Use WAB with Your Favorite Framework</h2>
660
+ <p>Official packages for React, Vue, Svelte, and LangChain — with full TypeScript support.</p>
661
+ </div>
662
+
663
+ <div class="grid-3">
664
+ <div class="card fade-in" style="text-align:center;">
665
+ <div style="font-size:2.5rem; margin-bottom:16px;">⚛️</div>
666
+ <h3>React</h3>
667
+ <p><code>@web-agent-bridge/react</code></p>
668
+ <p style="color:var(--text-secondary); font-size:0.9rem; margin-top:8px;">Hooks: <code>useWAB</code>, <code>useWABAction</code>, <code>useWABActions</code> + <code>WABProvider</code> for auto-loading the script.</p>
669
+ <div class="code-block" style="margin-top:16px; text-align:left;">
670
+ <div class="code-body" style="padding:12px; font-size:0.82rem;">
671
+ <pre><span class="kw">const</span> { run, result } = <span class="fn">useWABAction</span>(<span class="str">'addToCart'</span>);
672
+ <span class="kw">await</span> <span class="fn">run</span>({ <span class="prop">sku</span>: <span class="str">'ABC123'</span> });</pre>
673
+ </div>
674
+ </div>
675
+ </div>
676
+ <div class="card fade-in fade-in-delay-1" style="text-align:center;">
677
+ <div style="font-size:2.5rem; margin-bottom:16px;">💚</div>
678
+ <h3>Vue 3</h3>
679
+ <p><code>@web-agent-bridge/vue</code></p>
680
+ <p style="color:var(--text-secondary); font-size:0.9rem; margin-top:8px;">Composables: <code>useWAB</code>, <code>useWABAction</code>, <code>useWABActions</code> — reactive refs with loading/error/result state.</p>
681
+ <div class="code-block" style="margin-top:16px; text-align:left;">
682
+ <div class="code-body" style="padding:12px; font-size:0.82rem;">
683
+ <pre><span class="kw">const</span> cart = <span class="fn">useWABAction</span>(<span class="str">'addToCart'</span>);
684
+ <span class="kw">await</span> cart.<span class="fn">run</span>({ <span class="prop">sku</span>: <span class="str">'ABC123'</span> });
685
+ <span class="cm">// cart.result.value, cart.loading.value</span></pre>
686
+ </div>
687
+ </div>
688
+ </div>
689
+ <div class="card fade-in fade-in-delay-2" style="text-align:center;">
690
+ <div style="font-size:2.5rem; margin-bottom:16px;">🔥</div>
691
+ <h3>Svelte</h3>
692
+ <p><code>@web-agent-bridge/svelte</code></p>
693
+ <p style="color:var(--text-secondary); font-size:0.9rem; margin-top:8px;">Stores: <code>createWAB</code>, <code>createWABAction</code> — subscribe to <code>$store</code> for reactive state.</p>
694
+ <div class="code-block" style="margin-top:16px; text-align:left;">
695
+ <div class="code-body" style="padding:12px; font-size:0.82rem;">
696
+ <pre><span class="kw">const</span> cart = <span class="fn">createWABAction</span>(<span class="str">'addToCart'</span>);
697
+ <span class="kw">await</span> cart.<span class="fn">run</span>({ <span class="prop">sku</span>: <span class="str">'ABC123'</span> });
698
+ <span class="cm">// {#if $cart.loading}Adding...{/if}</span></pre>
699
+ </div>
700
+ </div>
701
+ </div>
702
+ </div>
703
+ </div>
704
+ </section>
705
+
706
+ <!-- ═══════════ LLM / AGENT INTEGRATION ═══════════ -->
707
+ <section class="section" id="integrations">
708
+ <div class="container">
709
+ <div class="section-header">
710
+ <span class="label">Agent Integrations</span>
711
+ <h2>Connect Any AI Agent Framework</h2>
712
+ <p>Use WAB with LangChain, MCP, or build your own agent every action becomes a tool the LLM can call.</p>
713
+ </div>
714
+
715
+ <div class="grid-3">
716
+ <div class="card fade-in" style="text-align:center;">
717
+ <div style="font-size:2.5rem; margin-bottom:16px;">🦜</div>
718
+ <h3>LangChain / LangGraph</h3>
719
+ <p><code>@web-agent-bridge/langchain</code></p>
720
+ <p style="color:var(--text-secondary); font-size:0.9rem; margin-top:8px;">WABToolkit wraps every WAB action as a LangChain <code>StructuredTool</code>. Works in HTTP mode (server) or browser mode (Puppeteer).</p>
721
+ <div class="code-block" style="margin-top:16px; text-align:left;">
722
+ <div class="code-body" style="padding:12px; font-size:0.82rem;">
723
+ <pre><span class="kw">const</span> tk = <span class="kw">new</span> <span class="fn">WABToolkit</span>({ <span class="prop">siteUrl</span>: <span class="str">'https://shop.example.com'</span> });
724
+ <span class="kw">const</span> tools = <span class="kw">await</span> tk.<span class="fn">getTools</span>();
725
+ <span class="cm">// Pass tools to any LangChain agent</span></pre>
726
+ </div>
727
+ </div>
728
+ </div>
729
+ <div class="card fade-in fade-in-delay-1" style="text-align:center;">
730
+ <div style="font-size:2.5rem; margin-bottom:16px;">🔗</div>
731
+ <h3>MCP Adapter</h3>
732
+ <p><code>wab-mcp-adapter</code></p>
733
+ <p style="color:var(--text-secondary); font-size:0.9rem; margin-top:8px;">Converts WAB actions into MCP tools so any MCP-compatible agent (Claude, etc.) can interact with WAB sites through MCP.</p>
734
+ <div class="code-block" style="margin-top:16px; text-align:left;">
735
+ <div class="code-body" style="padding:12px; font-size:0.82rem;">
736
+ <pre><span class="kw">const</span> adapter = <span class="kw">new</span> <span class="fn">WABMCPAdapter</span>({ <span class="prop">siteUrl</span>: <span class="str">'...'</span> });
737
+ <span class="kw">const</span> tools = adapter.<span class="fn">listTools</span>();
738
+ <span class="cm">// Built-in: discover, execute, read, search</span></pre>
739
+ </div>
740
+ </div>
741
+ </div>
742
+ <div class="card fade-in fade-in-delay-2" style="text-align:center;">
743
+ <div style="font-size:2.5rem; margin-bottom:16px;">🧰</div>
744
+ <h3>Agent SDK</h3>
745
+ <p><code>web-agent-bridge/sdk</code></p>
746
+ <p style="color:var(--text-secondary); font-size:0.9rem; margin-top:8px;">First-class Puppeteer/Playwright SDK with pipeline execution, parallel actions, screenshot capture, and consent-aware workflows.</p>
747
+ <div class="code-block" style="margin-top:16px; text-align:left;">
748
+ <div class="code-body" style="padding:12px; font-size:0.82rem;">
749
+ <pre><span class="kw">const</span> agent = <span class="kw">new</span> <span class="fn">WABAgent</span>(page);
750
+ <span class="kw">await</span> agent.<span class="fn">waitForConsent</span>();
751
+ <span class="kw">await</span> agent.<span class="fn">runPipeline</span>([...steps]);</pre>
752
+ </div>
753
+ </div>
754
+ </div>
755
+ </div>
756
+ </div>
757
+ </section>
758
+
759
+ <!-- ═══════════ EXAMPLES ═══════════ -->
760
+ <section class="section" id="examples" style="background: var(--bg-secondary);">
761
+ <div class="container">
762
+ <div class="section-header">
763
+ <span class="label">Examples</span>
764
+ <h2>Framework &amp; CMS Integration Examples</h2>
765
+ <p>Ready-to-use examples for popular platforms — see how WAB fits into your stack.</p>
766
+ </div>
767
+
768
+ <div class="grid-3">
769
+ <div class="card fade-in" style="text-align:center;">
770
+ <div style="font-size:2.2rem; margin-bottom:12px;">▲</div>
771
+ <h3>Next.js App Router</h3>
772
+ <p style="color:var(--text-secondary); font-size:0.9rem;">React Server Components + WABProvider for client-side bridge with <code>useWABAction</code> hooks.</p>
773
+ </div>
774
+ <div class="card fade-in fade-in-delay-1" style="text-align:center;">
775
+ <div style="font-size:2.2rem; margin-bottom:12px;">🛍️</div>
776
+ <h3>Shopify Hydrogen</h3>
777
+ <p style="color:var(--text-secondary); font-size:0.9rem;">Hydrogen storefront with cart actions: <code>getCartCount</code>, <code>addFirstVisibleProductToCart</code>.</p>
778
+ </div>
779
+ <div class="card fade-in fade-in-delay-2" style="text-align:center;">
780
+ <div style="font-size:2.2rem; margin-bottom:12px;">📝</div>
781
+ <h3>WordPress + Elementor</h3>
782
+ <p style="color:var(--text-secondary); font-size:0.9rem;">Elementor page builder + WAB schema scanner for auto-discovered product and form actions.</p>
783
+ </div>
784
+ <div class="card fade-in" style="text-align:center;">
785
+ <div style="font-size:2.2rem; margin-bottom:12px;">📊</div>
786
+ <h3>SaaS Dashboard</h3>
787
+ <p style="color:var(--text-secondary); font-size:0.9rem;">Notion-style SaaS with KPI reads, customer lookup, and invoice workflow triggers.</p>
788
+ </div>
789
+ <div class="card fade-in fade-in-delay-1" style="text-align:center;">
790
+ <div style="font-size:2.2rem; margin-bottom:12px;">🤖</div>
791
+ <h3>Puppeteer Agent</h3>
792
+ <p style="color:var(--text-secondary); font-size:0.9rem;">Headless browser agent that discovers and executes actions automatically via the SDK.</p>
793
+ </div>
794
+ <div class="card fade-in fade-in-delay-2" style="text-align:center;">
795
+ <div style="font-size:2.2rem; margin-bottom:12px;">👁️</div>
796
+ <h3>Vision Agent</h3>
797
+ <p style="color:var(--text-secondary); font-size:0.9rem;">Natural language intent resolution — "add product to cart" maps to the right WAB action.</p>
798
+ </div>
799
+ </div>
800
+
801
+ <div style="text-align:center; margin-top:32px;">
802
+ <a href="https://github.com/abokenan444/web-agent-bridge/tree/master/examples" class="btn btn-secondary" target="_blank" rel="noopener">View All Examples on GitHub →</a>
803
+ </div>
804
+ </div>
805
+ </section>
806
+
807
+ <!-- ═══════════ GROWTH SUITE ═══════════ -->
808
+ <section class="section" id="growth-suite" style="background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); color: #fff;">
809
+ <div class="container" style="text-align:center;">
810
+ <div style="display:inline-block; background:rgba(59,130,246,0.15); color:#60a5fa; padding:6px 16px; border-radius:20px; font-size:13px; font-weight:600; margin-bottom:20px;">WAB Growth Suite v2.5</div>
811
+ <h2 style="margin-bottom:16px; color:#fff;">8 Modules to Protect & Power the Web</h2>
812
+ <p style="color:#94a3b8; max-width:600px; margin:0 auto 40px; font-size:1.05rem; line-height:1.6;">
813
+ From link protection widgets to AI safety layers, bounty networks to threat intelligence — everything you need to build a safer, fairer web.
814
+ </p>
815
+ <div style="display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:16px; max-width:960px; margin:0 auto 40px;">
816
+ <div style="background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:20px;">
817
+ <div style="font-size:28px; margin-bottom:8px;">🛡️</div>
818
+ <div style="font-weight:700; font-size:15px;">WAB Widget</div>
819
+ <div style="color:#94a3b8; font-size:13px; margin-top:4px;">Drop-in link protection</div>
820
+ </div>
821
+ <div style="background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:20px;">
822
+ <div style="font-size:28px; margin-bottom:8px;">🤖</div>
823
+ <div style="font-weight:700; font-size:15px;">AI Safety Layer</div>
824
+ <div style="color:#94a3b8; font-size:13px; margin-top:4px;">Security for AI agents</div>
825
+ </div>
826
+ <div style="background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:20px;">
827
+ <div style="font-size:28px; margin-bottom:8px;">📊</div>
828
+ <div style="font-weight:700; font-size:15px;">WAB Score</div>
829
+ <div style="color:#94a3b8; font-size:13px; margin-top:4px;">Platform credit rating</div>
830
+ </div>
831
+ <div style="background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:20px;">
832
+ <div style="font-size:28px; margin-bottom:8px;">💰</div>
833
+ <div style="font-weight:700; font-size:15px;">Bounty Network</div>
834
+ <div style="color:#94a3b8; font-size:13px; margin-top:4px;">Earn by finding scams</div>
835
+ </div>
836
+ </div>
837
+ <a href="/growth" class="btn btn-primary btn-lg">Explore All 8 Modules →</a>
838
+ </div>
839
+ </section>
840
+
841
+ <!-- ═══════════ 1. WAB WIDGET ═══════════ -->
842
+ <section class="wab-widget-section" style="padding: 80px 20px; background: #f8fafc; text-align: center;">
843
+ <div style="max-width: 800px; margin: 0 auto;">
844
+ <h2 style="font-size: 36px; color: #0f172a; margin-bottom: 16px;">One Line of Code. Full Link Protection.</h2>
845
+ <p style="font-size: 18px; color: #64748b; margin-bottom: 32px;">
846
+ Add a <strong>WAB Widget</strong> next to every external link on your site, blocking phishing and scam URLs in real-time for your visitors.
847
+ </p>
848
+ <div style="background: #0f172a; color: #e2e8f0; padding: 24px; border-radius: 12px; font-family: 'JetBrains Mono', monospace; font-size: 14px; text-align: left; margin-bottom: 24px; overflow-x: auto;">
849
+ <span style="color:#f472b6">&lt;script</span> <span style="color:#a78bfa">src</span>=<span style="color:#86efac">"https://webagentbridge.com/script/ai-agent-bridge.js"</span><br>
850
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#a78bfa">data-wab-key</span>=<span style="color:#86efac">"YOUR_API_KEY"</span><span style="color:#f472b6">&gt;&lt;/script&gt;</span>
851
+ </div>
852
+ <div style="display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;">
853
+ <a href="/growth#modules" class="btn btn-primary">See Widget Demo</a>
854
+ <a href="/workspace" class="btn btn-secondary">Get Your API Key →</a>
855
+ </div>
856
+ </div>
857
+ </section>
858
+
859
+ <!-- ═══════════ 2. AI SAFETY LAYER ═══════════ -->
860
+ <section class="ai-safety-section" style="padding: 80px 20px; background: #0f172a; color: #fff;">
861
+ <div style="max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;">
862
+ <div>
863
+ <div style="color: #3b82f6; font-weight: 700; margin-bottom: 8px; letter-spacing: 1px; font-size: 12px;">FOR AI COMPANIES</div>
864
+ <h2 style="font-size: 32px; margin-bottom: 16px;">Mandatory Safety for AI Agents</h2>
865
+ <p style="color: #94a3b8; font-size: 16px; line-height: 1.6; margin-bottom: 24px;">
866
+ Building an AI agent that browses the web? Use <strong>WAB AI Safety Layer</strong> as a mandatory security wrapper. It scans every URL before your agent visits it.
867
+ </p>
868
+ <ul style="list-style: none; padding: 0; color: #cbd5e1; margin-bottom: 32px;">
869
+ <li style="margin-bottom: 12px;">✅ Compatible with OpenAI Operator &amp; Anthropic Computer Use</li>
870
+ <li style="margin-bottom: 12px;">✅ Blocks fraudulent financial transactions automatically</li>
871
+ <li style="margin-bottom: 12px;">✅ Lifts legal liability from your company</li>
872
+ </ul>
873
+ <a href="/docs" class="btn btn-primary">Read AI Safety Docs →</a>
874
+ </div>
875
+ <div style="background: #1e293b; padding: 24px; border-radius: 16px; border: 1px solid #334155; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.7; overflow-x: auto;">
876
+ <span style="color:#c678dd">import</span> { WABAgentWrapper } <span style="color:#c678dd">from</span> <span style="color:#98c379">'@wab/sdk'</span>;<br><br>
877
+ <span style="color:#5c6370">// Wrap your AI Agent with WAB Safety</span><br>
878
+ <span style="color:#c678dd">const</span> safeAgent = <span style="color:#c678dd">new</span> <span style="color:#61afef">WABAgentWrapper</span>(myAgent, {<br>
879
+ &nbsp;&nbsp;<span style="color:#d19a66">blockCritical</span>: <span style="color:#d19a66">true</span>,<br>
880
+ &nbsp;&nbsp;<span style="color:#d19a66">minFairness</span>: <span style="color:#d19a66">60</span>,<br>
881
+ });<br><br>
882
+ <span style="color:#5c6370">// WAB will block this if the site is a scam</span><br>
883
+ <span style="color:#c678dd">await</span> safeAgent.<span style="color:#61afef">browse</span>(<span style="color:#98c379">'https://scam-site.xyz'</span>);<br>
884
+ <span style="color:#e06c75">→ WABBlockedError: Phishing detected</span>
885
+ </div>
886
+ </div>
887
+ </section>
888
+
889
+ <!-- ═══════════ 3. WAB SCORE ═══════════ -->
890
+ <section class="wab-score-section" style="padding: 80px 20px; background: white; text-align: center;">
891
+ <div style="max-width: 800px; margin: 0 auto;">
892
+ <h2 style="font-size: 36px; color: #0f172a; margin-bottom: 16px;">The Digital World's Credit Rating</h2>
893
+ <p style="font-size: 18px; color: #64748b; margin-bottom: 40px;">
894
+ Like credit agencies rate banks, <strong>WAB Score</strong> rates digital platforms. Search any platform and get a transparency score based on 15 fairness signals.
895
+ </p>
896
+ <div style="display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 40px;">
897
+ <div style="border: 2px solid #22c55e; border-radius: 12px; padding: 16px 24px; display: flex; align-items: center; gap: 12px; background: #fff;">
898
+ <div style="font-size: 32px; font-weight: 900; color: #22c55e; line-height: 1;">A-</div>
899
+ <div>
900
+ <div style="font-weight: 700; color: #1e293b;">Very Good</div>
901
+ <div style="font-size: 12px; color: #64748b;">86/100 · amazon.com</div>
902
+ </div>
903
+ </div>
904
+ <div style="border: 2px solid #f59e0b; border-radius: 12px; padding: 16px 24px; display: flex; align-items: center; gap: 12px; background: #fff;">
905
+ <div style="font-size: 32px; font-weight: 900; color: #f59e0b; line-height: 1;">C+</div>
906
+ <div>
907
+ <div style="font-weight: 700; color: #1e293b;">Below Average</div>
908
+ <div style="font-size: 12px; color: #64748b;">68/100 · aliexpress.com</div>
909
+ </div>
910
+ </div>
911
+ </div>
912
+ <form action="/score" method="GET" style="display: flex; max-width: 500px; margin: 0 auto; gap: 8px;">
913
+ <input type="text" name="domain" placeholder="Enter platform domain (e.g. shein.com)" style="flex: 1; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 15px;">
914
+ <button type="submit" style="background: #0f172a; color: white; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 700; cursor: pointer;">Check Score</button>
915
+ </form>
916
+ </div>
917
+ </section>
918
+
919
+ <!-- ═══════════ 4. TRUST LAYER PROTOCOL ═══════════ -->
920
+ <section style="padding: 60px 20px; background: #f1f5f9; border-top: 1px solid #e2e8f0;">
921
+ <div style="max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 40px; flex-wrap: wrap;">
922
+ <div style="flex: 1; min-width: 280px;">
923
+ <h3 style="font-size: 24px; color: #0f172a; margin-bottom: 12px;">The Open Trust Protocol</h3>
924
+ <p style="color: #475569; line-height: 1.6; margin-bottom: 20px;">
925
+ Prove to your customers that your store is fair and safe. Add a <code>wab.json</code> file to your site and print a verified trust badge — the SSL padlock for platform fairness.
926
+ </p>
927
+ <a href="/docs" style="color: #3b82f6; font-weight: 600; text-decoration: none;">Learn how to get WAB Certified →</a>
928
+ </div>
929
+ <div style="flex: 1; min-width: 280px; background: white; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0;">
930
+ <div style="font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #334155;">
931
+ <span style="color:#94a3b8">// /.well-known/wab.json</span><br>
932
+ {<br>
933
+ &nbsp;&nbsp;"wab_certified": <span style="color:#22c55e">true</span>,<br>
934
+ &nbsp;&nbsp;"fairness_score": <span style="color:#3b82f6">92</span>,<br>
935
+ &nbsp;&nbsp;"last_audit": <span style="color:#a3e635">"2026-04-01"</span><br>
936
+ }
937
+ </div>
938
+ </div>
939
+ </div>
940
+ </section>
941
+
942
+ <!-- ═══════════ 5. BOUNTY NETWORK ═══════════ -->
943
+ <section style="padding: 80px 20px; background: #0f172a; color: white; text-align: center;">
944
+ <div style="max-width: 700px; margin: 0 auto;">
945
+ <div style="font-size: 48px; margin-bottom: 16px;">💰</div>
946
+ <h2 style="font-size: 36px; margin-bottom: 16px;">Earn Money by Discovering Fraud</h2>
947
+ <p style="font-size: 18px; color: #94a3b8; margin-bottom: 32px; line-height: 1.6;">
948
+ Join the <strong>WAB Bounty Network</strong> and report phishing, scams, and malware that automated systems haven't caught yet. Earn credits redeemable for cash.
949
+ </p>
950
+ <div style="display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; flex-wrap: wrap;">
951
+ <div style="background: #1e293b; padding: 16px 24px; border-radius: 8px;">
952
+ <div style="font-size: 24px; font-weight: 700; color: #ef4444;">50 Credits</div>
953
+ <div style="font-size: 13px; color: #94a3b8;">Critical Threats</div>
954
+ </div>
955
+ <div style="background: #1e293b; padding: 16px 24px; border-radius: 8px;">
956
+ <div style="font-size: 24px; font-weight: 700; color: #f59e0b;">25 Credits</div>
957
+ <div style="font-size: 13px; color: #94a3b8;">Confirmed Scams</div>
958
+ </div>
959
+ </div>
960
+ <a href="/register" class="btn btn-primary btn-lg">Start Earning →</a>
961
+ </div>
962
+ </section>
963
+
964
+ <!-- ═══════════ 6. DATA MARKETPLACE ═══════════ -->
965
+ <section style="padding: 80px 20px; background: white;">
966
+ <div style="max-width: 1000px; margin: 0 auto; text-align: center;">
967
+ <h2 style="font-size: 32px; color: #0f172a; margin-bottom: 16px;">Threat Intelligence for AI &amp; Security</h2>
968
+ <p style="font-size: 18px; color: #64748b; margin-bottom: 48px; max-width: 700px; margin-left: auto; margin-right: auto;">
969
+ <strong>WAB Data Marketplace</strong> provides curated threat intelligence datasets for cybersecurity companies and AI model training.
970
+ </p>
971
+ <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;">
972
+ <div style="border: 1px solid #e2e8f0; padding: 24px; border-radius: 12px; text-align: left;">
973
+ <h4 style="font-size: 18px; margin-bottom: 8px; color: #0f172a;">Threat Intelligence Feed</h4>
974
+ <p style="color: #64748b; font-size: 14px; margin-bottom: 16px;">Real-time phishing, malware, and scam URL data from 47 databases. Updated continuously.</p>
975
+ <a href="/workspace" style="color: #3b82f6; font-weight: 600; text-decoration: none;">Explore Data →</a>
976
+ </div>
977
+ <div style="border: 1px solid #e2e8f0; padding: 24px; border-radius: 12px; text-align: left;">
978
+ <h4 style="font-size: 18px; margin-bottom: 8px; color: #0f172a;">Platform Fairness Data</h4>
979
+ <p style="color: #64748b; font-size: 14px; margin-bottom: 16px;">Quarterly transparency scores for 500+ marketplaces — hidden fees, return policies, dark patterns.</p>
980
+ <a href="/workspace" style="color: #3b82f6; font-weight: 600; text-decoration: none;">Explore Data →</a>
981
+ </div>
982
+ <div style="border: 1px solid #e2e8f0; padding: 24px; border-radius: 12px; text-align: left;">
983
+ <h4 style="font-size: 18px; margin-bottom: 8px; color: #0f172a;">Affiliate Intelligence</h4>
984
+ <p style="color: #64748b; font-size: 14px; margin-bottom: 16px;">Commission benchmarks, fraud patterns, and network reliability scores across all major affiliate platforms.</p>
985
+ <a href="/workspace" style="color: #3b82f6; font-weight: 600; text-decoration: none;">Explore Data →</a>
986
+ </div>
987
+ </div>
988
+ </div>
989
+ </section>
990
+
991
+ <!-- ═══════════ 7. EMAIL PROTECTION ═══════════ -->
992
+ <section style="padding: 60px 20px; background: #f8fafc;">
993
+ <div style="max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 40px; flex-wrap: wrap;">
994
+ <div style="flex: 1; min-width: 280px;">
995
+ <h3 style="font-size: 28px; color: #0f172a; margin-bottom: 16px;">Email Protection</h3>
996
+ <p style="color: #475569; font-size: 16px; line-height: 1.6; margin-bottom: 24px;">
997
+ 94% of cyber breaches start with a phishing email. Install the WAB extension and every link and sender in your inbox gets scanned by WAB automatically.
998
+ </p>
999
+ <div style="display: flex; gap: 12px; flex-wrap: wrap;">
1000
+ <a href="/downloads" style="background: #fff; border: 1px solid #cbd5e1; padding: 10px 20px; border-radius: 8px; text-decoration: none; color: #1e293b; font-weight: 600; font-size: 14px;">🌐 Chrome Extension</a>
1001
+ <a href="/downloads" style="background: #fff; border: 1px solid #cbd5e1; padding: 10px 20px; border-radius: 8px; text-decoration: none; color: #1e293b; font-weight: 600; font-size: 14px;">🦊 Firefox Add-on</a>
1002
+ </div>
1003
+ </div>
1004
+ <div style="flex: 1; min-width: 280px; background: white; padding: 16px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);">
1005
+ <div style="background: #fef2f2; border-left: 4px solid #ef4444; padding: 12px 16px; border-radius: 4px; margin-bottom: 16px;">
1006
+ <strong style="color: #991b1b; font-size: 13px;">🚫 WAB Security Alert:</strong>
1007
+ <span style="color: #991b1b; font-size: 13px;"> Dangerous link detected</span>
1008
+ <div style="color: #b91c1c; font-size: 12px; margin-top: 4px;">PHISHING DETECTED — paypa1-secure-login.xyz scored 95/100 risk</div>
1009
+ </div>
1010
+ <div style="height: 12px; background: #f1f5f9; width: 60%; margin-bottom: 8px; border-radius: 4px;"></div>
1011
+ <div style="height: 12px; background: #f1f5f9; width: 80%; margin-bottom: 8px; border-radius: 4px;"></div>
1012
+ <div style="height: 12px; background: #f1f5f9; width: 40%; border-radius: 4px;"></div>
1013
+ </div>
1014
+ </div>
1015
+ </section>
1016
+
1017
+ <!-- ═══════════ 8. AFFILIATE INTELLIGENCE ═══════════ -->
1018
+ <section style="padding: 80px 20px; background: #0f172a; color: white; text-align: center;">
1019
+ <div style="max-width: 800px; margin: 0 auto;">
1020
+ <h2 style="font-size: 36px; margin-bottom: 16px;">Are Affiliate Networks Stealing Your Commissions?</h2>
1021
+ <p style="font-size: 18px; color: #94a3b8; margin-bottom: 32px; line-height: 1.6;">
1022
+ <strong>WAB Affiliate Intelligence</strong> analyzes your affiliate data and compares it with industry benchmarks to detect commission shaving, cookie stuffing, and payment delays.
1023
+ </p>
1024
+ <div style="background: #1e293b; border: 1px solid #334155; border-radius: 16px; padding: 24px; text-align: left; max-width: 600px; margin: 0 auto 32px; font-family: 'JetBrains Mono', monospace;">
1025
+ <div style="display: flex; justify-content: space-between; border-bottom: 1px solid #334155; padding-bottom: 12px; margin-bottom: 12px;">
1026
+ <div>
1027
+ <div style="color: #94a3b8; font-size: 12px; margin-bottom: 4px;">Network</div>
1028
+ <div style="font-weight: 700; font-size: 16px;">ClickBank</div>
1029
+ </div>
1030
+ <div style="text-align: right;">
1031
+ <div style="color: #94a3b8; font-size: 12px; margin-bottom: 4px;">Fraud Risk</div>
1032
+ <div style="font-weight: 700; font-size: 16px; color: #f59e0b;">MEDIUM</div>
1033
+ </div>
1034
+ </div>
1035
+ <div style="color: #cbd5e1; font-size: 14px; margin-bottom: 8px;">⚠️ <strong>Commission Shaving:</strong> 12% of valid sales cancelled</div>
1036
+ <div style="color: #cbd5e1; font-size: 14px;">⚠️ <strong>Payment Delays:</strong> Average 45 days vs industry 30</div>
1037
+ </div>
1038
+ <a href="/register" class="btn btn-primary btn-lg">Analyze Your Networks →</a>
1039
+ </div>
1040
+ </section>
1041
+
1042
+ <!-- ═══════════ LATEST ADDITIONS ═══════════ -->
1043
+ <section class="section" id="latest-additions" style="background: var(--bg-secondary);">
1044
+ <div class="container">
1045
+ <div class="section-header">
1046
+ <span class="label">Latest Additions</span>
1047
+ <h2>All New Modules, Integrations &amp; Security Layers</h2>
1048
+ <p>Everything added recently is listed here with direct links, so teams and users can immediately open what they need.</p>
1049
+ </div>
1050
+
1051
+ <div class="grid-3">
1052
+ <div class="card fade-in" style="border-left:3px solid #0ea5e9;">
1053
+ <div class="card-icon cyan">📱</div>
1054
+ <h3>Sovereign Phone Shield</h3>
1055
+ <p>Communication protection stack with behavioral IDS, threat-intel feed, community reporting, and personal vault encryption.</p>
1056
+ <ul style="margin-top:10px;font-size:0.85rem;color:var(--text-secondary);list-style:disc;padding-left:20px;">
1057
+ <li>Connection analysis: allow / warn / block</li>
1058
+ <li>Mobile device telemetry endpoints</li>
1059
+ <li>AES-256-GCM personal vault</li>
1060
+ </ul>
1061
+ <div style="margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;">
1062
+ <a href="/phone-shield" class="btn btn-primary btn-sm">Open Shield</a>
1063
+ <a href="/api/sovereign/shield/stats" class="btn btn-secondary btn-sm">Live Stats API</a>
1064
+ </div>
1065
+ </div>
1066
+
1067
+ <div class="card fade-in fade-in-delay-1" style="border-left:3px solid #6366f1;">
1068
+ <div class="card-icon purple">🚀</div>
1069
+ <h3>One-Click Integrations Hub</h3>
1070
+ <p>Ready deploy packs for Vercel, Netlify, Railway, Cloudflare Workers, Docker, Linux installer, and WordPress MU plugin.</p>
1071
+ <div style="margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;">
1072
+ <a href="/integrations" class="btn btn-primary btn-sm">Open Integrations</a>
1073
+ <a href="https://github.com/abokenan444/web-agent-bridge/tree/master/integrations" target="_blank" rel="noopener" class="btn btn-secondary btn-sm">GitHub Templates</a>
1074
+ </div>
1075
+ </div>
1076
+
1077
+ <div class="card fade-in fade-in-delay-2" style="border-left:3px solid #10b981;">
1078
+ <div class="card-icon green">🧩</div>
1079
+ <h3>Shared Hosting PHP Bridge</h3>
1080
+ <p>Production-ready PHP bridge for shared hosting environments where Node daemons are not available.</p>
1081
+ <div style="margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;">
1082
+ <a href="https://github.com/abokenan444/web-agent-bridge/tree/master/integrations/shared-hosting" target="_blank" rel="noopener" class="btn btn-primary btn-sm">Shared Hosting Pack</a>
1083
+ <a href="https://github.com/abokenan444/web-agent-bridge/blob/master/integrations/shared-hosting/README.ar.md" target="_blank" rel="noopener" class="btn btn-secondary btn-sm">Arabic Guide</a>
1084
+ </div>
1085
+ </div>
1086
+
1087
+ <div class="card fade-in" style="border-left:3px solid #f59e0b;">
1088
+ <div class="card-icon orange">🌐</div>
1089
+ <h3>Make Your Site AI-Discoverable in 5 Minutes</h3>
1090
+ <p>One TXT record at <code>_wab.yourdomain.com</code> and any compatible AI agent finds your <code>wab.json</code> automatically — no HTTP probing, no manual integration. Run <code>npx wab init</code> to scaffold everything in seconds, then paste one line into your DNS panel. Live DoH-based verifier included for Cloudflare, cPanel, GoDaddy, Namecheap, Route 53, and more.</p>
1091
+ <div style="margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;">
1092
+ <a href="/dns" class="btn btn-primary btn-sm">Make my site AI-discoverable</a>
1093
+ <a href="/dns#verifier" class="btn btn-secondary btn-sm">Live Verifier</a>
1094
+ <a href="https://github.com/abokenan444/web-agent-bridge/blob/master/DNS-DISCOVERY.md" target="_blank" rel="noopener" class="btn btn-secondary btn-sm">EN Guide</a>
1095
+ <a href="https://github.com/abokenan444/web-agent-bridge/blob/master/DNS-DISCOVERY.ar.md" target="_blank" rel="noopener" class="btn btn-secondary btn-sm">AR Guide</a>
1096
+ </div>
1097
+ </div>
1098
+
1099
+ <div class="card fade-in fade-in-delay-1" style="border-left:3px solid #06b6d4;">
1100
+ <div class="card-icon cyan">🎮</div>
1101
+ <h3>New Interactive Demo Store</h3>
1102
+ <p>Fully interactive WAB demo at <code>/demo</code> with live product API, agent activity stream, and wab.json discovery.</p>
1103
+ <div style="margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;">
1104
+ <a href="/demo" class="btn btn-primary btn-sm">Open Demo</a>
1105
+ <a href="/demo/.well-known/wab.json" class="btn btn-secondary btn-sm">Demo wab.json</a>
1106
+ </div>
1107
+ </div>
1108
+
1109
+ <div class="card fade-in fade-in-delay-2" style="border-left:3px solid #ec4899;">
1110
+ <div class="card-icon pink">🔌</div>
1111
+ <h3>API Gateway + 10 Modules</h3>
1112
+ <p>Unified authenticated gateway for protocol discovery, firewall, bounty, price shield, notary, neural analysis, and more.</p>
1113
+ <div style="margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;">
1114
+ <a href="/api" class="btn btn-primary btn-sm">Open API Page</a>
1115
+ <a href="/api/v1/health" class="btn btn-secondary btn-sm">Gateway Health</a>
1116
+ </div>
1117
+ </div>
1118
+ </div>
1119
+ </div>
1120
+ </section>
1121
+
1122
+ <!-- ═══════════ LIVE DNS ADOPTION ═══════════ -->
1123
+ <section class="section" id="live-dns-adoption">
1124
+ <div class="container">
1125
+ <div class="section-header">
1126
+ <span class="label">Live Adoption</span>
1127
+ <h2>Businesses Using WAB DNS Discovery</h2>
1128
+ <p>This list is auto-generated from real registry registrations only. No static seeded entries.</p>
1129
+ </div>
1130
+ <div id="indexLiveAdoptionStatus" style="margin-bottom:14px;color:var(--text-secondary);">Loading live registry…</div>
1131
+ <div id="indexLiveAdoptionList" class="grid-3" style="display:none;"></div>
1132
+ </div>
1133
+ </section>
1134
+
1135
+
1136
+ <!-- ═══════════ CTA ═══════════ -->
1137
+ <section class="section" style="text-align:center;">
1138
+ <div class="container">
1139
+ <h2 style="margin-bottom:16px;">Ready to Make Your Site <span class="gradient-text">AI-Ready</span>?</h2>
1140
+ <p style="color:var(--text-secondary); max-width:540px; margin:0 auto 32px; font-size:1.1rem;">
1141
+ Join the open-source movement that's bridging the gap between AI agents and the web.
1142
+ </p>
1143
+ <div style="display:flex; gap:16px; justify-content:center; flex-wrap:wrap;">
1144
+ <a href="/register" class="btn btn-primary btn-lg">Create Free Account</a>
1145
+ <a href="https://github.com/abokenan444/web-agent-bridge" class="btn btn-secondary btn-lg" target="_blank" rel="noopener">⭐ Star on GitHub</a>
1146
+ <a href="/docs" class="btn btn-secondary btn-lg">View Documentation</a>
1147
+ </div>
1148
+ </div>
1149
+ </section>
1150
+
1151
+ <!-- ═══════════ FOOTER ═══════════ -->
1152
+ <footer class="footer">
1153
+ <div class="container">
1154
+ <div class="footer-grid">
1155
+ <div class="footer-brand">
1156
+ <a href="/" class="navbar-brand">
1157
+ <div class="brand-icon">⚡</div>
1158
+ <span>Web Agent Bridge</span>
1159
+ </a>
1160
+ <p>The open AI↔Web protocol & agent platform — standardized commands, sovereign browser, phone shield, DNS discovery, agent mesh, and unified API gateway. Built for the future of intelligent automation.</p>
1161
+ </div>
1162
+ <div class="footer-col">
1163
+ <h4>Product</h4>
1164
+ <ul>
1165
+ <li><a href="#features">Features</a></li>
1166
+ <li><a href="#packages">Framework Packages</a></li>
1167
+ <li><a href="#integrations">Agent Integrations</a></li>
1168
+ <li><a href="#pricing">Pricing</a></li>
1169
+ <li><a href="/docs">Documentation</a></li>
1170
+ <li><a href="/api">API Gateway</a></li>
1171
+ <li><a href="/integrations">Integrations</a></li>
1172
+ <li><a href="/dns">AI Discovery</a></li>
1173
+ <li><a href="/phone-shield">Phone Shield</a></li>
1174
+ <li><a href="/sovereign">Sovereign Dashboard</a></li>
1175
+ <li><a href="/workspace">Agent Workspace</a></li>
1176
+ <li data-wab-auth="signed-in" style="display:none"><a href="/dashboard">Dashboard</a></li>
1177
+ </ul>
1178
+ </div>
1179
+ <div class="footer-col">
1180
+ <h4>Developers</h4>
1181
+ <ul>
1182
+ <li><a href="/docs#quick-start">Quick Start</a></li>
1183
+ <li><a href="/docs#api-reference">API Reference</a></li>
1184
+ <li><a href="/api">API Modules</a></li>
1185
+ <li><a href="#examples">Examples</a></li>
1186
+ <li><a href="https://github.com/abokenan444/web-agent-bridge" target="_blank" rel="noopener">GitHub</a></li>
1187
+ </ul>
1188
+ </div>
1189
+ <div class="footer-col">
1190
+ <h4>Legal</h4>
1191
+ <ul>
1192
+ <li><a href="/privacy">Privacy Policy</a></li>
1193
+ <li><a href="/terms">Terms of Service</a></li>
1194
+ <li><a href="/cookies">Cookie Policy</a></li>
1195
+ </ul>
1196
+ </div>
1197
+ </div>
1198
+ <div class="footer-bottom">
1199
+ <span>&copy; 2026 Web Agent Bridge. MIT License. Operated from the Netherlands.</span>
1200
+ </div>
1201
+ </div>
1202
+ </footer>
1203
+
1204
+ <script src="/js/auth-nav.js?v=3.0.1"></script>
1205
+ <script>
1206
+ const navbar = document.getElementById('navbar');
1207
+ window.addEventListener('scroll', () => {
1208
+ navbar.style.background = window.scrollY > 50
1209
+ ? 'rgba(10, 14, 26, 0.95)'
1210
+ : 'rgba(10, 14, 26, 0.8)';
1211
+ });
1212
+
1213
+ function escapeHtml(v) {
1214
+ return String(v)
1215
+ .replace(/&/g, '&amp;')
1216
+ .replace(/</g, '&lt;')
1217
+ .replace(/>/g, '&gt;')
1218
+ .replace(/\"/g, '&quot;')
1219
+ .replace(/'/g, '&#39;');
1220
+ }
1221
+
1222
+ async function loadIndexLiveAdoption() {
1223
+ const status = document.getElementById('indexLiveAdoptionStatus');
1224
+ const list = document.getElementById('indexLiveAdoptionList');
1225
+ if (!status || !list) return;
1226
+
1227
+ status.textContent = 'Loading live registry…';
1228
+ list.style.display = 'none';
1229
+ list.innerHTML = '';
1230
+
1231
+ try {
1232
+ const res = await fetch('/api/discovery/registry?limit=12');
1233
+ const data = await res.json();
1234
+ const entries = Array.isArray(data && data.listings) ? data.listings : [];
1235
+
1236
+ if (!entries.length) {
1237
+ status.textContent = 'No businesses are currently listed. New real registrations will appear here automatically.';
1238
+ return;
1239
+ }
1240
+
1241
+ list.innerHTML = entries.map((entry) => {
1242
+ const name = escapeHtml(entry.name || entry.domain || 'Unnamed site');
1243
+ const domain = escapeHtml(entry.domain || '');
1244
+ const category = escapeHtml(entry.category || 'general');
1245
+ const desc = escapeHtml(entry.description || 'WAB-enabled website');
1246
+ const score = Number.isFinite(Number(entry.neutrality_score)) ? Number(entry.neutrality_score) : 0;
1247
+ return '<div class="card fade-in" style="border-left:3px solid #10b981;">' +
1248
+ '<h3 style="margin-bottom:8px">' + name + '</h3>' +
1249
+ '<p style="margin-bottom:10px">' + desc + '</p>' +
1250
+ '<p style="color:var(--text-secondary);font-size:.88rem;margin:0">' + domain + '</p>' +
1251
+ '<p style="color:var(--text-secondary);font-size:.82rem;margin-top:6px">' + category + ' · neutrality ' + score + '</p>' +
1252
+ '</div>';
1253
+ }).join('');
1254
+
1255
+ list.style.display = 'grid';
1256
+ status.textContent = 'Live list loaded from registry.';
1257
+ } catch (err) {
1258
+ status.textContent = 'Failed to load live registry: ' + ((err && err.message) || err);
1259
+ }
1260
+ }
1261
+
1262
+ loadIndexLiveAdoption();
1263
+ </script>
1264
+ <script src="/js/cookie-consent.js?v=3.0.1"></script>
1265
+ </body>
1266
+ </html>