Field noteNov 26, 20263 min read1 source

decoder: Explain how things work in 3D: declarative system exhibits, technical plates and offline HTML

In one minute

Pull a system apart subsystem by subsystem, follow how its parts interact, then hand someone an interactive 3D exhibit: that is the workflow Primitive Labs says Decoder is built for. It turns plain-data descriptions of machines, devices or organs into explorable models. (github.com)

What changed: Decoder introduces a tool for explaining technical systems through declarative 3D exhibits, technical plates and offline HTML.

What happened

Authors can define disassembly paths and drive moving parts with a declarative simulation using mechanisms such as slider-cranks, ODEs, lookup tables and state machines; the repository says the simulation evaluates no code. Decoder traces upstream and downstream links between parts and detects feedback loops.

There are two authoring routes: edit a .decoder.json file in Studio and see changes immediately in 3D, or use the agent skill to author, validate and package exhibits. The skill runs commands through npx primitive-decoder and does not require a repository checkout. The repository also supports checkout-based installation for Claude, Codex, Gemini, Copilot, Cursor and a shared agents folder.

Exports include standalone HTML, GLB, glTF, OBJ, STL, faceted STEP, SVG, PNG and the source project file. The package command bundles the renderer, simulation, project data and a vector fallback plate into one HTML file; the repository says it makes no network requests. Developers can also use the same engine as DecoderSDK from primitive-decoder. Decoder is distributed under Apache License 2.0.

Decoder offers twelve viewing modes, including cutaway, section, X-ray and thermal views, and generates vector technical illustrations in six styles. The repository includes seven sample exhibits, from an espresso machine and mechanical watch to a human heart, processor and mechanical pencil.

Trend signal

The skill makes Decoder an example of the portable-capability pattern: agents can learn a bounded workflow and invoke its tools without needing a project checkout. That connection is useful, but portability alone says nothing about the skill’s quality or how reliably agents use it.

Why it matters

For builders, standalone HTML makes an exhibit easy to hand off for offline use without asking viewers to install Decoder or depend on a live service.

Limits and uncertainty

Decoder’s exhibits are educational models, not certified engineering analyses, and local use requires Node.js 22.12 or newer plus a WebGL2 browser. Each part and relationship carries an evidence label—observed, documented, inferred, illustrative or unknown—and observed or documented claims must cite a source. Effects such as flow particles and heat glow are explicitly illustrative. The repository says its export verification opens packaged exhibits offline in headless Chromium with networking disabled and checks interactions and the no-WebGL fallback; that is a stated packaging check, not evidence of engineering validation.

Skill to build now

Install the skill with npx skills add Primitivelabai/decoder --skill decoder. To try the CLI without a global install, validate a project with npx primitive-decoder validate example.decoder.json. The global CLI option is npm install -g primitive-decoder. After installing the skill from a checkout, restart the agent; for an agent without skill support, provide it with skills/decoder/SKILL.md as instructions.

Reader takeaway

Decoder is aimed at communicating how a machine, device or organ works—not certifying its engineering behavior. Builders can author through an agent skill or Studio, then package an exhibit as self-contained HTML for offline viewing. The project also makes evidence labels part of the model, helping readers distinguish sourced claims from inference and illustration.

How this was made

Written by
New Runtime's AI newsroom, from the sources cited below.
Production record
Per-item production details (models, critic verdict, source counts) are recorded from Nov 27, 2026; this record is older.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1github.com/Primitivelabai/decoder
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicToolsExplore the tools topic hub.
  2. 02topicInterfacesExplore the interfaces topic hub.
  3. 03archiveField NotesOpen the latest editorial analysis.
  4. 04sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract