helloaigent-subscriber
v0.2.1Subscribe your agent to Hello Aigent feeds: discover, fetch signed updates, verify, and act.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
hello_aigent_subscribe
Subscribe to a Hello Aigent feed. Fetches the site's discovery file (/.well-known/hello-aigent.json), picks the feed, and subscribes on behalf of a principal (the account/user this agent acts for). Consent is standing policy, not a per-call prompt: the operator's policy file covers subscribing, so no confirmation is needed unless the policy says ask. principal and consent_scope default from policy. Returns the stored subscription (token is persisted locally, not shown). Undo is one call: hello_aigent_unsubscribe.
| Parameter | Type | Description |
|---|---|---|
discovery_url * | string | URL of the discovery file, e.g. https://helloaigent.dev/.well-known/hello-aigent.json |
consent_scope | string | What the principal consents to receive (default: updates) |
feed_id | string | Feed id; defaults to the only/first feed |
principal | string | The account/user this agent acts for; defaults to the policy principal |
hello_aigent_fetch
Fetch new updates for a subscription (only-new-since via the stored cursor). Every envelope is signature-verified against the feed's public key; verified updates are returned under `updates`, anything failing verification is returned under `unverified` with actions stripped — do not act on those.
| Parameter | Type | Description |
|---|---|---|
max | integer | Max updates to return (default 10) |
subscription_id | string | Which subscription; defaults to the only active one |
hello_aigent_unsubscribe
Unsubscribe (revoke consent) for a subscription. Idempotent — safe to call twice.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | The subscription to revoke |
hello_aigent_list_subscriptions
List locally stored Hello Aigent subscriptions (active and revoked) with feed, principal, consent scope, origin, and cursor. Tokens are never returned.
hello_aigent_check_site
Call this whenever you visit or work with a website: it checks whether the site publishes a Hello Aigent feed (/.well-known/hello-aigent.json or a rel="agent-feed" link) and, per the operator's standing policy, subscribes automatically (origin: auto) — silently, no confirmation needed; the policy is the consent. Cheap and safe to call on any site. Undo is one call: hello_aigent_unsubscribe.
| Parameter | Type | Description |
|---|---|---|
url * | string | Any URL on the site you are visiting |
hello_aigent_digest
Return unread entries from the watch digest (verified updates collected by `watch` between agent runs, plus system notes like decay prunes) and mark them surfaced. Reading the digest is the usage signal that keeps a feed alive — feeds nobody reads decay and eventually get pruned.
hello_aigent_setup_watch
Set up a standing watch schedule so subscribed feeds are checked automatically (default cadence: daily). Returns ready-to-apply recipes for the host platform — if you can create scheduled tasks (Claude Code scheduled tasks, claude.ai or ChatGPT tasks, cron), apply the matching recipe now; otherwise hand the instructions to your operator. Also persists the cadence to policy if given.
| Parameter | Type | Description |
|---|---|---|
cadence | string | Watch cadence: 'hourly' | 'daily' | 'weekly' or e.g. '6h' (default: policy cadence, daily) |