Inspiration

Millions of freelancers, tenants, and everyday consumers sign contracts and Terms of Service containing predatory IP grabs, unlimited liability, Net-90 pay-when-paid delays, data-selling licenses, and silent auto-renewals—simply because legal review is expensive and uploading private contracts to closed AI SaaS servers creates serious privacy risks.

What it does

ClauseMesh is a fully open, static-hosted Open Agentic Website conforming strictly to Worldwide Agentic Web MVP Profile 0.3. It runs a 5-agent Neuro SAN network directly inside the user's browser with zero backend and zero data retention:

  1. Coordinator (clausemesh_coordinator — front_man): Entry agent that validates inputs, enforces bounded execution limits, and orchestrates downstream agents.
  2. Intake Agent (intake_agent): Segments clauses, classifies document type and language (English & Turkish), and passes only explicitly allowed sly_data fields downstream.
  3. Legal Risk Agent (legal_risk_agent): Runs in parallel to detect overbroad IP assignment, unlimited liability, broad non-competes, unilateral modification rights, unrestricted data monetization / AI training licenses, forced arbitration, and silent auto-renewals.
  4. Financial Exposure Agent (financial_agent): Runs in parallel to audit delayed payment terms (Net-60/90/120, pay-when-paid), non-refundable penalties, liquidated damages, uncapped rent/fee escalations, and unlimited free revisions.
  5. Negotiation Agent (negotiation_agent): Synthesizes both upstream agents into a 0–100 risk score, highlights positive/fair clauses (preventing false positives on balanced contracts), generates copy-ready fair counter-clauses, and drafts a ready-to-send negotiation email + .md/.json report.

How we built it (MVP Profile 0.3 Architecture)

  • Public Portable Artifacts (CORS-enabled HTTPS): /agent-manifest.json (spec_version: "0.3", networks[] with front_man & hocon, peer_policy, llm), /clausemesh.network.json (Neuro SAN HOCON-JSON with sly_data_policy: deny-by-default), /links.json, and /.well-known/agent-facts.json.
  • Browser Runtime (window.OpenAgenticWeb): Validates the Neuro SAN graph before execution, enforces bounded invocations, and implements Section 3.2 Peer Agent Site Loading with explicit cross-origin user consent and fail-closed verification.
  • BYOK + Zero-Key Instant Mode: Visitors can connect their own OpenAI-compatible LLM router (Mozilla Otari, OpenAI, OpenRouter) to run the specialist agents using their Neuro SAN instructions—keys never leave the browser. For instant evaluation without an API key, a built-in bilingual deterministic engine runs locally.

Challenges & Accomplishments

Ensuring strict MVP Profile 0.3 conformance, CORS-enabled static hosting of .well-known/ artifacts via GitHub Pages, zero false positives on balanced contracts (verified 5/100 LOW vs 95/100 CRITICAL), and a clean 3-tab product experience without any server infrastructure.

What's next for ClauseMesh

Expanding the peer-agent ecosystem with regional legal-compliance peer networks and publishing the companion Manifest V3 Chrome Extension so users can scan any Terms of Service page in one click.

Built With

Share this project:

Updates

Submission history