NostrPulse

v1.3.1
io.github.PHONGUIT22/nostrpulse Checked 14 hours ago Published 27 days ago

Autonomous payment & Web-of-Trust anti-Sybil layer for AI agents via Nostr & Cashu (NIP-61 NutZaps).

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

check_trust_score

Verify anti-Sybil Trust Score (0-100) and Web-of-Trust distance for a Nostr pubkey.

ParameterTypeDescription
pubkey *stringTarget Nostr public key in 64-char hex or npub format

pay_cashu_nutzap

Send an eCash NutZap payment (NIP-61) to a Nostr recipient under guardrail limits.

ParameterTypeDescription
amountSats *integerAmount in satoshis to pay
recipient *stringRecipient Nostr public key (64-char hex or bech32 npub)
cashuTokenstring | nullOptional Cashu eCash token string; if omitted, generates a mint quote invoice
commentstring | nullOptional payment message memo
mintUrlstring | nullOptional target Cashu mint URL

request_nip90_job

Dispatch a NIP-90 DVM analytics computation task across Nostr relays with local fallback.

ParameterTypeDescription
prompt *stringTarget Nostr public key or computation query
bidSatsintegerBid fee in satoshis (default: 5)
categorystringTask category: 'zap-analytics', 'reputation', or 'trust-score' (default: 'trust-score')
timeframestringHistorical timeframe: 'all-time', '1y', or '30d' (default: 'all-time')
timeoutMsintegerTimeout in milliseconds (default: 3500)

pay_lightning_nwc

Pay a BOLT-11 Lightning invoice via NIP-47 Nostr Wallet Connect.

ParameterTypeDescription
invoice *stringBOLT-11 Lightning invoice
amountMsatintegerOptional amount in millisatoshis for amountless invoices
nwcUristringOptional NWC connection URI (falls back to env NWC_CONNECTION_URI)
timeoutMsintegerTimeout in milliseconds (default: 15000)

pay_with_nwc

Pay a BOLT-11 Lightning invoice via NIP-47 Nostr Wallet Connect (alias).

ParameterTypeDescription
invoice *stringBOLT-11 Lightning invoice
amountMsatintegerOptional amount in millisatoshis for amountless invoices
nwcUristringOptional NWC connection URI (falls back to env NWC_CONNECTION_URI)
timeoutMsintegerTimeout in milliseconds (default: 15000)

audit_cashu_mint

Audit Cashu mint health, NUT-06 status, and counterparty risk score.

ParameterTypeDescription
mintUrl *stringTarget Cashu mint URL to audit
forceRefreshbooleanBypass in-memory audit cache and perform fresh live probe (default: false)

route_cashu_mint

Route to the highest-trust, lowest-latency Cashu mint for a payment.

ParameterTypeDescription
amountSatsintegerPayment amount in satoshis
minTrustScoreintegerMinimum required trust score (default: 45)
preferredMintstringOptional preferred mint URL to prioritize if verified and healthy

get_agent_identity

Get the autonomous agent's Nostr public identity and npub.

get_spending_guardrails

Check current AI agent spending budget, daily limits, and remaining satoshis.

get_agent_telemetry

Retrieve agent telemetry metrics, rolling spend volume, and security events.

ParameterTypeDescription
limitintegerMax events to return (default: 20)
timeframeHoursintegerTimeframe in hours (default: 24)