Skip to Content
@package-system

The neuralweb marketplace

The package protocol's distribution surface — publish, vet, audit, and install AI capabilities down to a single element.

Maturity: preview (70 %)

Marketplace. The marketplace registers or uploads packages, vets them in stages, serves them with integrity digests and a signed revocation feed, and is used through a CLI and an MCP registry facet.

  • The marketplace is not publicly hosted; it runs as a local deployment only.
  • The marketplace never assigns trust; trust stays the installing host's decision.
  • Direct uploads are declarative only; packages that carry code publish through npm.
  • Publisher sign-in with GitHub is not available.

How maturity is measured

Public registry not yet deployed

A self-hosted instance serves the full API, the CLI and the MCP subregistry facet today; the public deployment at registry.neuralisapp.com does not resolve yet. Point NEURALWEB_REGISTRY at your own instance.

The package system is a protocol, and neuralweb is its distribution surface: creators publish whole packages or single elements (a skill, instruction, rule, agent, doc, workflow, team member, tool or connector), and humans, agents, organizations and self-hosted Neuralis instances search, audit and install them down to the single element.

The marketplace verifies identity, scans every version with the platform's own validators and discloses capabilities up front, but trust stays the installing host's decision, as on every other path to the platform. A listing carries a vetting status (unscanned → scanning → scanned → verified-publisher → signed, forward only — signed is schema-ready but unreachable, since the signing pipeline does not exist yet), a risk band and an install-channel recommendation (markdown-drop, packages-drop or deps-rail) — never a trust grade.

Two publishing channels

npm registrationDirect upload
What you publishAn existing npm package, its npm versions mirroredA package tree or a single element (a lone workflow, a bare skill folder, …)
IdentityThe npm name, after ownership proof@<publisher-handle>/<name>, first claim wins, npm collisions refused
Ownership proofA publisher marker in package.json or a DNS TXT challenge at _neuralweb.<domain>; one verified proof for that exact identity is enough to listYour authenticated publisher account
Code allowedYes — compiled runtime code ships through npm and is statically analyzedNo — uploads are declarative-only by construction (contribution markdown and JSON contracts): runtime code is rejected before anything is stored
Element kinds acceptedAll nineteenA closed allowlist of eleven: skill instruction rule agent docs workflow team-member credential config-setting, plus tool only when schema-only and connector only when a plain URL. A skill's scripts/ still ship — refused is declared executable surface (a built dist/, a code runtime, any hook, any App surface, a script command, a factory- or command-bearing connector)
IntegrityTarballs fetched origin-pinned, integrity-verified while streamingCanonically re-packed; the stored bytes' hash is the source of truth

