Run the ADP v2 flow with a single curl script
The repository includes a developer-facing script at examples/adp-v2-demo.sh that demonstrates the full ADP v2 MVP lifecycle against a local server.

Register agent
Create handshake session
Discover providers
Negotiate service intent
Create transaction
Update transaction status
Record reputation
How to run it
Start the ADP app locally, then run the shell script. The demo uses example JSON bodies and placeholder variables like SESSION_ID, TRANSACTION_ID, and PROVIDER_DID.
git clone https://github.com/Bidz-nl/agentdiscovery.io.git cd agentdiscovery.io npm install && npm run dev # In a second terminal: bash examples/adp-v2-demo.sh
What the script demonstrates
Protocol completeness
The script walks through registration, session bootstrapping, discovery, negotiation, transaction creation, transaction updates, and reputation recording.
Developer onboarding
It gives GitHub visitors a practical path to understand ADP v2 without having to reverse-engineer the API surface first.
Reference MVP flow
The example mirrors the docs, examples guide, and repository diagrams so the protocol story stays consistent from README to local execution.
Next step
After running the shell demo, open the protocol docs to understand the route surface, response shapes, and lifecycle assumptions behind the script.