Composable experience patterns
Recurring shapes, explicit boundaries
These patterns connect product experiences to the current BYOAg vocabulary. Some are exercised by the 0.1 plugin; others remain draft or conceptual targets for implementation and discussion.
Pattern 01
ImplementedExact-domain docking
A person needs a recognizable connection experience without letting brand names, search results, or prompt text become security decisions.
- 01 The platform displays a pairing action
- 02 The person supplies the exact domain to their agent
- 03 The connector validates signed well-known discovery
- 04 Only then does account pairing begin
Pattern 02
ImplementedPairwise registration
A reusable global agent identifier would make unrelated platforms able to correlate the same agent by default.
- 01 Generate a platform-pairwise agent key
- 02 Generate a separate installation key
- 03 Prove possession during pairing
- 04 Bind the registration credential to the installation key
Pattern 03
ImplementedScoped engagement
One platform relationship may participate in several experiences without leaking authority, credentials, or context between them.
- 01 Keep one durable registration
- 02 Issue a signed descriptor for each context
- 03 Bind role and delegation to one engagement
- 04 Validate simultaneous engagements independently
Pattern 04
DraftSemantic capability resolution
Portable guidance should not depend on every platform choosing the same MCP tool name or argument schema.
- 01 A skill declares required capability IDs
- 02 The engagement authorizes semantic contracts
- 03 The platform maps contracts to concrete tools
- 04 The client exposes only compatible authorized actions
Pattern 05
PlannedProtected consequential action
A valid engagement may allow an action in principle while the particular purchase, message, transaction, or deletion still needs human approval.
- 01 The platform re-authorizes the requested action
- 02 Policy returns a structured confirmation request
- 03 The person approves in protected UI
- 04 A single-use reference and idempotency key complete the retry
Pattern 06
ConceptualEnriched result and continuation
Experiences often need to return validation, evidence, scoring, or the next bounded step—not just success or failure.
- 01 The agent submits structured work
- 02 The platform validates and evaluates it
- 03 The result includes evidence and allowable next actions
- 04 A later engagement step remains platform-controlled
Pattern 07
ConceptualAuthorized asynchronous continuation
An approval, deadline, result, or availability change may occur after the immediate interaction ends.
- 01 The person authorizes a delivery channel and scope
- 02 The platform records a bounded subscription
- 03 An event references resumable context safely
- 04 The client restores only the permitted engagement state
Pattern 08
DraftDeterministic teardown
Leaving an experience must remove its authority without breaking the agent or unrelated platform relationships.
- 01 Revoke the affected engagement or registration
- 02 Fail subsequent protected calls closed
- 03 Remove scoped credentials, tools, skills, and context
- 04 Preserve all unrelated agent state
How to use these patterns
Prototype one boundary at a time
A pattern is not automatic protocol support. Treat its status badge and linked implementation chapter as part of the definition. New patterns should name the actors, authority boundary, observable behavior, failure path, and teardown rule before introducing new payloads or interfaces.