DEV Community

devbox-zero-ops
devbox-zero-ops

Posted on

Building a Zero-Dependency Open Agentic Website & Conformance Auditor (MVP Profile 0.3)

Publishing an agent network directly on a static HTTPS website — with no central registry and no custom backend runtime — sounds simple until you try to enforce real browser trust boundaries.

While building VeriMesh for the Open Agentic Web Challenge, we implemented the Worldwide Agentic Web Minimum Viable Specification (MVP Profile 0.3) using pure static HTML5, CSS, and isomorphic ES modules (0 runtime npm dependencies). Below are the concrete implementation details and subtle pitfalls we ran into.


1. The Four Static Artifacts Every Open Agentic Website Needs

To make a static site (such as GitHub Pages) discoverable and runnable by peer browser runtimes without a central registry, four public JSON files carry the full contract:

  1. agent-manifest.json — Site-level index declaring brand, networks[] (name, front_man, resolved hocon/.network.json path), llm_router / BYOK endpoint (https://api.otari.ai/api/v1), allowed_peers, and peer_policy.
  2. Resolved Neuro SAN .network.json — Declarative data-only agent graph (metadata, tools[] with name, function.description, instructions, and callable tools[]). No server-side includes or local file paths.
  3. .well-known/nsdeploy.json — nsdeploy-link/v1 exports and imports for peer discovery.
  4. .nojekyll (GitHub Pages gotcha!) — By default, GitHub Pages runs Jekyll, which silently strips dot-directories like .well-known/ and turns .well-known/nsdeploy.json into a 404. Dropping an empty .nojekyll file at repo root fixes discovery immediately.

Live artifacts on VeriMesh:


2. Enforcing Trust Boundaries Inside the Browser

MVP Profile 0.3 defines strict privacy and safety rules for peer-to-peer agent delegation:

  • Fail-Closed CORS Auditing: When auditing a remote Open Agentic Website URL in the browser, fetch(url, { mode: 'cors' }) must fail closed and surface the exact CORS/HTTP error rather than routing around origin policies.
  • Explicit Visitor Consent via Native <dialog closedby="any">: Before verimesh_coordinator delegates a regulated FMEA RPN or Web Crypto SHA-256 chain check to compliance_fmea_peer.network.json, the runtime opens a native accessible <dialog> displaying the exact peer network, requested action, and private-context status (sly_data: NONE). Declining cancels execution cleanly.
  • Session-Isolated BYOK Credentials: Visitor-supplied OpenAI-compatible or Mozilla Otari API keys stay strictly in sessionStorage (cleared on tab close) and are never serialized into peer payloads or public manifests.

3. One Isomorphic Module for Browser, CI, and CLI Agent Skills

We kept the 9-gate conformance engine (js/conformance-engine.mjs) and Web Crypto / node:crypto SHA-256 chain verifier strictly isomorphic so the exact same code runs in three places:

  1. In-Browser Live Auditor: https://devbox-zero-ops.github.io/verimesh-agentic-web/ (includes 1-click presets for VeriMesh Self-Audit and Cognizant's official Tidewhistle reference).
  2. CI Test Suite: node --test tests/conformance.test.mjs (3/3 deterministic tests verifying 100/100 conformance, dangling sub-agent detection, leaked API-key detection, and 1-byte SHA-256 tamper detection).
  3. Standalone CLI Agent Skill (verimesh-auditor): Packaged into our 6-skill zero-dependency repository (devbox-zero-ops/agent-skills v1.2.0) and live on Agensi.io.
# Install all 6 zero-dependency skills via skills.sh
npx skills add devbox-zero-ops/agent-skills

# Audit any live Open Agentic Website from the terminal
node skills/verimesh-auditor/scripts/verimesh_cli.mjs audit-url \
  --url https://devbox-zero-ops.github.io/verimesh-agentic-web/ \
  --format md
Enter fullscreen mode Exit fullscreen mode

Links & Source

Top comments (0)