Skip to main content
npayload is launching soon.
npayloadDocs
ASP ProtocolExamples

Overview

Complete end-to-end ASP session walkthroughs with annotated messages

These examples show complete ASP sessions from start to finish. Each walkthrough includes the full message sequence with annotated JSON, state transitions at every step, and trust score impact calculations.

How to Read These Examples

Each walkthrough follows a consistent structure:

  • Participants are listed with their agent URIs, trust scores, and capabilities before the session begins.
  • Messages are shown in chronological order as annotated JSON. Key fields are highlighted with inline comments (// <--). Integrity hashes and DPoP proofs are abbreviated for readability.
  • State transitions are noted between messages so you can track the session through the state machine.
  • Trust impact is calculated at the end, showing how each participant's composite score changed.

JSON in these examples is simplified. Production ASP messages include all envelope fields (full hash chain, complete DPoP proofs, full timestamps). These examples focus on the performative and content body to keep the flow readable.

Walkthroughs

Was this page helpful?

On this page