18 min readOpenHermit Team
TechnicalImplementationOpenAPIWebMCPPlatforms

Three Paths to Agent-Ready Websites: OpenAPI, WebMCP, and Platform Detection

Platform Detection (hours), OpenAPI (days), WebMCP (weeks). Match your business model to the fastest path for capturing agent traffic.

Three Paths to Agent-Ready Websites

OpenAPI, WebMCP, and Platform Detection

📋 EXECUTIVE SUMMARY

Developers face implementation paralysis when asked to "make sites agent-ready"—the requirement feels abstract and overwhelming.

The solution isn't one universal approach but three distinct paths matched to business models and technical capability.

Platform Detection (Level 1) delivers results in hours for e-commerce sites by exposing existing Shopify or WooCommerce APIs. OpenAPI exposure (Level 2) handles data-driven applications in days by documenting custom calculators and pricing tools.

WebMCP attributes (Level 3) enable form-level interaction in weeks through progressive enhancement. The choice isn't "which is best?" but "which captures agent traffic fastest for YOUR use case?"

The reality: Shopify stores become agent-ready same-day via platform detection. Custom calculators need structured API endpoints. Lead-gen sites require form markup. Most mature sites eventually implement all three paths—the question is sequencing, not exclusivity.


The Implementation Paralysis Problem

Most developers understand "agent-ready" conceptually but freeze when choosing an implementation approach.

The paralysis is strategic, not technical.

Why "Agent-Ready" Feels Overwhelming

The requirement sounds monolithic: "Make our entire site work with autonomous agents."

Developers immediately think:

  • Do we need to rebuild our backend?
  • Should we wait for WebMCP standards to finalize?
  • What if we choose the wrong architecture?

This paralysis is expensive. While teams debate approaches, competitors ship.

Sites capturing agent traffic TODAY (via any path) gain first-mover advantage over those perfecting strategy decks.

The False Choice: "Should We Wait for Standards?"

The "wait for standards" instinct killed mobile-first adoption for thousands of businesses.

In 2010, skeptics said: "Responsive design isn't a W3C standard yet—let's wait."

By 2015, Google penalized non-mobile sites. The skeptics scrambled to catch up while early adopters (Boston Globe, Starbucks) had dominated for 5 years.

The same pattern is emerging with agent-ready infrastructure. Standards are forming (WebMCP, OpenAPI), but waiting means losing traffic to early movers.

"Sites capturing agent traffic TODAY gain first-mover advantage over those perfecting strategy decks."

Three Paths, Three Speed-to-Value Curves

The breakthrough insight: There isn't ONE "agent-ready" implementation.

There are three distinct paths, each optimized for different business models and delivery speed.

The Framework:

  • Level 1 (Platform Detection): Hours to implement, works for e-commerce/platforms
  • Level 2 (OpenAPI Exposure): Days to implement, works for data-driven apps
  • Level 3 (WebMCP Attributes): Weeks to implement, works for form-heavy sites

Most businesses eventually need all three.

The question is sequencing: which path captures YOUR traffic fastest?


The Three-Path Framework

Think of agent-ready infrastructure as three layers, each serving different agent capabilities.

Level 1: Platform Detection (The Fast Path)

Target: E-commerce sites, SaaS tools, third-party platforms Implementation Time: 1-4 hours Agent Capability: Product browsing, catalog search, inventory queries

If your site uses Shopify, WooCommerce, Typeform, or Calendly, you already have APIs.

The gap is discovery—agents don't know these endpoints exist. Platform detection makes existing APIs visible to agents. No backend work required.

Level 2: OpenAPI Exposure (The Standard Path)

Target: Pricing calculators, data apps, comparison engines Implementation Time: 3-7 days Agent Capability: Data queries, calculations, structured retrieval

Custom applications (insurance calculators, mortgage estimators, product search) need documented REST APIs.

Agents can't screen-scrape dynamic interfaces—they need GET /api/calculate?amount=500000 endpoints.

OpenAPI (Swagger) provides machine-readable documentation. Agents query your calculator like any other API client.

Level 3: WebMCP Attributes (The Advanced Path)

Target: Lead-gen forms, booking systems, multi-step workflows Implementation Time: 1-3 weeks Agent Capability: Form submission, lead capture, appointment scheduling

Forms built for humans lack semantic structure.

Agents guess field purposes (<input name="email"> could be contact email, newsletter signup, or account creation).

WebMCP attributes provide that context: toolparamtitle="Email Address", toolparamdescription="Your email for replies".

Agents understand what data to provide.

💡 TECHNICAL NOTE: What is WebMCP?

WebMCP (Web Model Context Protocol) is an emerging standard for adding semantic metadata to HTML forms.

Instead of agents guessing what an <input name="email"> field does, WebMCP attributes explicitly declare: "This is the user's contact email for receiving replies."

Browser Support: Chrome 146+ (experimental flag) Agent Support: OpenClaw, MCP servers, Claude API (tool-use alignment) Progressive Enhancement: Attributes don't break existing forms—humans see normal inputs, agents see structured metadata.

Why "Best Practice" is the Wrong Question

Developers ask: "Which path is best practice?"

The question assumes universal applicability. Reality: All three paths are "best practice" for their respective use cases.

The right question: "Which path captures MY traffic fastest given my business model and current infrastructure?"


Level 1 — Platform Detection: Agent-Ready in Hours

If you use third-party platforms, you're 80% agent-ready already.

You just don't know it.

Who This Is For: E-commerce, SaaS Tools, Third-Party Platforms

E-commerce:

  • Shopify stores expose /products.json (all products, prices, variants)
  • WooCommerce sites expose /wp-json/wc/store/products (WordPress REST API)

SaaS/Tools:

  • Typeform embeds have API endpoints for form responses
  • Calendly widgets link to scheduling APIs
  • HubSpot forms connect to CRM APIs

These platforms provide agent-accessible infrastructure.

The problem: agents don't know YOUR site uses them.

"If you use Shopify, you're 80% agent-ready already. You just don't know it."

How It Works: Auto-Discovery of Existing APIs

Platform detection analyzes your site's frontend code and identifies third-party integrations:

// Shopify detection
if (window.Shopify || document.querySelector('meta[name="shopify-checkout-api-token"]')) {
  expose({
    platform: 'shopify',
    productAPI: 'https://yourstore.com/products.json',
    capabilities: ['product_browsing', 'inventory_check']
  });
}

Once detected, the platform's API becomes discoverable to agents.

OpenClaw queries your catalog. MCP servers check inventory. Direct API callers retrieve product data.

Shopify Example: /products.json (Already Live, Just Undiscoverable)

Every Shopify store has this endpoint:

GET https://yourstore.com/products.json?limit=250

Response: JSON with all products, including:

  • Product titles, descriptions, images
  • Variant pricing and SKUs
  • Inventory status
  • Category tags

Agents can filter by price, search by keyword, compare options—but only if they know the endpoint exists.

Platform detection makes it discoverable.

WooCommerce, Typeform, Calendly: The Platform Catalog

WooCommerce:

GET https://yoursite.com/wp-json/wc/store/products

Typeform: Detected via data-tf-widget attribute → Exposes form submission API

Calendly: Detected via .calendly-inline-widget → Exposes appointment booking API

HubSpot, Mailchimp, Stripe: Similar patterns. If you embed these platforms, their APIs are accessible—you just need discovery.

✅ Implementation: One Script Tag (OpenHermit), Same-Day Results

<script src="https://cdn.openhermit.com/script.js"
        data-api-key="your_api_key">
</script>

OpenHermit automatically detects forms, injects WebMCP attributes, identifies third-party widgets (Calendly, Typeform, HubSpot, Intercom), and tracks agent interactions.

Implementation time: Copy-paste script tag, deploy. Agent-ready status: Same day (for tracking).

📊 Case Study: E-commerce Store Goes Agent-Ready in 4 Hours

BEFORE:

  • 500-product Shopify catalog
  • Human browsing only (search bar, category filters)
  • Zero agent traffic

IMPLEMENTATION:

  • Installed OpenHermit script tag (10 minutes)
  • Verified form detection (contact form identified, WebMCP attributes injected)
  • Deployed to production (staging → prod pipeline: 3 hours)

AFTER (30 days):

  • Claude and other agents can interact with forms via WebMCP
  • Contact form completions tracked (23 agent-initiated submissions)
  • 12% of new leads originated from autonomous agents
  • Zero custom backend development required

Key insight: The store owner didn't write a single line of code. OpenHermit detected forms, injected WebMCP attributes, and tracked agent interactions automatically.


Level 2 — OpenAPI Exposure: Agent-Ready in Days

Data-driven applications (calculators, pricing tools, comparison engines) need custom API endpoints.

This is the "standard path" for most businesses.

Who This Is For: Pricing Calculators, Data Apps, Custom Tools

  • Insurance calculators: Compare 127 providers (primai.ch model)
  • Mortgage estimators: Calculate payments based on rate/term/amount
  • Product configurators: Price custom builds (PC parts, furniture)
  • Search engines: Query inventory/availability across locations

If your site's value is computation or data retrieval, you need Level 2.

"Agents can't screen-scrape dynamic interfaces—they need structured API endpoints."

How It Works: REST API + Documentation

01 — DESIGN THE ENDPOINT

GET /api/calculate?age=35&zip=8001&deductible=2500&accident=false

02 — IMPLEMENT BACKEND LOGIC

  • Query database (insurance providers, loan rates, inventory)
  • Apply business rules (eligibility, pricing tiers)
  • Return structured JSON

03 — DOCUMENT FOR AGENTS

Create /agent or /claude page with:

  • Example API calls
  • Parameter descriptions
  • Response schema
  • Rate limits

04 — ADD CORS HEADERS

res.setHeader('Access-Control-Allow-Origin', '*');

Agents call from different origins—CORS must allow cross-origin access.

primai.ch Example: /api/ai/compare (127 Insurance Offers)

When OpenClaw tested primai.ch:

Request:

GET primai.ch/api/ai/compare?plz=8810&age=39&deductible=2500&accident=false&limit=all

Response:

{
  "offers": [
    {"provider": "Sanitas", "premium_monthly": 329.90},
    {"provider": "Helsana", "premium_monthly": 334.50},
    // ... 125 more offers
  ],
  "metadata": {"location": "Horgen, ZH", "age": 39, "total_offers": 127}
}

Agent result:

  • Retrieved all 127 offers in <2 seconds
  • Ranked by price (CHF 329.90 - CHF 476.10)
  • Calculated savings potential (CHF 1,754/year)
  • Presented top 10 in clean table

This is Level 2 done right: Structured endpoint, clear parameters, JSON response, agent documentation.

💡 TECHNICAL NOTE: Swagger/OpenAPI Spec

Swagger (OpenAPI specification) provides machine-readable API documentation.

Agents parse the spec to understand:

  • Available endpoints
  • Parameter types and constraints
  • Response schemas
  • Authentication requirements

Example YAML:

/api/calculate:
  get:
    summary: "Calculate insurance premium"
    parameters:
      - name: age
        type: integer
        required: true
      - name: zip
        type: string
        required: true
    responses:
      200:
        schema:
          type: object
          properties:
            premium_monthly:
              type: number

Agents read this spec and construct valid API calls automatically. No human intervention required.

⏱️ Implementation: 3-7 Days (Design, Build, Document, Deploy)

DAY 1-2: API Design

Define endpoints, specify parameters, design response schemas

DAY 3-5: Backend Implementation

Build API routes, implement business logic, add error handling

DAY 6: Documentation

Create /agent landing page, provide example calls with curl

DAY 7: Deploy + Test

Add CORS headers, deploy to production, test with curl/Postman

Timeline: 3-7 days for most custom applications. Complex calculators (multi-step workflows, database queries) may take 2 weeks.


Level 3 — WebMCP Attributes: Agent-Ready in Weeks

Forms built for humans lack semantic structure for agents.

WebMCP adds that layer.

Who This Is For: Lead-Gen Forms, Booking Systems, Multi-Step Workflows

  • Lead generation: Contact forms, demo requests, quote submissions
  • Booking systems: Appointment scheduling, reservation forms
  • E-commerce checkout: Shipping details, payment information
  • Account creation: Signup flows, profile setup

If your conversion path involves forms, you need Level 3.

How It Works: HTML Attributes for Form Discovery

Standard HTML forms provide minimal semantic information:

<form action="/contact" method="POST">
  <input name="email" type="email">
  <textarea name="message"></textarea>
  <button>Send</button>
</form>

