Devpost Submission — AgentGate (/.well-known/agent-actions.json)
- Hackathon: Open Agentic Web Challenge (
cognizant-agenticweb.devpost.com) - Track: Open Agentic Web Infrastructure, Trust/Security Building Blocks & Live Conforming Website
- License: MIT (100% Open Source, Zero Server Dependencies)
Inspiration
The Worldwide Agentic Web vision replaces platform-locked AI silos with open websites that any browser agent can discover, compose, and operate via declarative JSON networks and WebMCP (navigator.modelContext). Yet opening websites to autonomous agents creates an immediate trust cliff: how does a browser runtime verify that an agent action catalog hasn't been tampered with, block hidden DOM prompt injections from hijacking checkout tools, and guarantee BYOK keys (like Mozilla Otari keys) never leak across peer sites?
We built AgentGate to answer those exact open questions highlighted in Sections 5 and 7 of Cognizant AI Lab's MVP Profile 0.3 Specification.
What It Does
AgentGate delivers three reusable open-source pillars in one drop-in package:
- The
/.well-known/agent-actions.jsonVerified Action Protocol:- Extends
agent-manifest.jsonand Neuro SAN.network.jsonwith a SHA-256 + Ed25519-signed action catalog using RFC 8785 Canonical JSON. - Declares explicit effect tiers (
read,write,irreversible), strictadditionalProperties: falseJSON Schemas, session rate limits, andexpectedStateVersionTOCTOU locks. - Fails closed if a single character of an action schema or origin is tampered with.
- Extends
- Zero-Dependency Browser & Node SDK (
sdk/):canonical-json.mjs+crypto-verifier.mjs: Pure WebCrypto Ed25519 verification + replay-resistantInvocationGuardnonces.injection-firewall.mjs: Blocks Unicode Bidi Trojan (U+202E) overrides, zero-width steganography, hidden CSS prompt traps (display:none), instruction-override strings,__proto__pollution, and enforces deny-by-defaultsly_dataDLP scrubbing (sk-*,otari_*,Bearer *).agent-gate.mjs: Bridges verified tools to W3Cnavigator.modelContext(WebMCP) and gates everywrite/irreversibleaction behind mandatory human confirmation.
- 3-Tab Interactive Protocol Studio (
docs/index.html):- Live Agentified Storefront: Conforms to MVP Profile 0.3 (
agent-manifest.json, Neuro SANagent_gate_commerce.network.json,links.json,agent-mcp.json,/.well-known/agent-card.json) with Mozilla Otari / OpenRouter / Ollama BYOK plus a Zero-Key Offline Simulator so judges can run the full workflow immediately. - Red-Team Attack Arena: One-click exploit simulations demonstrating instant fail-closed defense.
- Universal Site Agentifier: Generates & signs an Ed25519
/.well-known/agent-actions.jsonbundle for any external website directly in the browser.
- Live Agentified Storefront: Conforms to MVP Profile 0.3 (
How We Built It
- Built strictly on standard open web primitives: HTML5, CSS3, ES Modules, WebCrypto Ed25519, JSON Schema, RFC 8785 Canonical JSON, Neuro SAN JSON, and W3C WebMCP.
- Cross-verified cryptographic byte-parity between Node.js 24 WebCrypto, Browser SubtleCrypto, and Python
cryptographyEd25519 (tests/verify_agent_gate.py&tests/test_sdk.mjs).
Accomplishments & Impact
- 100% MVP Profile 0.3 Conformance + §7 Security Extensions: Bridges the gap between open agentic discovery and production-safe browser execution.
- Cross-Runtime Cryptographic Parity: Manifests signed in JavaScript verify byte-for-byte in Python
cryptographyand Chromium WebCrypto. - Zero-Key & BYOK Friendly: Works seamlessly with Mozilla Otari (
https://api.otari.ai/api/v1) or offline out-of-the-box.
3-Minute Demo Video Script Outline
0:00–0:40The Open Agentic Web Trust Gap: Why declarativeagent-manifest.json+ WebMCP needs cryptographic action signing and injection defense.0:40–1:30Live Storefront + WebMCP + BYOK: ShowED25519 VERIFIEDstatus badge, query catalog, add items via agent, inspect the human-owned write confirmation dialog, and testsly_dataDLP egress to the peer courier network.1:30–2:20Red-Team Arena + Tamper Demo: Click Simulate Manifest Tamper to trigger instant fail-closed lock, then fire Hidden CSS Injection, Unicode Bidi Trojan, Replay Nonce, and Prototype Pollution exploits.2:20–3:00Agentify Any Site + Cross-Language Verification: Mint a fresh Ed25519 bundle for a custom site in Tab 3 and shownode --test+verify_agent_gate.pypassing.
Live Conforming Agentic Site & Open Source SDK
- Live MVP 0.3 Agentic Site: https://daohuutrong2404.github.io/agentgate-agentic-web/
- Signed Action Manifest: https://daohuutrong2404.github.io/agentgate-agentic-web/.well-known/agent-actions.json
- GitHub Repository: https://github.com/DaoHuuTrong2404/agentgate-agentic-web
- 1080p Demo Video: https://github.com/DaoHuuTrong2404/agentgate-agentic-web/releases/download/v1.0.0/agentgate_demo.mp4
Built With
- cryptography
- python
- react
- typescript