Devpost Submission — OpenFab Mesh (Open Agentic Web Challenge)
Project Title
OpenFab Mesh — Browser-Local Open Agentic Hardware & Supply-Chain Hub
Tagline
Two real cross-origin agentic websites demonstrating browser-local multi-agent orchestration, explicit origin consent, default-deny sly_data firewalls, BYOK isolation, confirmation-gated actions, and 7/7 MVP Profile 0.3 interoperability.
Live URLs
- Main Agentic Hub (Caller Origin):
https://agentweb.doaipm.com - Independent Peer Agent Site (Second Origin):
https://peer-fab.doaipm.com
Inspiration
Hardware engineering and electronics supply chains are naturally multi-organization: a product team audits PCB design-for-manufacturability (DFM) and regulatory compliance internally, then requests live SMT fabrication quotes from independent contract manufacturers — without ever wanting to hand over proprietary cost margins, supplier pricing, or LLM API keys to third-party servers.
Today's SaaS agent platforms force teams to centralize prompts, secrets, and partner integrations behind opaque cloud proxies. The Worldwide Agentic Web MVP Profile 0.3 flips that model on its head: websites publish open declarative agent networks, and the user's browser composes them directly across origins under explicit user consent and strict secret isolation. We built OpenFab Mesh + ApexFab Open Peer Quoter to prove this architecture works end-to-end on real hardware engineering workflows.
What It Does
OpenFab Mesh (agentweb.doaipm.com) and ApexFab Open Peer Quoter (peer-fab.doaipm.com) are two independent Cloudflare Worker origins that interoperate live in the browser:
- Zero-Key Instant Evaluation + Pluggable BYOK Router: Ships with a built-in Deterministic Local Arbiter so judges can run every scenario with zero setup, plus a full BYOK OpenAI-Compatible Router (pre-configured for Mozilla Otari
https://api.otari.ai/api/v1, OpenAI, or any custom endpoint) stored strictly in browserlocalStorage, deletable with one click, and cryptographically/structurally isolated from peers and traces. - Browser-Local Multi-Agent Execution & Schema-Validated Actions: Orchestrates
openfab_concierge(front_man),bom_dfm_auditor, andcompliance_arbiterinside the browser using local read actions (audit_bom_dfm,check_compliance_policy) and a confirmation-gated write action (reserve_bom_lot) that requires an interactive Write Confirmation Modal and emits a signed Action Receipt (receiptId,timestamp,status: "committed", SHA-256 signature). - Real Cross-Origin Peer Composition with Explicit Consent & Default-Deny
sly_data: When quoting PCB/SMT lead times, the runtime resolvesfab_quotervialinks.json, enforces closedpeer_policy(allowed_peers/deny_origins), opens an Explicit Origin Consent Modal showing the destination origin (https://peer-fab.doaipm.com) and asly_dataPrivate Context Firewall (hard-blockingbyok_api_keyandinternal_margin_secret, while allowing opt-in forwarding oftarget_region), fetches the peer'sagent-manifest.jsonandfab_quoter.network.jsonlive via CORS, and executes the peer agents (fab_quote_lead->smt_leadtime_estimator) locally in the caller's browser. - Public MCP JSON-RPC 2.0 Endpoint (
/mcp): Both origins expose standards-compliant/mcpendpoints (initialize,tools/list,tools/call) withAccess-Control-Allow-Origin: *, while keeping write actions restricted to interactive browser confirmation. - 1-Click 7/7 MVP Interoperability Suite: Built directly into the UI (and automated in Node.js
node:test) to verify all 7 checks from Section 6 of Worldwide Agentic Web MVP Profile 0.3 — including negative fail-closed security tests.
How We Built It
- Zero-Dependency Portable Runtime (
src/runtime.js): Written in pure ES modules so the exact same validation, execution-bounds, cycle-detection,sly_datafirewall, site-action, and peer-composition code executes in the browser (/runtime.js), Cloudflare Workers, and Node.js automated tests. - Exact Cognizant
nsDeploy/ MVP Profile 0.3 Artifacts: Both origins publishagent-manifest.json, Neuro SAN*.network.json,links.json, and/.well-known/agent-card.jsonwith wildcard CORS andOPTIONSpreflight support. - Fail-Closed Security Controls:
- Strict Neuro SAN schema validator rejecting malformed JSON, missing
front_man, duplicate names, and unknown internal references. - Execution bounds:
maxDepth = 3,maxInvocations = 8,A -> B -> Acycle detector, andAbortControllertimeouts. - Dual-layer
sly_dataprotection: declarative allowlist + user opt-in checkbox + hard secret-key blocklist + output trace sanitizer.
- Strict Neuro SAN schema validator rejecting malformed JSON, missing
- Dual-Origin Edge Hosting: Deployed as two separate Cloudflare Workers (
oaw-openfab-hubandoaw-peer-fab) on separate origins (agentweb.doaipm.comandpeer-fab.doaipm.com).
Challenges We Ran Into
- Keeping Browser & Worker Code 100% Unified with Zero Build Dependencies: Cloudflare Workers do not expose Node's filesystem at runtime, yet we wanted
/runtime.jsserved to the browser to be byte-for-byte identical to the testedsrc/runtime.jsmodule. We solved this with a tiny zero-dependency sync script (scripts/sync-assets.mjs) paired with a byte-exact integrity assertion insidenode:test. - Preventing Accidental Secret Leakage Across Async Traces: It is surprisingly easy for a BYOK API key or private session variable to sneak into error logs or serialized execution traces. We added a dedicated canary-secret leak verifier (
containsSecretLeak+redactSecretsInObject) that proves zero leakage across both outbound peer HTTP requests and the observable trace panel.
Accomplishments That We're Proud Of
- 100% Spec Compliance (7/7 Green PASS): Both the live in-browser self-test and the headless Node.js suite pass all 7 MVP Profile 0.3 checks including every negative fail-closed security case.
- Zero Friction for Judges: Works instantaneously with zero API keys while supporting live Mozilla Otari / OpenAI BYOK switching in seconds.
- Real Two-Origin Web Architecture: Not a mock or single-page simulation — two genuinely independent websites composing agents live over CORS in the user's browser.
What's Next
- Add cryptographic origin attestation (WebCrypto Ed25519 signed
agent-manifest.jsondigests) for enterprise supplier directories. - Expand the open hardware peer ecosystem with PCB impedance calculators, component lifecycle peers, and real-time freight/tariff peers.
- Support browser-local persisted peer registries so engineering teams can add their own contract manufacturers without redeploying the hub.
Built With
- Cloudflare Workers
- JavaScript (ES Modules, Zero External Dependencies)
- Worldwide Agentic Web MVP Profile 0.3 (
nsDeployManifest + Neuro SAN JSON) - Model Context Protocol (MCP JSON-RPC 2.0)
- WebCrypto API (SHA-256 Action Receipts)
- Mozilla Otari / OpenAI-Compatible BYOK Router API
- Node.js
node:test
Built With
- cloudflare-workers
- javascript
- mcp
- mozilla-otari
- neuro-san
- open-agentic-web
- webcrypto