DEV Community

abokenan444
abokenan444

Posted on

I Built an Open‑ Source OS for AI Agents – And It’s Ready for You

Two weeks ago, Web Agent Bridge was a clever middleware that helped AI agents talk to websites without breaking.

Today, it’s a completely different beast.

After a massive rewrite (v2.0 → v3.1), WAB has evolved into a full Agent Operating System – with its own protocol, an open‑core business model, a desktop browser, and even a no‑code workspace for non‑developers.

And yes, it’s still MIT‑licensed at its core.

Let me show you what changed – and why you should care.


🔥 The Problem That Never Died

Every AI agent that needs to click a button or fill a form relies on DOM scraping – CSS selectors, XPath, waiting for elements.
It breaks every time a designer moves a

. It’s slow, fragile, and a nightmare to maintain.

WAB flips the model: websites expose a window.AICommands interface. Agents discover actions (signup, add_to_cart, checkout) and execute them directly. No parsing, no guesswork.

That was v1.0.
Now, v3.1 is something else entirely.


⚙️ What’s New in WAB v3.1 (The “Agent OS” Release)

  1. Agent Operating System (Agent OS)

· Standardised agent‑to‑agent protocol (WABP) with command registry and capability negotiation.
· Complete runtime: event bus, task scheduler, state management, replay engine.
· Built‑in observability – logs, traces, metrics.

  1. Web Agent Protocol (WAP)

· A discovery‑first protocol using /.well-known/agent-tools.json.
· Sites declare their capabilities once, and any agent (MCP, REST, or browser‑based) can understand them.
· WAP is transport‑agnostic – same interface works for CLI, WebSocket, or HTTP.

  1. Open‑Core + Growth Suite

· Core remains MIT (the bridge script, SDK, WAP, and Agent OS runtime).
· Premium features (Fairness Engine, Threat Shield, Dynamic Pricing Shield) are server‑side only.
· First‑class billing, metering, and a marketplace for agent components (15% revenue share).

  1. Agent Workspace (No‑Code UI)

· Drag‑and‑drop interface for regular users.
· Create price‑comparison agents, hotel booking agents, or local‑store finders without a single line of code.
· Full RTL + Arabic support.

  1. WAB Desktop Browser + PWA

· Electron browser with ad blocker (80+ domains), scam shield, fairness ranking, and a built‑in AI agent chat.
· Mobile PWA works offline – install it like any other app.


🧠 Why This Matters for Developers

· You can build agents that actually work.
WABAgent (Puppeteer/Playwright) gives you agent.execute('addToCart', { sku: '...' }) – no selectors, no waits.
· You can extend WAB via plugins.
Dynamic hook system, priority ordering, and audit logging. Build your own pricing shield or custom action pack.
· You can run everything locally.
No cloud required. npx web-agent-bridge start spins up the full Agent OS on your machine.
· You can monetise your work.
The built‑in marketplace lets you sell agent templates, vision models, or automation packs.


🚀 Try It in 30 Seconds

npx web-agent-bridge start

Then open http://localhost:3000 – you’ll see the new Sovereign Dashboard, the Agent Workspace, and the live demo store.

Or download the WAB Browser (desktop) and browse any site with an AI agent in your sidebar.


📦 What’s Still Open Source (MIT)

· window.AICommands bridge script
· Agent SDK (WABAgent for Puppeteer/Playwright)
· WAP protocol + discovery
· React / Vue / Svelte / LangChain packages
· WordPress plugin
· All agent examples and templates

The code you love is still free. The extra muscle (fairness, threat detection, pricing shield, marketplace) is what makes the project sustainable.


👉 I Need Your Feedback

· Does the Agent OS feel like the right abstraction?
· Would you use WAP to make your own site agent‑ready?
· What’s missing before you’d bet your production automation on it?

Star the repo, try the demo, and let me know.
Let’s build the agent‑first web – together.

🔗 GitHub: github.com/abokenan444/web-agent-bridge
🌐 Website: webagentbridge.com
📦 npm: npx web-agent-bridge start

Top comments (0)