Sign In

@helloaigent-dev/cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helloaigent-dev/cli

Hello Aigent publisher CLI — create feeds and publish signed updates from the terminal (or your agent).

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
110
-67.46%
Maintainers
1
Weekly downloads
 
Created
Source

@helloaigent-dev/cli

Hello Aigent publisher CLI — a thin, dependency-free wrapper over the Hello Aigent publisher API (POST /v0/feeds, GET /v0/feeds, GET .../discovery.json, POST /v0/publish, GET .../health). Create a feed and publish signed updates from a terminal — or from your agent — with no UI required.

The producer-side counterpart to @helloaigent-dev/subscriber (which lets an agent subscribe/fetch/act) and @helloaigent-dev/publisher (the same operations as an MCP server, for agents that prefer tool calls over a CLI).

Install

npm i -g @helloaigent-dev/cli

If a global install isn't an option in your environment, every command below has a plain curl equivalent — see the docs linked from each command.

Commands

helloaigent feed create   --title <t> --publisher <name> --site <url> --description <d>
                          [--topics a,b,c] [--id <slug>]   (needs admin token)
helloaigent feed list                                       (needs admin token)
helloaigent feed discovery <feed-id> [--out <file>]         (public)
helloaigent publish       --feed <id> --type <offer|announcement|restock|content>
                          --title <t> --summary <s> (--body <md> | --body-file <path>)
                          [--data <json>] [--action <json> ...]   (needs publish token)
helloaigent health <feed-id>                                (public) discovery reachable,
                          key present, schema sanity — exits 1 if degraded
helloaigent help                                             (also: no args, or --help)
  • feed create — mint a feed + Ed25519 keypair + publisher token. The publisher token is shown once in the response — save it immediately.
  • feed list — list feeds owned by the admin token.
  • feed discovery <feed-id> — fetch the generated hello-aigent.json discovery document for a feed. Public, no auth needed. --out <file> writes it to disk instead of stdout (useful for mirroring it to your own site's /.well-known/hello-aigent.json).
  • publish — build and publish a signed update to a feed. --data takes a JSON object string; repeat --action for each callable action (each one a JSON object: { name, endpoint, input_schema }). Provide the markdown body with either --body <text> or --body-file <path>.
  • health <feed-id> — checks discovery reachability, signing-key presence, and schema sanity for a feed. Public, no auth needed. Exits with status 1 if the feed is degraded, so it's safe to use in a CI or deploy-verification step.

Auth

Every command reads config from flags or environment variables (flags win):

FlagEnv varUsed byDefault
--api <url>HELLOAIGENT_APIall commandshttps://api.helloaigent.dev
--admin-token <tok>HELLOAIGENT_ADMIN_TOKENfeed create, feed list
--token <tok>HELLOAIGENT_TOKENpublish

feed discovery and health are public reads and need no token.

Example

export HELLOAIGENT_ADMIN_TOKEN=admin_...

helloaigent feed create --title "Acme Roast Drops" --publisher "Acme Coffee" \
  --site https://acme.example --description "Restocks & offers" --topics restocks,offers
# ✅ feed created: acme-roast-drops
#   publisher token (shown once — save it now):
#     publisher_...
#   signing public key: ed25519:...
#   discovery URL:      https://api.helloaigent.dev/v0/feeds/acme-roast-drops/discovery.json
#   publish URL:        https://api.helloaigent.dev/v0/publish

export HELLOAIGENT_TOKEN=publisher_...   # the token from the step above

helloaigent publish --feed acme-roast-drops --type restock \
  --title "Yirgacheffe back in stock" --summary "Agent-exclusive early access" \
  --body "# Back in stock" --data '{"sku":"ETH-YIRG"}'
# ✅ published to acme-roast-drops: msg_...
#   signature: ed25519:...

helloaigent health acme-roast-drops
# ✅ acme-roast-drops: ok
#   ✓ feed_active
#   ✓ discovery_reachable
#   ✓ signing_public_key_present
#   ✓ schema_sanity

License

MIT

Keywords

hello-aigent

FAQs

Package last updated on 06 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts