Skip to main content
Get started integrating with AdCP using our schemas and official SDKs.

Schema Access

AdCP schemas are available from two sources: Both sources contain identical schemas. The GitHub repository includes all released versions with bundled schemas committed directly to the codebase.

One-shot protocol bundle

Syncing hundreds of individual schema files adds up. Every AdCP release also publishes a single gzipped tarball containing the complete protocol — schemas, compliance storyboards, and the OpenAPI registry — so clients can pull one artifact instead of crawling the tree. Every tarball extracts into a single adcp-{version}/ directory (safe extraction, no tarbomb). Inside:
Verify the checksum before extracting:
Pull it once per version, cache by SHA, and you have everything needed to validate requests, run storyboards, and render documentation offline. The @adcp/client sync-schemas command uses this under the hood. Available tarballs are also listed at /protocol/.

Verifying protocol bundle signatures

The SHA-256 sidecar lives on the same origin as the tarball, so it only protects against in-transit tampering. For supply-chain protection — proving the bundle came from the AdCP release workflow and was not swapped for a malicious one even if the host were compromised — every released {version}.tgz is also published with a Sigstore detached signature. The signature is produced by the GitHub Actions release workflow using keyless OIDC: there is no long-lived AdCP signing key to leak. The certificate binds the signature to the workflow identity that issued it.
cosign verify-blob exits non-zero if the signature was made by anything other than the AdCP release workflow, even if the SHA matches and TLS is valid. Use this in any pipeline that ingests the protocol bundle as an enforcement source. The @adcp/client sync-schemas command performs this verification automatically when the sidecars are present. Older releases that predate signing, and versions republished out of band (bypassing the signing workflow), remain checksum-only — clients should treat missing sidecars as a “checksum-only” trust level rather than a verification failure.

Compliance storyboards

Storyboards live alongside schemas at /compliance/{version}/. They define the test scenarios AAO runs to verify an agent’s capability claims. Declare supported_protocols (for protocol baselines) and specialisms (for narrow capability claims) in get_adcp_capabilities — the compliance runner executes the matching bundles to verify. See the full Compliance Catalog for every protocol and specialism an agent can claim.

Common Schemas

For AI Coding Agents

Point your AI coding agent to https://docs.adcontextprotocol.org/mcp for MCP integration documentation.

Client SDKs

AdCP provides official SDKs for JavaScript/TypeScript, Python, and Go. These work for both client and server implementations.

AdCP 3.0 support

All three official SDKs ship AdCP 3.0. Pin to (or above) the minimum listed below and validate with the storyboard test suite. If you are on an earlier major version, upgrade before working through the 3.0 migration guide.

JavaScript / TypeScript

npm version
Resources: Package exports:
  • @adcp/client — Main API
  • @adcp/client/testing — Buyer-side storyboard runner (runStoryboard, comply, testAgent) and seller-side controller scaffold (createComplyController — see Get Test-Ready)
  • @adcp/client/server — Low-level server helpers (MCP tool registration, state stores, handleTestControllerRequest)
  • @adcp/client/advanced — Advanced API features
  • @adcp/client/types — TypeScript type definitions

Python

PyPI version
Resources:

Go

The Go SDK provides typed tool registration, response builders, and a compliance test controller. Types are generated from canonical AdCP schemas. See the Go SDK README for the full API reference. Resources:

CLI Tools

The JavaScript and Python SDKs include command-line tools for testing and development.

JavaScript CLI

Python CLI

Schema Versioning

AdCP uses semantic versioning. Choose the right path for your use case: The same version semantics apply to /schemas, /compliance, and /protocol/{version}.tgz — one release cuts all three. Pin to an exact version for stability:

Development

Use the major version alias to stay current with backward-compatible updates:

SDK Type Generation

Bundled Schemas

For tools that don’t support $ref resolution, use bundled schemas with all references resolved inline. Bundled schemas are available from both the website and GitHub:

Website Access

GitHub Access

Bundled schemas are committed to the repository at dist/schemas/{VERSION}/bundled/:

Directory Structure

Bundled Schema Categories

All request/response task schemas are bundled: See the schema registry for all available schemas.

Version Discovery

Check Release Notes for version history and migration guides.

Registry API

The AgenticAdvertising.org registry provides a public REST API for brand resolution, property resolution, agent discovery, and authorization validation. No authentication required.

Registry API Reference

Resolve brands, discover agents, and validate authorization via REST.