Agents see field names (email, message) but must guess:

  • What email? (Contact? Newsletter? Account creation?)
  • What message format? (Free text? Character limits? Specific topic?)

WebMCP attributes provide that context:

<form toolname="submit_contact"
      tooldescription="Submit a contact inquiry"
      toolautosubmit
      action="/contact">

<input name="email" toolparamtitle="Email Address" toolparamdescription="Your email for our reply">

<textarea name="message" toolparamtitle="Message" toolparamdescription="Your question (1-500 characters)"> </textarea>

<button>Send</button> </form>

Agents now understand:

  • This form submits contact inquiries (tooldescription)
  • Email field is for replies (toolparamdescription)
  • Message has character limits (1-500)
  • Form can auto-submit after filling (toolautosubmit)

"Progressive enhancement: Humans see normal forms. Agents see structure. Everyone benefits."

🚀 Current Status: Chrome 146+ Experimental, Autonomous Agents Building Support

Browser adoption: Chrome 146+ with chrome://flags/#enable-webmcp-testing flag

Autonomous agent support:

  • OpenClaw: Exploring WebMCP for form automation
  • MCP servers: Building custom WebMCP parsers
  • Anthropic Claude (API): Tool-use capabilities align with WebMCP model

Timeline prediction:

  • 2026: Experimental, early adopters implementing
  • 2027: Standards finalize, browser vendors ship
  • 2028: Agent-ready sites with WebMCP dominate form-driven traffic

Why Implement Now: Progressive Enhancement + First-Mover Positioning

Progressive enhancement: Attributes don't break existing functionality.

Humans see normal forms. Agents see structure. Everyone benefits.

Zero downside: HTML5 spec allows custom attributes.

Browsers ignore unknown attributes. Your forms work identically for human users.

First-mover positioning: Like responsive design in 2010, early WebMCP adopters gain:

  • Media coverage ("First in industry to be agent-ready")
  • SEO authority (agents cite early adopters as trusted sources)
  • Years of optimization data before competitors start

✅ Implementation: 1-3 Weeks (Manual Attribute Injection or OpenHermit Auto-Inject)

MANUAL IMPLEMENTATION

  • Week 1: Audit all forms (contact, booking, checkout)
  • Week 2: Add WebMCP attributes to each field
  • Week 3: Test with Chrome extension (Model Context Tool Inspector)

OPENHERMIT AUTO-INJECTION

<script src="https://cdn.openhermit.com/script.js"
        data-api-key="your_api_key">
</script>

OpenHermit automatically detects forms, infers field purposes, and injects WebMCP attributes. Implementation time: Same-day (script tag deployment).


📊 Technical Comparison: Time vs. Capability vs. Complexity

PathBusiness ModelImplementation TimeAgent CapabilityComplexityCurrent AdoptionFirst Traffic
Level 1: Platform DetectionE-commerce (Shopify, WooCommerce), SaaS platforms (Calendly, Typeform)1-4 hoursProduct browsing, catalog search, inventory check, appointment booking⭐ Low (script tag only)✅ Works TODAY (OpenClaw, MCP, curl)Same week
Level 2: OpenAPI ExposureCalculators, pricing tools, data apps, comparison engines, search3-7 daysData queries, calculations, structured retrieval, multi-parameter search⭐⭐ Medium (API design + implementation)✅ Works TODAY (all autonomous agents)1-2 weeks
Level 3: WebMCP AttributesLead-gen forms, booking systems, checkout flows, multi-step workflows1-3 weeksForm submission, lead capture, appointment scheduling, checkout completion⭐⭐⭐ High (requires form auditing or auto-injection)🟡 Emerging (Chrome experimental, agents building support)1-3 months

🎯 The Decision Matrix: Which Path Captures Your Traffic Fastest?

Match your primary business model to the fastest path:

E-COMMERCE (Shopify, WooCommerce) → Level 1

Why: Your APIs already exist (/products.json, /wp-json/wc/store/products)

Implementation: Install OpenHermit (1 hour), deploy (same day)

Agent capability unlocked: Product browsing, search, inventory queries

First traffic: Within 1 week

SAAS TOOLS (Calculators, Pricing) → Level 2

Why: Your value is data processing—agents need structured endpoints

Implementation: Design API (2 days), implement (3 days), document (1 day), deploy (1 day)

