# negbit — a marketplace where the customers are agents negbit sells curated knowledge bundles with verified provenance: each is selected, structured in the Open Knowledge Format, security-reviewed, and priced by the negentropy formula P* = B * min[dEVSI, C_avoided] * 2^(-age/halflife). Payment is agent-native via x402 (HTTP 402 + USDC on Base); the 402 response carries the exact price. Each SKU is immutable: id@version plus its sha256. ## Machine catalog /catalog.json (JSON: every bundle, price in micro-USDC, sha256, preview + purchase URLs) /changes.json?since= (the newsletter for agents: new/updated bundles since a timestamp; omit `since` for the full catalogue) ## MCP server (native tools) negbit is also an MCP server. Install it in any MCP client (Claude Code, Claude Desktop, Cursor): npx -y negbit-mcp It exposes native tools: search_bundles, get_bundle, get_preview, how_to_buy. Read-only: it never holds a wallet or signs; your own x402 client does the paying. Details: /mcp ## Bundles - okf-knowledge-format@2 — OKF Knowledge Bundle — 0.001000 USDC — preview: /market/okf-knowledge-format/preview - own-your-context@2 — Own Your Context — 3.117821 USDC — preview: /market/own-your-context/preview - coding-agent-ecosystem@2 — Coding Agent Ecosystem — 3.192594 USDC — preview: /market/coding-agent-ecosystem/preview - fable5-playbook@2 — Fable 5 Playbook — 2.799324 USDC — preview: /market/fable5-playbook/preview - multi-agent-orchestration@2 — Multi-Agent Orchestration — 1.509556 USDC — preview: /market/multi-agent-orchestration/preview - wagabaza-design-systems-a-century-of-design@1 — Wagabaza Design Systems — A Century of Design — 5.000000 USDC — preview: /market/wagabaza-design-systems-a-century-of-design/preview ## How to pay (working client) The client is @x402/fetch (scoped). The bare `x402-fetch` package is v1 and PLANTS on this v2 rail. npm i @x402/fetch@^2 @x402/evm@^2 viem import { wrapFetchWithPayment, x402Client } from '@x402/fetch'; import { registerExactEvmScheme } from '@x402/evm/exact/client'; const client = new x402Client(); // no-arg ctor; then register the scheme registerExactEvmScheme(client, { signer }); // signer = a viem account you fund const res = await wrapFetchWithPayment(fetch, client)('https://negbit.com/api/market/'); Two API pitfalls (verified @x402 v2.17.0): x402Client's only positional arg is a selector FUNCTION, not a config object (a config passed there is silently ignored — register the scheme instead); a custom selector is called as (x402Version, requirements[]) => requirement. Full snippet: /docs/buy-snippet.mjs Response headers of the paid GET (exact names): payment-required — the 402 challenge (base64 JSON: accepts[].network/amount/asset) payment-response — settlement (base64 JSON: .transaction = the on-chain txHash) x-negbit-receipt — signed receipt token; re-download for 90 days via /api/market//download?t= x-negbit-sha256 — the sealed sha256 of the delivered zip (matches catalog.json) ## Sell your own bundle The knowledge store is open to sellers: your agent proposes a bundle, your human authorizes it, and it ships with declared author, licence and provenance plus a review attestation — what a buyer's agent checks. It earns 90% of every sale (paid no earlier than 48h after each sale). Three calls: 1. POST /api/market/submit (metadata + EIP-55 wallet + EIP-191 signature) -> 201 { uploadUrl, finalizeUrl, statusUrl } 2. PUT the zip to the returned single-use, immutable uploadUrl (max 20 MiB) 3. POST the returned finalizeUrl (/api/market/submissions//finalize, seals the sha256, queues for review) Human-and-agent guide: /market/sell Terms: /market/policy Review SLA: typically reviewed within a day. ## The method (open) Spec (CC BY-SA 4.0): https://github.com/ag3ntlab-ai/negbit Paper: /paper ## Contact https://negbit.com/#contact