Reference

API Reference

Command and SDK surfaces for implementing and consuming AWP.


CLI

bash
npx create-awp init --name "My Site" --url https://example.com npx create-awp validate https://example.com --check-tokens npx create-awp convert openapi ./openapi.json --output ./awp/api/

TypeScript SDK

typescript
import { AWPConsumer } from "@agentic-web-protocol/sdk"; const client = new AWPConsumer("https://sustainableshop.example.com"); const summary = await client.getSummary(); const functions = await client.getFunctions();

Python SDK

The Python SDK exposes async discovery, detailed manifest loading, content retrieval, structure retrieval, and function schema retrieval.

CMS Helpers

@agentic-web-protocol/cms generates valid AWP files for WordPress, Shopify, and framework integrations.

V2 Package

@agentic-web-protocol/v2 includes primitives for subscriptions, federation, reputation, natural language operation matching, multimodal indexes, and marketplace entries.