Skip to content

Add x402/agent-payments/vibe-coding keywords and README section for npm discoverability - #5

Merged
urbantech merged 1 commit into
mainfrom
feature/npm-keyword-discoverability-9368
Oct 29, 2026
Merged

urbantech merged 1 commit into
mainfrom
feature/npm-keyword-discoverability-9368

Conversation

@urbantech

Copy link
Copy Markdown
Contributor

Summary

`@ainative/sdk`'s npm keywords had no mention of x402, agent payments, MCP, or agentic-commerce — despite the package shipping a real x402 client as of v3.2.0. Real npm search research (done live, in-browser, against the actual registry):

  • `keywords:x402` → 1000+ results, top packages (`@x402/evm`, `@aifinpay/agent`, `run402`) ranging from 18k to 1M+ weekly downloads. This package's own weekly downloads at time of writing: 14.
  • `keywords:agentic-commerce` → 375 results, same pattern.
  • `keywords:vibe-coding` → 1000+ results, top hits in the millions of downloads (`@upstash/context7-mcp` at 2.58M), almost always paired with `mcp`/`model-context-protocol`/`claude-code`/`cursor` — the exact audience this SDK already serves via Agent Swarm + MCP integration.
  • Also checked the org's own other packages: `@ainative/agent-sdk` and `@ainative/agent-runtime` both have the right keywords (x402, agent-cloud, mcp, agentic-ai, multi-agent, etc.) but no README at all — real, separate gap, not fixed here (different packages, different scope).

Changes

  • `package.json`: adds 22 keywords across 3 real-traffic categories — ai-agent/agentic-ai/agent-cloud/mcp/model-context-protocol (agent infra), x402/agent-payments/agentic-commerce/usdc/http-402/micropayments (payments), vibe-coding/vibecoder/ai-coding/ai-assistant (the audience actually searching for agent tooling right now).
  • `package.json`: description now mentions x402 explicitly (previously only said ZeroDB + Agent Swarm).
  • `README.md`: new "x402 Agent Payments" subsection under API Reference, documenting `client.x402` with a real, typechecked example (verified with `tsc --noEmit` against the actual client — caught and fixed a wrong-field-name mistake in my own first draft: it's `plan_id` not `plan`, `id`/`price_usd` not `name`/`amount`, matching `src/types/x402.ts` exactly).

No code changes, no behavior change, no version bump to the API surface — same 3.2.0 functionality, now actually discoverable by the terms people are searching.

Test plan

Full suite unaffected (docs/metadata-only change): `npx jest` → `Test Suites: 7 passed, 7 total / Tests: 211 passed, 211 total`.

Refs AINative-Studio/core#9368

The package.json keywords array had no mention of x402, agent payments,
MCP, or agentic-commerce -- despite the SDK shipping a real x402 client
today (v3.2.0). Researched real npm search traffic for the category
(keywords:x402, keywords:agentic-commerce, keywords:vibe-coding all
return 300-1000+ results with top packages in the hundreds of thousands
of weekly downloads -- @aifinpay/agent at 114k, run402 at 18k, etc.) --
this package's own x402 support was invisible to anyone searching the
exact terms its own category uses.

Also adds vibe-coding/vibecoder/vibe-coder/ai-coding/ai-assistant --
"vibe-coding" alone returns 1000+ npm results with top hits in the
millions of downloads (@upstash/context7-mcp at 2.58M), almost always
paired with mcp/model-context-protocol/claude-code/cursor, i.e. the
same audience this SDK already serves via Agent Swarm + MCP.

README changes: the intro/features list and a new "x402 Agent Payments"
subsection (alongside the existing ZeroDB/Agent Swarm subsections)
document client.x402 with a real, typechecked example (verified against
the actual X402SubscribeRequest/X402Plan shapes -- plan_id, not plan;
id/price_usd, not name/amount -- the first draft of this example used
the wrong field names before being checked against src/types/x402.ts).

No code changes, no version bump to the published API surface -- same
3.2.0 functionality, just findable now.
@urbantech
urbantech merged commit a2dd75f into main Oct 29, 2026
@urbantech
urbantech deleted the feature/npm-keyword-discoverability-9368 branch October 29, 2026 01:00
urbantech added a commit that referenced this pull request Oct 29, 2026
Patch release so the new keywords/description/README x402 section
(#5) actually reach the published npm listing -- npm metadata is
tied to the published version, so the previous commit alone doesn't
update what search/the package page shows until a new version ships.

No code or behavior change.

Refs AINative-Studio/core#9368

Co-authored-by: AINative Admin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant