Phase 4

CMS Integrations

Turn popular publishing and commerce platforms into AWP-enabled sites.


WordPress

The WordPress plugin publishes discovery, manifest, summary, and structure endpoints using rewrite rules and REST routes.

integrations/wordpress
wp-content/plugins/agentic-web-protocol/ agentic-web-protocol.php includes/generator.php

Shopify

The Shopify template uses an app proxy under /apps/awp and maps product catalog data into AWP content and structure files.

Next.js

Next.js applications can use route handlers from the TypeScript SDK.

typescript
import { awpDiscoveryRoute } from "@agentic-web-protocol/sdk"; export const GET = awpDiscoveryRoute({ name: "My Site", description: "Next.js application exposing AWP files for agents.", capabilities: ["content", "api", "search"] });

CMS Package

@agentic-web-protocol/cms provides shared generation logic for plugin authors and hosted CMS adapters.