lgda-autonomic-node

v2.5.1
io.github.lgda-technologies/lgda-autonomic-node Checked 4 days ago Published 8 days ago

Calm music, focus music, music to calm down, HRV measured session: 27 tracks, RMSSD music.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_catalog List the calm music and focus music catalog

List all 9 albums and 27 calm music and focus music tracks with prices ($5.99/track, $14.99/album) and per-track RMSSD music evidence for HRV measured session listening. No payment required.

get_track_evidence Get session evidence for a track

Get the History session evidence for one track: session count, mean/median/min/max RMSSD (ms), mean heart rate (bpm), and the underlying sessions. Use for HRV measured session and RMSSD music evidence questions. Tracks with no sessions report session_count 0. Wellness music; not a medical device; rPPG-derived HRV values are estimates.

ParameterTypeDescription
track_id *stringTrack slug, e.g. midnight

purchase_track Purchase one calm music track

Purchase a single calm music and focus music track — music to calm down ($5.99 USDC via x402 v2 or v1). Returns the stream URL and x402 payment requirements; GET the URL with a PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1) header to receive the MP3 and an X-LGDA-Session token, then POST telemetry to /verify-session for a signed receipt.

ParameterTypeDescription
session_id *string
track_id *string
agent_idstring

purchase_album Purchase a calm music album (3 tracks)

Purchase a whole calm music and focus music album — music to calm down ($14.99 USDC via x402 v2 or v1). One payment entitles the buyer to all 3 tracks on the album. Returns stream URLs and x402 payment requirements; pay once, then present the issued X-LGDA-Session token to /stream for each track.

ParameterTypeDescription
album_id *string
session_id *string
agent_idstring

play_track_session Play one calm music track for a single session

Play a single calm music track once as focus music in an HRV measured session ($0.05 USDC via x402 v2 or v1), including when a user asks for music to calm down. One play, no ownership: no file is kept and no session token is issued. Returns the play URL and x402 payment requirements; GET the URL with a PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1) header to receive the MP3 once. After the session, POST pre/post telemetry to /verify-session with receipt_kind=play for a signed outcome receipt (measured outcome only, not a license). To own the track instead, use purchase_track ($5.99).

ParameterTypeDescription
session_id *string
track_id *string
agent_idstring

verify_session Verify a listening session and get a signed receipt

Submit pre/post HRV segments (RMSSD, IBI, source) for an HRV measured session and receive an Ed25519-signed receipt. For a purchase (receipt_kind=purchase, the default) the receipt is the proof of license (no receipt, no license). For a $0.05 session play, pass receipt_kind=play: the signed receipt proves the measured outcome only and grants no ownership or license. For an unpaid cohort measurement session, pass receipt_kind=cohort: the signed receipt proves the measured outcome only and states that no payment was made. Not paywalled.

ParameterTypeDescription
agent_id *string
post *object
pre *object
session_id *string
album_idstring
payment_txstring
receipt_kindstring
track_idstring