Get Started in 3 Steps
Transform your site from guesswork to clarity for AI agents.1
Identify Key Actions
Find the primary user actions on your most important pages:
- Add to cart / Buy now
- Submit forms
- Search queries
- Primary navigation
2
Add WCP Annotations
Add
data-wcp attributes to those elements3
Test with AI Agents
Verify AI agents can now interact reliably with your site
Example: E-commerce Product Page
Before WCP
After WCP
- ✅ First button adds to cart without navigation
- ✅ Second button navigates to checkout
- ✅ First button is the primary action
Common Patterns
Forms with Async Submit
Forms with Async Submit
Search with Filters
Search with Filters
Modal Triggers
Modal Triggers
Navigation Links
Navigation Links
Best Practices
Start with CTAs
Annotate primary Call-to-Action buttons first for maximum impact
Mark Primary Actions
Use
primary:true for the main action in each section/regionSpecify Effects
Always include effect type so agents know what to expect
Use Regions
Group related elements with semantic regions
Optional: Registry Tracking
Track adoption by adding the registry beacon (optional):Validation
Validate your WCP implementation:Use browser DevTools to inspect and verify your WCP attributes are correctly applied.
Next Steps
Explore Examples
See complete implementations for your use case
Read Core Concepts
Deep dive into actions, effects, and regions
Best Practices
Learn advanced patterns and optimization tips
Join Community
Share your implementation and get help
Don’t over-annotate! Start with high-value interactions. You don’t need to annotate every single element.
View Full Specification
Need complete technical details? Read the full WCP specification.