-
-
KindredLoop hero & Open Agentic Web runtime bar (kindred_loop network + agent bridge)
-
Explicit zero-PII Consent Card gating cross-origin safety-recall check via chen931222.github.io
-
Deterministic Child Age & Weight Fit Calculator, sanitized gear catalog & 7-day reserve basket
-
Human-in-the-loop irreversible action dialog confirming 48-hour neighborhood hub hold
Inspiration
Young families outgrow strollers, bassinets, travel cribs, carriers, and high chairs every few months—leaving thousands of dollars of high-quality gear gathering dust in closets while neighbors buy duplicates at full retail. However, peer-to-peer baby gear lending faces one non-negotiable barrier: product recall safety and human trust.
When Cognizant AI Lab, MIT Media Lab NANDA, and Mozilla introduced the Worldwide Agentic Web MVP Specification (Profile 0.3), we realized neighborhood gear sharing is an ideal real-world testbed for an open, user-controlled, multi-origin agentic web:
- A neighborhood exchange shouldn't force visitors to pay for or trust a proprietary backend LLM.
- Before placing a hold on a bassinet or stroller, the exchange's browser-executed agent should consult an independent cross-origin safety-recall agent—only after the parent approves an explicit, zero-PII Consent Card.
- Other community agent websites should be able to query live fit & inventory—and trigger a verified 48-hour hold on KindredLoop's own origin—over ordinary HTTPS and CORS.
What it does
KindredLoop (https://huyvv533.github.io/kindred-loop/) is a zero-backend, spec-conformant Open Agentic Website for borrowing and buying out steam-sanitized neighborhood baby and kids gear:
- 100% Functional Standalone Website & Deterministic Fit Engine: Even before configuring an LLM, parents can enter their child's age (months) and weight (lbs) to run
check_child_fit, filter 8 realistic hub items across strollers, sleep gear, carriers, feeding chairs, and balance bikes, manage a 7-Day Borrow or Buy-Out Reserve Basket with optimistic version concurrency, and place a simulated 48-Hour Neighborhood Hub Hold. - Browser-Executed Neuro-SAN Agent Network (
kindred_loop): Described declaratively in HOCON (kindred_loop.hocon) and compiled to portable data-only JSON (kindred_loop.network.json), executed entirely in the visitor's browser via the unmodifiednsdeploy/agentify-websiteruntime. Visitors bring their own inference via Mozilla Otari, OpenRouter, or BYOK—keys never leave browser storage. - Consent-Gated Cross-Origin Agent Composition (
Recalled?): When a parent asks whether an item has any safety notices before reserving,kindred_loop_assistantprepares a peer call to the externalRecalled?Safety Notice Checker (https://chen931222.github.io/recalled/recall_check). Execution pauses until the visitor approves an accessible Consent Card displaying the exact destination host (chen931222.github.io) and a 140-character preview containing only public item/model identifiers (zero personal data). - Human-in-the-Loop Irreversible Action Gate: Calling
place_demo_hold(irreversible: true) opens a custom, accessible<dialog>summarizing every item, borrow/buyout mode, hub pickup window, and borrower details so the agent can never silently commit a hold without explicit human approval. - Callable Partner Action Bridge (
bridge/action-bridge.html):- Public Cross-Origin Reads (`callerOrigins: [""]
):* External agent networks can invokeget_exchange_stateandcheck_child_fitover CORS +postMessage` without accessing the visitor's private basket. - Origin-Verified Partner Writes (
confirmsInWindow: true): Trusted peer origins can invokeplace_partner_hold, opening a first-party KindredLoop confirmation window where the user reviews and confirms directly on KindredLoop's origin.
- Public Cross-Origin Reads (`callerOrigins: [""]
How we built it
- Declarative Agent Network & Discovery Artifacts: Authored
kindred_loop.hocon,agent-manifest.json(with closedpeer_policyand explicitallowed_peers),links.json,agent-mcp.json, and.well-known/nsdeploy*.json, compiled and validated using Cognizant's officialbuild_network.mjs --check. - Shared State & Optimistic Concurrency (
script.js&site-actions.js): Both the human DOM controls and thewebsite_*agent tools call the exact sameApp.pagestate machine, using monotonic basket version numbers so concurrent UI clicks and agent tool calls never overwrite each other silently. - Cross-Origin Isolation (
bridge/): Built a sandboxedbridge/action-bridge.html+bridge/hold-window.jsflow that separates public catalog queries from private visitor session state. - Automated Verification Suite (
tests/agentified.test.mjs): Wrote 18 end-to-end Node tests verifying manifest conformance, grounding rules, basket concurrency,<dialog>human confirmation, keyboard focus restoration on Consent Cards, and cross-origincheck_partner.mjsinteroperability.
Challenges we ran into
- Strict Separation of Public Catalog vs. Private Visitor State Across Origins: Allowing external agent websites to query
get_exchange_stateandcheck_child_fitwithout leaking the local parent's in-progress basket required cleanly splittingbridge-actions.jsfromsite-actions.jsand enforcingconfirmsInWindow: trueonplace_partner_hold. - Accessible Focus Management Across Async Agent Interrupts: Both cross-origin peer Consent Cards and irreversible
<dialog>confirmations interrupt multi-step tool execution; we engineered deterministic focus trapping and trigger restoration and verified both in automated tests. - Zero-Error Conformance with Official Tooling: Passing both
build_network.mjs --check(0 errors, 0 warnings) and livecheck_partner.mjsover CORS on static GitHub Pages hosting required exact alignment between.hocontool definitions,agent-manifest.json, and.well-known/nsdeploy.json.
Accomplishments that we're proud of
- Achieved 0 errors and 0 warnings on Cognizant AI Lab's official
build_network.mjs --checkand livecheck_partner.mjspartner interoperability validator. - Passed 18/18 automated runtime, grounding, accessibility, and security-boundary tests (
node --test "tests/*.test.mjs"). - Shipped a genuinely useful, zero-server neighborhood family gear exchange deployed live on standard HTTPS static hosting (
https://huyvv533.github.io/kindred-loop/).
What we learned
Designing for the Open Agentic Web inverted how we think about AI web apps: when the agent network is pure declarative JSON configuration executed in the user's own browser under user-chosen inference (such as Mozilla Otari), hosting costs drop to zero, vendor lock-in disappears, and cross-site agent collaboration becomes as composable—and inspectable—as hyperlinks.
What's next for KindredLoop
- Expanding multi-peer composition to connect neighborhood gear hubs with local municipal toy libraries and certified car-seat inspection calendars.
- Publishing signed supply-chain sanitization receipts per gear item alongside WebMCP discovery metadata.