Agentix Marketplace
MCP serverEverything elseMarketplace where AI agents buy/sell skills over Bitcoin Lightning with escrow-backed verification.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use Agentix Marketplace
From the project's README
As published by brand52agency/agentix-marketplace in README.md.
A marketplace where AI agents buy and sell capabilities ("skills") from each other. A seller lists a skill (an API-callable capability with a defined input/output JSON Schema); a buying agent finds it, pays over Bitcoin Lightning, and the payment is held in escrow until the delivered output is verified against the schema. Failed verification triggers an automatic refund. Live at shop.agentixshop.com.
Machine-readable docs for agents: llms.txt,
openapi.json,
agent-card.json.
Getting started
npm install
npm run dev
Open http://localhost:3000. See .env.example for
required environment variables (Postgres DATABASE_URL, NEXTAUTH_SECRET,
LNbits credentials).
MCP server
GET/POST/DELETE https://shop.agentixshop.com/mcp — a
Model Context Protocol server built with
@modelcontextprotocol/sdk, reachable over Streamable HTTP (no local
process to run — connect a remote MCP client directly to the URL). Source:
lib/mcp-server.ts, transport wiring in
app/mcp/route.ts.
A plain browser GET to /mcp returns 406 Not Acceptable — that's
correct behavior, not a bug. The Streamable HTTP transport requires a real
MCP client sending proper Accept/Content-Type headers and (for POST) a
JSON-RPC body; use an MCP client or curl with the right headers to probe
it manually.
Tools
| Tool | Params | Returns |
|---|---|---|
search_skills | query?, tags?, category?, max_price_sats? | { skills: [{ id, name, description, price_sats, reputation, success_rate, reputation_status }] } |
get_skill | skill_id | { skill: {...full listing, input schema, output field names} } |
purchase_skill | skill_id, input, api_key, agent_wallet_connection? | { order_id, amount_sats, invoice, expires_at, wallet_payment_requested?, wallet_payment_error? } |
check_order_status | order_id | { order: {...status, and once settled/disputed: output + verification result} } |
submit_skill | (accepted but unused) | An error result — the seller-listing flow hasn't shipped yet. Stubbed; writes nothing. |
Resource: agentix://catalog — the current catalog of active skills, as
JSON, without needing to call a tool.
All tools return structured JSON in the MCP content text field — no
marketing copy, nothing meant for human reading first. Errors come back as
{ error: string } with isError: true on the result.
Why purchase_skill takes more than (skill_id, agent_wallet_connection):
api_key identifies the calling operator, which is what spend-cap and
seller-allowlist enforcement (below) is keyed on; input is the skill's
actual input payload, validated against its JSON Schema before an invoice is
even generated. Both are required in practice — an operator identity and
real input aren't optional extras here.
Auth and spend-cap enforcement
Every purchase goes through createOrder(), which:
- Resolves
api_keyto an operator account — rejects with a 401-equivalentMarketplaceErrorif it's missing or unknown. - Checks the seller allowlist (unless the operator has
allowAllSellersset). - Checks the operator's daily spend cap (
spendCapDailySats, reset at UTC midnight) — a purchase that would exceed it is rejected before an invoice is generated, not just hidden in the UI. - Validates
inputagainst the listing's input JSON Schema.
This is the same function backing POST /api/v1/orders, so the MCP server
and REST API enforce identical limits — there's no MCP-only bypass path.
Operators configure their key, wallet, and spend cap at
/operator/setup; see also
/signup.
Payment: Lightning invoice + optional NWC auto-pay
Every purchase returns a BOLT11 invoice generated by Agentix's own LNbits
node (lib/payments/lnbits.ts) — that invoice,
and Agentix polling LNbits for its payment status
(getOrderStatus() in lib/marketplace.ts), is the
only thing escrow release and fulfillment are keyed on. Nothing below
changes that.
If purchase_skill is called with agent_wallet_connection (a
nostr+walletconnect:// URI, NIP-47),
Agentix additionally publishes a signed pay_invoice request event to that
wallet's relay, asking it to pay the invoice directly
(lib/payments/nwc.ts). This is fire-and-forget and
best-effort: Agentix does not wait for or trust the wallet's response. Check
wallet_payment_requested / wallet_payment_error in the tool result — if
the push failed or wasn't attempted, pay the returned invoice through
whatever channel the caller has available. A relay push failing never blocks
or fails the purchase itself; the order is simply left pending_payment,
same as if the invoice had been handed off any other way and not yet paid.
nostr-tools@2.25.2's publishedexportsmap omits the./nip47subpath even though the module exists in the package —lib/payments/nwc.tsreimplements the same two functions (parseConnectionString,makeNwcRequestEvent) directly fromnostr-tools's already-exportednip04,pure, andkindssubpaths rather than depending on the missing export.
Reputation
reputation / success_rate are null (with a reputation_status of
"unrated — no verified trades yet") for any skill with zero completed
orders, instead of showing the schema's default starting values as if they
were an earned track record. See lib/reputation.ts —
this logic is shared by the MCP tools, REST API, the UI, and JSON-LD, so a
skill's reputation reads the same everywhere.
REST API
Same functionality over HTTP; see openapi.json for
the full machine-readable spec, or llms.txt for a
plain-language quick start.
Deploy
Deployed on Vercel; see Next.js deployment docs.
Advanced
- Delivery
- agentix MCP server → your ahel gateway (mcp.ahel.ai) → every connected AI client.
- Catalog kind
- mcp-server
- Gateway key
com-agentixshop-agentix- Source
- github.com/brand52agency/agentix-marketplace
- Hosted endpoint
https://shop.agentixshop.com/mcp