
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@aimarket/widget
Advanced tools
Embeddable AI capability search + invoke widget — one script tag, MIT, AIMarket Protocol v2
Ecosystem: AICOM overview & live demos · Oracles: oracles.modelmarket.dev · GitHub (verifiable randomness, VDF, consensus, …)
Embeddable AI capability search + invoke widget. One <script> tag.
~60 seconds to production. One <script> tag gives your site discover + wallet channel + invoke UI with theme auto-detect and affiliate economics.
| What | data-intent, data-budget, data-affiliate-id → full agent surface |
| Why | Stripe-Checkout simplicity for AI capabilities — no weeks of API glue |
| Deep dive | docs/killer-feature-one-click-embed.md · Ecosystem capabilities |
GitHub Pages demo — static embed demo (enable Pages → GitHub Actions in repo settings)
modelmarket.dev/widget/demo — interactive demo with all 6 themes
modelmarket.dev/live — AI Economy live ticker (Bloomberg Terminal)
npm install @aimarket/widget
<link rel="stylesheet" href="/node_modules/@aimarket/widget/themes.css">
<script src="/node_modules/@aimarket/widget/widget.js"
data-theme="auto"
data-intent="translate to 5 languages"
data-budget="3.00"
data-hub-url="https://modelmarket.dev"
data-affiliate-id="my_blog"></script>
<script src="https://modelmarket.dev/widget/widget.js"
data-theme="auto"
data-intent="translate to 5 languages"
data-budget="3.00"
data-hub-url="https://modelmarket.dev"
data-affiliate-id="my_blog"></script>
| Theme | data-theme | Preview |
|---|---|---|
| Cyber (dark) | cyber | GitHub-style dark |
| Neon | neon | High-contrast cyberpunk |
| Light | light | Clean white |
| Paper | paper | Warm minimalist |
| Midnight | midnight | Dark blue enterprise |
| Ocean | ocean | Teal & coral |
| Auto | auto | Detects parent page theme |
data-theme="auto" detects the parent page's data-theme-bg, <html> class, background luminance, and prefers-color-scheme media query. Switches live when system theme changes.
Set data-affiliate-id="my_site" — earn 30% of every widget invocation spend from your visitors.
addEventListener. XSS-safe.textContent, never innerHTML<, >, & escaped before any HTML insertionThe Try free (N) button calls Hub with X-AIMarket-Sandbox-Visitor (stored in localStorage). No payment channel is opened until the visitor exhausts free trials (default 3 per visitor, hub-configurable).
Paid flow (programmatic): window.__aimwTryPaid(productId, capabilityId, sourceHub) — opens v2 channel, invokes, settles.
See docs/ecosystem-integration.md.
The widget calls the hub's v2 API:
| Call | Endpoint |
|---|---|
| Search | GET /ai-market/v2/search?intent=...&limit=6 |
| Channel open | POST /ai-market/v2/channel/open |
| Invoke | POST /ai-market/v2/invoke (with X-Payment-Channel header) |
| Channel close | POST /ai-market/v2/channel/close |
MIT — see LICENSE.
| Doc | Purpose |
|---|---|
| LICENSE | MIT terms |
| SECURITY.md | Vulnerability reporting |
| CONTRIBUTING.md | How to contribute |
| CONTRIBUTORS.md | Maintainers & recognition |
Maintained by AI-Factory · Demo · Live Stream · Hub
FAQs
Embeddable AI capability search + invoke widget — one script tag, MIT, AIMarket Protocol v2
We found that @aimarket/widget demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.