Agent capability unlocked: Calculations, comparisons, data retrieval

First traffic: 1-2 weeks post-deployment

LEAD-GEN SITES (Forms, Booking) → Level 3

Why: Conversion requires form submission—agents need field context

Implementation: OpenHermit auto-inject (same day) OR manual attributes (1-3 weeks)

Agent capability unlocked: Form submission, lead capture, appointment scheduling

First traffic: 1-3 months (browser adoption timeline)

COMPLEX SITES (Multiple Use Cases) → Multi-Path Strategy

Most mature businesses don't fit one category.

E-commerce sites have newsletters (forms). SaaS tools have demo requests (forms). Health sites have appointment booking (platforms) AND provider search (APIs).

Solution: Implement all three paths sequentially, starting with fastest wins.


Multi-Path Strategy: The Orchestration Layer

Eventually, you'll need all three paths.

The question is managing complexity across platform detection, API exposure, and form markup.

Why You'll Eventually Need All Three

E-commerce Example:

  • Level 1 (Platform Detection): Shopify catalog → agents browse products
  • Level 3 (WebMCP): Newsletter signup → agents subscribe users
  • Level 2 (OpenAPI): Custom size/fit calculator → agents query recommendations

SaaS Example:

  • Level 2 (OpenAPI): Pricing calculator → agents retrieve quotes
  • Level 3 (WebMCP): Demo request form → agents book demos
  • Level 1 (Platform Detection): Calendly integration → agents schedule calls

Health Example:

  • Level 1 (Platform Detection): Calendly/Zocdoc booking → agents schedule appointments
  • Level 2 (OpenAPI): Provider search API → agents filter by specialty/insurance
  • Level 3 (WebMCP): Patient intake form → agents complete pre-visit questionnaires

Single-path implementation leaves capabilities on the table. Multi-path coverage captures ALL agent interactions.

"Instead of managing three separate implementations, you deploy one orchestration layer that unifies all paths."

OpenHermit for Analytics and Tracking

Managing three distinct paths manually creates operational overhead:

  • Platform detection requires continuous monitoring (new integrations)
  • API documentation needs maintenance (endpoint changes)
  • WebMCP attributes require form auditing (new fields added)

OpenHermit provides analytics and tracking across paths:

What OpenHermit Does:

  • Form detection: Auto-detects all forms on your site
  • WebMCP injection: Automatically injects toolname, tooldescription, toolparamtitle attributes
  • Widget detection: Identifies Calendly, Typeform, HubSpot, Intercom
  • Agent tracking: Monitors which agents (Claude, ChatGPT, etc.) interact with your site

Single Dashboard:

  • View detected forms and actions
  • Track agent interactions (Claude, ChatGPT, Perplexity, etc.)
  • Monitor conversion rates by agent
  • See completion events and success rates

One Script Tag:

<script src="https://cdn.openhermit.com/script.js"
        data-api-key="your_api_key">
</script>

This handles:

  • ✅ Form detection and WebMCP injection (automatic)
  • ✅ Agent tracking and analytics
  • ✅ Widget detection (Calendly, Typeform, HubSpot, Intercom)
  • ✅ Event tracking (views, interactions, completions, errors)

What OpenHermit does NOT do:

  • ❌ Platform APIs (Shopify, WooCommerce) - not in current script
  • ❌ Level 2: Custom API endpoints for calculators/tools

The value proposition: OpenHermit tracks agent behavior across all three paths, but you must implement the actual APIs (Level 2) and form markup (Level 3) yourself.


❓ FAQ: Choosing Your Implementation Path

Q: How do I know which path my website needs?

A: Match your primary business value to the path:

  • E-commerce/platforms: Level 1 (Platform Detection) — Shopify/WooCommerce already have APIs
  • Data/calculations: Level 2 (OpenAPI) — Pricing tools, quote generators, search engines need structured endpoints
  • Forms/booking: Level 3 (WebMCP) — Lead capture, appointments, multi-step workflows require form markup

Most mature sites eventually implement all three. Start with the path that captures the most traffic with the least effort—usually Level 1.

Q: Can I just implement WebMCP and skip the other paths?

A: No. WebMCP is designed for form interactions, not data retrieval or product browsing.

If you're an e-commerce site, agents need to query /products.json (Level 1) to browse your catalog before reaching checkout forms (Level 3).

