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:

  1. The /.well-known/agent-actions.json Verified Action Protocol:
    • Extends agent-manifest.json and Neuro SAN .network.json with a SHA-256 + Ed25519-signed action catalog using RFC 8785 Canonical JSON.
    • Declares explicit effect tiers (read, write, irreversible), strict additionalProperties: false JSON Schemas, session rate limits, and expectedStateVersion TOCTOU locks.
    • Fails closed if a single character of an action schema or origin is tampered with.
  2. Zero-Dependency Browser & Node SDK (sdk/):
    • canonical-json.mjs + crypto-verifier.mjs: Pure WebCrypto Ed25519 verification + replay-resistant InvocationGuard nonces.
    • 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-default sly_data DLP scrubbing (sk-*, otari_*, Bearer *).
    • agent-gate.mjs: Bridges verified tools to W3C navigator.modelContext (WebMCP) and gates every write/irreversible action behind mandatory human confirmation.
  3. 3-Tab Interactive Protocol Studio (docs/index.html):
    • Live Agentified Storefront: Conforms to MVP Profile 0.3 (agent-manifest.json, Neuro SAN agent_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.json bundle for any external website directly in the browser.

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 cryptography Ed25519 (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 cryptography and 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:40 The Open Agentic Web Trust Gap: Why declarative agent-manifest.json + WebMCP needs cryptographic action signing and injection defense.
  • 0:40–1:30 Live Storefront + WebMCP + BYOK: Show ED25519 VERIFIED status badge, query catalog, add items via agent, inspect the human-owned write confirmation dialog, and test sly_data DLP egress to the peer courier network.
  • 1:30–2:20 Red-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:00 Agentify Any Site + Cross-Language Verification: Mint a fresh Ed25519 bundle for a custom site in Tab 3 and show node --test + verify_agent_gate.py passing.

Live Conforming Agentic Site & Open Source SDK

Built With

Share this project:

Updates

Submission history