-
-
Interactive CI Regression ROI Calculator & In-Browser Cloze Golden Assertion Synthesizer.
-
Verified Pilot Scope Dossier, Open Agentic Web manifest, and PayPal checkout boundary.
-
GuardRail CI storefront & 4 transparent commercial tiers with runner privacy guarantees.
-
Embedded Neuro SAN assistant proposing a $790 5-Day Pilot with user confirmation gate.
Inspiration
Engineering teams shipping RAG features and agentic workflows often rely on manual spot-checks before merging Pull Requests. Meanwhile, most AI-enabled websites bolt on read-only FAQ widgets that ignore page controls or mutate form state without clear user consent boundaries. GuardRail CI — Open Agentic Web Edition brings deterministic CI regression scoping and the Open Agentic Web MVP Profile 0.3 standard together in a single browser-native workspace.
What It Does
Every capability works both through the standard interactive page UI and through the embedded Neuro SAN conversational assistant (guardrail_assistant), backed by one shared App.page controller (script.js + site-data.js):
- Commercial Tier Comparison & Guarantees (
get_workspace_state): Explains the 4 transparent tiers ($149Starter Kit CLI,$7905-Day Turnkey Paid Pilot,$1,950Full AI Reliability Suite,$249/moContinuous Drift Watch), runner privacy guarantees, today's local date, and written refund policy strictly grounded in page data. - RAG Regression ROI Calculator (
calculate_regression_roi): Models monthly/annual engineering hours and USD payroll saved for a team's Pull Request cadence, hourly senior engineer rate, and QA minutes saved per PR—keeping the manual calculator KPIs and the assistant synchronized. - In-Browser Cloze Golden Assertion Synthesizer (
synthesize_golden_assertions): Parses pasted Markdown documentation or OpenAPI route excerpts right in the browser to extract deterministic cloze-style golden assertions (GR-01..GR-15:endpoint_contract,pricing_accuracy,sla_factuality,domain_grounding). Expected facts (routes, prices, SLAs, percentages) are guaranteed to be literal substrings ofsourceExcerptand masked (____) out of the question prompt so an LLM cannot pass by echoing the prompt. - Agent Activity Ledger with One-Click Undo (
#agent-activity): Logs every in-page assistant write or confirmed scoping dossier visibly above the chat with its exact arguments and provides one-click Undo for reversible writes. - Human-Confirmed Pilot Scoping Dossier (
submit_pilot_booking): Validates tier, company name, business email, HTTPS repo/docs URL, local-timezone kickoff date (YYYY-MM-DD), and optimistic concurrencyexpectedVersionbefore triggering a native<dialog>(AssistantMount.DIALOGS.submit_pilot_booking) with human-readable details and direct PayPal Business Orders v2 storefront handoff. - Cross-Site Public Read Bridge (
bridge/bridge-actions.js): Exposes 3 stateless read tools (get_workspace_state,calculate_regression_roi,synthesize_golden_assertions) to external Open Agentic Web peer agents (callerOrigins: ["*"]) without exposing private session state or write tools.
Try It in 60 Seconds (For Judges)
- No API Key Needed (Manual Mode): Adjust PR volume in the ROI Calculator, paste any API/SLA Markdown into the Cloze Golden Assertion Synthesizer, select a tier, and submit the Paid Pilot form to inspect the validated scoping dossier.
- With Your Own Key (BYOK Assistant Mode): Open
⚙ AI model settingsunder#assistant, add an Otari / OpenRouter / OpenAI / Anthropic key, and click the 5 sample queries—including the decline query ("Apply a 30% discount code and charge my card now") to watch the agent refuse out-of-scope actions honestly and offer what the page actually provides. - Agent-to-Agent Mode: Any Open Agentic Web site can link to
https://qinshihuangtheconqueror.github.io/guardrail-agentic-web/guardrail_ciand call the 3 public read actions throughbridge/action-bridge.html.
How We Built It
- Built on MVP Profile 0.3 (
cognizant-ai-labs/agentic-webagentify-websitepattern) as a zero-backend static bundle on GitHub Pages (.nojekyllpreserving.well-known/nsdeploy.jsonand.well-known/nsdeploy-agent.json). - Separated pure domain logic into DOM-free
site-data.jssobridge/bridge-actions.jsruns safely inside headless cross-origin frames whilescript.jsdrives interactive page controls andsite-actions.jsregisterswebsite_*tools. - Compiled
guardrail_ci.hoconwithbuild_network.mjs(3,207instruction chars +1,612CRUSE context,max_steps: 12, full receipt-status handling including"unknown"write non-retry,0errors,0warnings). - Verified with the
agentify-websiteskill'snode:testharness extended with GuardRail-specific invariants (tests/agentified.test.mjs— 20/20 checks passing, prompt + tool schema budget10,766 / 16,000chars, non-tautological cloze masking proof, Agent Activity Ledger scoped Undo check) andcheck_partner.mjs(OK: https://qinshihuangtheconqueror.github.io/guardrail-agentic-web/guardrail_ci can be called from other sites.). - Recorded a
1920x1080(101.6s) H.264 walkthrough video (guardrail-agentic-web-demo.mp4) driving the shipped Neuro SAN browser runtime, tool loop,<dialog>confirmation gate, andApp.pagecontroller (using deterministic scripted completions in Playwright so no external LLM API key is exposed during automated recording, disclosed directly in-video).
Honest Limits & Safety Design
- Write Visibility & One-Click Undo: Because the current browser runtime executes
"write"tools without a pre-execution preview modal, we added the on-page Agent Activity Ledger (#agent-activity) showing exact call arguments and one-click Undo for every reversible write. - Validator-First Confirmation Gate:
submit_pilot_bookingre-runsApp.page.checkPilotScopingbefore opening<dialog>; invalid inputs or a staleexpectedVersionfail closed without opening a misleading confirmation button. - Static Host Coded-Tool Boundary: GitHub Pages cannot attach custom CSP headers to
runtime/sandbox-worker.js, so coded tools fail closed by design; our network uses declarativewebsite_*actions only. - BYOK Privacy: Visitor messages and page state go directly from the browser to the visitor's chosen LLM provider; no credentials or form inputs are sent to a GuardRail server until the visitor chooses to open the external PayPal Business checkout page.
Challenges We Ran Into
- Eliminating tautological golden assertions where naive prompt templates leaked the expected answer into the question, solved via literal-substring extraction +
____cloze masking. - Keeping manual DOM state,
StubDocumentunit tests, local timezones, and headless cross-origin bridge execution 100% consistent from a singleSiteDatasource of truth.
Accomplishments That We're Proud Of
- Zero demo mode and zero fabricated payment claims: clean boundary between validated client-side pilot scoping and server-captured PayPal Business checkout.
- Full cross-review hardening across UX accessibility (focus preservation, mobile wrapping, Escape/Decline dialog semantics) and MVP Profile 0.3 protocol rules.
What's Next
- Publisher-funded inference proxy (
llm_router.publisher_funded: true) with strict per-IP rate limits so visitors can test conversational turns before configuring BYOK. - Listing in the NANDA Index /
agentic_websites.mddirectory and cross-site linking with live OpenAPI documentation portals. - Automated GitHub App PR creation once PayPal Orders v2 webhook capture completes.