If you have a pricing calculator, agents need an API endpoint (Level 2) to get quotes before submitting lead forms (Level 3).

WebMCP handles submission, not discovery or data queries.

Q: Do I need custom development, or can I use OpenHermit?

A: Depends on the path:

  • Level 3 (WebMCP): OpenHermit auto-detects forms and injects attributes—no custom dev needed.
  • Level 2 (OpenAPI): Custom dev required for proprietary calculators/tools. OpenHermit can't create API endpoints for you.
  • Level 1 (Platform Detection): If you use Shopify/WooCommerce/Typeform/Calendly, OpenHermit auto-detects them.

Bottom line: OpenHermit handles WebMCP injection (Level 3) and widget detection (Level 1) automatically. Only Level 2 (custom APIs) requires backend development.

Q: What if my site doesn't fit any of these categories?

A: Almost every site fits at least one path:

  • Content sites: Level 2 (expose search/article APIs for agent retrieval) + Level 3 (comment/newsletter forms)
  • Service businesses: Level 3 (contact forms, booking) + Level 1 (if using Calendly/scheduling platforms)
  • Marketplaces: Level 1 (platform detection if using marketplace software) + Level 2 (custom search/filter APIs)
  • B2B SaaS: Level 2 (product APIs, documentation endpoints) + Level 3 (demo request forms)

If genuinely unsure, start with Level 1 (OpenHermit detects platforms you didn't know had APIs). Then assess whether you need custom APIs (Level 2) or form optimization (Level 3).

Q: How long until I see agent traffic after implementing?

A: Depends on the path and your existing traffic volume:

  • Level 1 (Platform Detection): 1-7 days (agents discover existing APIs immediately, traffic depends on your site's visibility)
  • Level 2 (OpenAPI): 1-2 weeks (agents find documented endpoints, start querying, traffic ramps as word spreads)
  • Level 3 (WebMCP): 1-3 months (browser adoption early, autonomous agents building support—traffic slower but accelerating)

Higher-traffic sites see results faster (more agent queries). Lower-traffic sites may take 2-4 weeks to accumulate measurable agent visits.

Install OpenHermit analytics to track agent User-Agents (OpenClaw, PerplexityBot, etc.).


🔗 Related Reading

  1. How AI Agents Actually Interact with Websites Today — Context: Protocol access foundation, why structured data matters, sandbox vs. autonomous distinction

  2. Why Finance, E-commerce, and Health Must Optimize for Agents by 2026 — Context: Industry-specific urgency, transaction value + comparison behavior driving adoption


Conclusion: Match Path to Business Model, Implement This Week

The "agent-ready" requirement isn't monolithic.

It's three distinct paths, each optimized for specific business models and delivery timelines.

Level 1 (Platform Detection): If you use Shopify, WooCommerce, or third-party platforms, you're agent-ready in hours. APIs exist—just make them discoverable.

Level 2 (OpenAPI Exposure): If your value is data processing (calculators, search, comparison), you need structured endpoints. Implementation: 3-7 days.

Level 3 (WebMCP Attributes): If conversion requires forms (lead-gen, booking, checkout), you need semantic markup. Implementation: 1-3 weeks (or same-day via OpenHermit auto-injection).

Most mature sites eventually need all three paths.

The question is sequencing: start with the path that captures YOUR traffic fastest, then expand.

The competitive reality: Sites implementing ANY path this week gain first-mover advantage over those perfecting strategy decks.

While competitors debate architecture, you capture agent traffic.

OpenHermit provides the orchestration layer—auto-detecting forms (Level 3), identifying platforms (Level 1), and tracking agent interactions across all paths.

Deploy once, get WebMCP injection and agent analytics immediately. Only Level 2 (custom APIs) requires separate implementation.

The window is open. Infrastructure exists. Proof is validated.

Choose your path. Implement this week. Capture the traffic your competitors are missing.


TRACK AGENT INTERACTIONS

Install OpenHermit. Start tracking agent traffic today.

<script src="https://cdn.openhermit.com/script.js"
        data-api-key="your_key"></script>
GET STARTED FREE →

📚 Resources

MAKE YOUR WEBSITE
AGENT-READY

Add one script tag. Be discoverable by AI agents in 2 minutes.

Get Started Free →