Both end in a content-addressed artifact, a version row and a scan chain; nothing unscanned is listed. Two more channels are not public: an admin-only internal channel (re-verified server-side; the only one that may publish @neuralis/* identities or code that did not come through npm — how the contract examples are seeded), and a git channel that is schema-ready but refused at the API today.

Six-stage vetting

Every accepted version runs six stages, appending verdicts to an append-only history:

  1. Identity — publisher standing, an ownership proof for this exact identity, provenance and integrity, typosquat and reserved-name detection, a reverse-scope impersonation probe. A standing or missing-proof hold goes straight to stage 6.
  2. Static malware — over every text file, scripts and package.json included: secret patterns (generic high-entropy assignments warn), invisible and bidirectional Unicode, obfuscation, npm install-script flags, and an optional antivirus pass failing closed when configured but unreachable (skipped when unconfigured).
  3. Contract — the platform validator suite exactly as the host runs it, plus static analysis of shipped code. It extracts the capability disclosure (features, URI policies, tools, credential ids from skills and credentials[]), shown before install and diffed between versions so an escalation is visible. A config setting with an envFallback raises config-env-fallback. The vocabulary is 19 element kinds: 17 contribution and surface kinds plus credential and config-setting, which are declarations, never secrets.
  4. LLM content — eight deterministic rules (pipe-to-shell, staged downloads, credential exfiltration, jailbreak framing, base64 blobs, look-alike tokens, homoglyphs, network calls) and a declared-versus-instructed check, plus an LLM judge for flagged content that fails closed when unavailable.
  5. Dynamic — honest about being a stub today: its verdict says "skipped".
  6. Risk review — a transparent weighted score: list, list with a review flag, or hold. Any failing verdict holds the version, and a held version is never auto-listed by a re-scan; release is a moderator decision.

A version is publicly readable only while its package is active and the version is listed. Every other state — submitted, scanning, held, hidden, delisted, revoked — is absent from every public read, never rendered as "locked" and indistinguishable from a name that does not exist. Twelve fixture packages (eleven hostile, one benign control) pin the scanner's verdicts in CI.

Signed revocations — the kill switch

A revocation writes its revocation feed row first, unconditionally; delisting follows. The feed is canonical JSON at GET /api/v1/revocations, signed with ed25519 (public key at /.well-known/neuralweb.json); clients, the CLI included, verify the signature over the raw bytes before parsing. One feed entry kills a compromised package platform-wide, since every installer checks the feed first.

A row is exactly id, package_identity, version_raw, reason_code, created_at, in that order (the signed canonical form); the reason code is one of malware, credential-exfiltration, prompt-injection, typosquat, ownership-dispute, publisher-request, security-other, the same seven an abuse report uses.

Per-element serving: three tiers

Every element of a listed version is addressable on its own, in one of three tiers:

  • Tier A — standalone bundle. A deterministic archive that is a valid project drop. Its element-manifest.json pins the element reference, the parent package (identity, version, hashes, catalog URL), the compatibility minimums, the capability disclosure, every file's hash, the vetting status at pack time and its own wire version.
  • Tier B — document. A JSON envelope: the verbatim author contract plus a hash of its canonical encoding — self-verifying offline.
  • Tier C — not standalone. It needs its owning package's runtime.
TierKindsEndpoint
Askill instruction rule agent docs workflow team-memberRead: GET .../versions/{version}/elements/{kind}/{id}/content — the prose as plain text. ?path= selects one file of a multi-file element (an invalid path answers with the valid list); ?line_start=/?line_end= (1-based, inclusive) window it. CLI: neuralweb read '<identity>@<version>#<kind>/<id>'. Install: .../bundle — a gzip tarball of the origin file(s) plus a generated element-manifest.json; integrity in the Digest: sha-512= response header.
Btool (schema-only) connector (URL-only) credential config-settingGET .../versions/{version}/elements/{kind}/{id}/document — a JSON envelope whose contract is the whole artifact. (/bundle and /content refuse with 400.)
Chook command resource source policy widget dock card — plus any tool whose contract carries a handler-shaped key and any connector that is not a plain mcp/http URL/bundle answers 409 TIER_C_NOT_STANDALONE with a deep link to the parent package. Every App surface is Tier C in every asset mode, assetMode: "bundle" included.

Reading and installing are different rails: a windowed /content read carries the whole-file digest in X-Neuralweb-File-Digest, and /document on a Tier-A kind returns metadata only (the PackageFile projection).

The contract examples

The three contract examples (@neuralis/example-builtin, @example/project-package, @neuralis-examples/example-source) are published here as versioned references, since native package source is not published. There is no editable base-package workspace to download: author your own @yourco/* against the same contract.

The CLI consumption loop

The npm client neuralweb is a thin, dependency-light HTTP client of the public API, with eight consumer verbs and no others:

neuralweb search "browser automation" --kind skill
neuralweb info @acme/research-kit#skill/deep-research
neuralweb read '@acme/research-kit#skill/deep-research'    # the prose, as text
neuralweb audit @acme/research-kit          # scan report, capability disclosure, risk
neuralweb download @acme/research-kit --out ./review
neuralweb verify ./review/research-kit.tgz  # re-run the integrity chain offline
neuralweb revocations                       # the signed kill-switch feed, verified first
neuralweb install @acme/research-kit#skill/deep-research   # project rail

Exit codes: 0 success, 1 usage / network / API error, 2 verify mismatch, 3 revoked or vetting refusal (an HTTP failure is never 2/3). The CLI package ships a neuralweb skill: an agent with the packages.registry feature runs the read loop (search, info, read, audit, verify, revocations) from its shell; installing and publishing stay operator actions.

Every install is verified end to end (one mismatched byte fails) behind a pre-install gate on the revocation feed and the vetting status:

  • install --channel project (default) drops a verified Tier-A element into the _packages/ beside the project's .neuralweb.json marker, or --dest (neither is a usage error); Tier B is pointed at download, Tier C refused with a link to its parent.
  • install --channel builtin takes a whole package and only prints the admin's host command (registry-add for npm, tarball for internal packages): builtin installation is the admin's trust act; direct uploads are refused.

The publisher lane is neuralweb publisher login|register|verify-dns|publish|status|token|webhook; neuralweb audit <identity>@<version> --fresh requests a re-scan with an owner PAT.

The MCP subregistry facet

The catalog is also re-served, read-only and anonymous, in the official MCP registry API shape (v0.1), so an MCP-aware client can list neuralweb as a subregistry beside any other. Three spec paths plus one health probe of our own:

PathWhat it serves
GET /api/mcp/v0.1/serversthe server list — ?cursor, ?limit, ?search, ?updated_since, ?version, ?include_deleted (forced on under updated_since, so sync clients observe deletions)
GET /api/mcp/v0.1/servers/{serverName}/versionsthat server's versions
GET /api/mcp/v0.1/servers/{serverName}/versions/{version}one version (latest is an alias)
GET /api/mcp/healthliveness — not part of the spec

It never emits install metadata falsely asserting a runnable MCP server; revoked entries are spec-conformant tombstones; every miss is one byte-identical spec-shaped 404.

Org catalogs

An organization's catalog is the public listing intersected with its allowlist, deny-by-default (an empty allowlist shows nothing). The allowlist has exactly two arms — an exact package identity (optionally one element and/or a semver range) or an @scope/* wildcard; anything else is rejected, never stored. /api/v1/orgs/{org}/… is member-scoped: a member's publisher credential (mutations only for an admin) or an org token with the org-admin scope, never mixed. GET /api/v1/orgs lists only the caller's own orgs. Every refusal is one byte-identical 404, never a 403, revealing nothing about whether the org exists.

Reviews, ratings, and abuse reports

A review (POST /api/v1/packages/{identity}/reviews) is a 1–5 rating with an optional title (200 characters) and body (5 000), for the package or one element; posting again replaces it, DELETE removes it, and the aggregate is recomputed in the same transaction. Reviews need recorded usage (an install or download by the anonymous carrier) — friction, not proof: an anonymous id is mintable. Reviewer identity is stored only as a peppered hash and never served.

POST /api/v1/packages/{identity}/report files an abuse report under one of the seven reason codes (optional 2 000-character body; a repeat is an idempotent 202). Reports feed a moderator queue and never hide a version by themselves; hiding, delisting and revoking stay moderator decisions.

Where this fits

The marketplace closes the protocol's loop: capabilities authored anywhere, agentskills.io skills included, publish and are vetted once, then install onto any Neuralis host through the paths every package uses (builtin class, sandboxed project drop, synced source). It adds identity, vetting, capability disclosure and a kill switch; the host keeps the trust decision.

On this page