Skip to content

HiveCast and MatrixDocker-for-actors. npm-for-actors.

A typed pub/sub/RPC substrate where any feed, service, or component is the same primitive — published, discovered, instantiated, and metered the same way across local Hosts, hosted Hosts, and existing language ecosystems.

Motivation

This portal exists because the substrate is a lot of moving parts — protocol, runtime, registry, security, and on top of that the apps and the cloud platform — and a single starting point matters more than any individual page. Read this first to figure out which docs package answers your question, then jump straight there. The portal does not try to teach the whole system on one page; it routes you to the package whose docs are written for what you are actually trying to do, whether that is installing HiveCast, publishing a package, hardening a deployment, or wiring up an agent. The known-gaps register linked below captures real implementation gaps and target-state items, so you can tell what is shipped today from what is planned.

What HiveCast and Matrix actually are

Matrix is docker-for-actors / npm-for-actors. Same shape as Docker and npm, mapped onto an actor system instead of OS containers:

ConceptDocker / npm worldMatrix substrate
The thing you publishImage / npm packagePackage (@open-matrix/<x>)
The registryDocker Hub / npm / GiteaGitea or HiveCast-hosted package registry
The thing that runsContainerDeploymentInstance (a copy of a package)
The runtime that runs themDocker engine / NodeMatrix runtime (a Node process; multi-package)
The host that runs runtimesLinux box / VMA Matrix Host (the user's machine)
The orchestrationCompose / KubernetesHost Service + future composer
Inter-container commsTCP/IP, socketsNATS subjects, typed bus messages
Isolation declarationseccomp, namespacesmatrix.json runtime.isolation field
Container name (--name)docker run --name foomatrix deploy --instance-name foo

Underneath the analogy, the substrate is a typed pub/sub/RPC fabric with a registry, a capability catalog, identity, federation, and metering, runnable across multiple execution tiers. Three primitive types of actor — Feed, Service, Component — cover everything you can publish: a stream, a request/reply endpoint, or a UI-bearing actor. All three are typed (declared accepts / emits / streams), all three live at a Space-rooted bus address, all three are discoverable, instantiable on demand, metered, and revocable.

HiveCast is the first big provider on top of this substrate. Personal AI runtime, inference market, compositional UIs, and (post-launch) third-party Matrix-enabled web pages are verticals built on top. The substrate is the business; the verticals are the proof.

Read first: The product thesis — the consolidated docker-for-actors framing, the three execution tiers, the three discovery surfaces, the five distribution wedges, and the v0 -> v3 roadmap.

Three execution tiers

  1. Tier 1 — Local runtime. Code on a Host the user owns. Holds OAuth tokens, talks to local databases, drives COM/Win32, runs long-lived agent loops. This is what hivecast install puts on a laptop or VPS.
  2. Tier 2 — Hosted runtime. A Host the operator does not own personally — a hosted VPS, a HiveCast-managed Host, or eventually a serverless edge runtime (Cloudflare Workers, AWS Lambda, Modal). Same Host code as Tier 1; different ownership.
  3. Tier 3 — External services and language-native ecosystems. Each ecosystem gets one connector package — system.com, system.win32 (already on master at commit 937ad7d5), and future system.npm, system.pypi, system.openapi, system.dotnet. Each connector unlocks a whole ecosystem in one package.

Three discovery surfaces

QuestionSurfaceExample
"What can do X?"Catalogsystem.catalog ranks candidates by capability, stats, trust, cost, locality
"What is in registry X?"BrowseBrowse the Gitea registry directly
"What is currently live?"Livesystem.runtimes, system.devices, system.registry

The three surfaces overlap but answer different questions. The substrate is honest about which is which.

Where this portal fits

The HiveCast and Matrix documentation portal is organized by product. Each product/domain has its own independent docs package — @open-matrix/docs-<product> — that builds, deploys, and versions on its own. The portal you are reading right now is the cross-package landing page.

Substrate-side docs (the typed-actor fabric and supporting infrastructure):

Vertical-side docs (products built on top of the substrate):

Source-grounded, target-state-marked, no fantasy

Every page in this portal follows three rules:

  1. Present state from code. If a page describes how something works, that description is grounded in actual source files. Most pages list the exact <file>:<line> references in frontmatter under sourceCode.
  2. Target state explicitly marked. When a page describes planned behavior — for example, the v0.5 MCP bridge forward direction, or full per-op capability tokens — the page says so with a > **Status: target state — ships in v0.5/v1/etc.** callout and a pointer to the workstream that owns delivering it.
  3. Never fantasy. If neither code nor an explicit roadmap supports a claim, it does not appear.

When a documentation page diverges from code, the page is wrong, not the code. Cross-references back to source make that easy to verify.

Source-portability contract

Every page is pure CommonMark + GFM — no :::tip admonitions, no MDX components, no Vue or React inline components, no framework-specific markdown extensions. Source markdown imports cleanly into VitePress, Astro Starlight, Docusaurus, or any other CommonMark-aware static site generator.

Full rules at WORKSTREAMS/product-consolidation-and-documentation/PORTABILITY-RULES.md.

Known gaps, quirks, and design decisions

Sub-agents authoring this portal read the actual source for each package and surfaced a register of real gaps (missing implementation), intentional designs that are easy to misread, and documentation hygiene drift. Read Known gaps and quirks before assuming any framework behavior — it covers the silent $prompt seal, asset-relay caps, the Caddy /nats-ws bypass, and others.

Legacy docs

The original VitePress docs at /apps/docs/ (architecture, operations, security, workstreams) are still served while content migration into the new domain-organized portal is in progress.