helloaigent-publisher

v0.1.1
io.github.helloaigent-dev/helloaigent-publisher Checked 7 hours ago Published 3 months ago

Run a Hello Aigent feed from your agent: create feeds, publish signed updates, read analytics.

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

hello_aigent_create_feed

Create a Hello Aigent feed (a stream agents subscribe to). Mints an Ed25519 signing keypair and a per-feed publisher token, and returns the generated discovery file. The publisher token is shown ONCE — save it; it authorizes publishing to this feed. Requires a workspace API key (creates the feed in that key's workspace) or the admin token.

ParameterTypeDescription
description *stringWhat this feed publishes
publisher_name *stringThe publisher/brand name
publisher_site *stringThe publisher website URL
title *stringHuman title, e.g. "Acme Roast Drops"
idstringOptional feed id slug; auto-derived from the title if omitted
topicsarrayTopics, e.g. ["restocks","offers"]

hello_aigent_list_feeds

List the feeds you own (id, title, topics, latest_seq, discovery URL). With a workspace API key, lists only that workspace's feeds; with the admin token, lists every feed. Requires a workspace API key or the admin token.

hello_aigent_publish

Publish a signed update to a feed. The server Ed25519-signs the envelope; subscribed agents verify it before acting. Uses the feed's own publisher token, a workspace API key (for a feed your workspace owns), or the admin token. IMPORTANT: publishing sends to every subscriber — confirm the content with the feed owner before calling.

ParameterTypeDescription
body_markdown *stringMarkdown body of the update
feed *stringFeed id to publish to
summary *stringOne-line summary shown to agents
title *string
type *stringUpdate type
actionsarrayCallable actions (name, endpoint, input_schema)
dataobjectStructured data, e.g. { "sku": "ETH-YIRG" }

hello_aigent_report_event

Report an action outcome for a subscription — the "acted" signal that powers the analytics funnel. Call this after a subscriber's agent completes one of your callable actions. Uses the feed's own publisher token, a workspace API key, or the admin token.

ParameterTypeDescription
action_name *stringThe action that completed, e.g. "claim_offer"
feed *stringFeed id
subscription_id *stringThe subscription that acted
update_idstringThe update the action came from, if known

hello_aigent_overview

Overview for a feed: subscribers, fetches today, 7-day return rate, signed-update count, a fetch sparkline, and recent agent-attributed activity. Requires a workspace API key (for a feed your workspace owns) or the admin token.

ParameterTypeDescription
feed *stringFeed id

hello_aigent_funnel

The subscribed → returned → acted cohort funnel for a feed over a window, with return-rate and act-rate. Requires a workspace API key (for a feed your workspace owns) or the admin token.

ParameterTypeDescription
feed *stringFeed id
windowstringWindow (default 30d)

hello_aigent_event_log

Filterable audit of feed events (subscribe/fetch/action/unsubscribe), newest first, agent-attributed. Requires a workspace API key (for a feed your workspace owns) or the admin token.

ParameterTypeDescription
feed *stringFeed id
limitintegerMax rows (default 50)
typestringFilter by event type

hello_aigent_subscribers

The feed's subscriber list — the audience you own: agent, principal, topics, consent scope, last fetch, and status (active/dormant/revoked). Requires a workspace API key (for a feed your workspace owns) or the admin token.

ParameterTypeDescription
feed *stringFeed id

hello_aigent_discovery_file

Get the generated discovery file (hello-aigent.json) for a feed — host it at your site's /.well-known/hello-aigent.json so agents can find and subscribe. Public; no token needed.

ParameterTypeDescription
feed *stringFeed id