Inspiration

Today's web is built for human eyes, forcing autonomous agents into brittle screen-scraping or heavy server-side proxies. Inspired by the Open Agentic Web vision, WebAgentNexus demonstrates that any static web origin can serve as a first-class, zero-backend agentic node—discoverable, inspectable, and safely executable directly inside the user's browser.

What it does

WebAgentNexus is a zero-backend Open Agentic Web node hosted purely as static assets. It provides:

  • Live Interactive Node: https://torpedas.github.io/webagent-nexus/
  • 3-Agent In-Browser Pipeline: Coordinates scout-agent -> synthesizer-agent -> verifier-agent over a live Agent Message Bus with real-time execution graph telemetry.
  • Cross-Origin Discovery Probe: Combines window.postMessage handshakes with HTTP manifest discovery across origins.
  • Client-Side BYOK LLM Gateway + Zero-Key Test Mode: Supports user-supplied Gemini / OpenAI API keys directly in the browser, alongside a deterministic zero-key simulation mode for instant verification without credentials.
  • Zero-Trust Prompt-Injection Guard: Validates and sanitizes untrusted cross-origin payloads before passing context between agents.

Conformance to Open Agentic Web Specification

WebAgentNexus exposes standard, machine-readable discovery and runtime artifacts directly from its static origin:

How we built it

Built with TypeScript, React, Vite, and Tailwind CSS, paired with a standalone ES module runtime (agent-runtime.js) that runs cleanly in modern browsers with zero backend servers. The client-side BYOK gateway communicates directly with Gemini/OpenAI endpoints or falls back to a deterministic test runner.

Challenges & Accomplishments

  • Zero-Backend Cross-Origin Interop: Engineered a dual HTTP + window.postMessage discovery probe that works reliably across static GitHub Pages origins while enforcing strict origin checks and prompt-injection guards.
  • Verified Quality: Passes 4/4 Vitest unit tests, strict TypeScript typechecking (tsc --noEmit), and clean Vite production builds.
  • Open-Source Release: Published under the MIT license at https://github.com/Torpedas/webagent-nexus.

What's next

Expanding the federated agent network registry, adding signed capability tokens for multi-node delegation, and integrating richer WebMCP tool schemas for collaborative browser-native workflows.

Built With

Share this project:

Updates

Submission history