Skip to main content

NeuralStock

NeuralStock is an open, agent-native registry of CC0 Blender assets. Every published asset pairs an editable .blend source with a validated GLB runtime artifact, semantic metadata, provenance, inspection results, and a reproducible build receipt.

The initial release is Room Zero: fifteen compatible assets that allow a human or coding agent to assemble a correctly scaled Three.js room without opening Blender or repairing geometry.

Read the project purpose and architecture for the mission and accepted system design.

Install the Python package

NeuralStock requires Python 3.12 or newer:

python -m pip install neuralstock

The default package validates, packages, and verifies local assets and static registries. Install the optional R2 adapter only when a trusted publisher needs Cloudflare R2 access:

python -m pip install 'neuralstock[r2]'

Command line

The package installs the neuralstock command:

neuralstock --version
neuralstock validate --schema asset.intent ./asset.intent.json
neuralstock sha256 --json ./asset.intent.json
neuralstock release verify --root ./neuralstock-release
neuralstock r2 plan --root ./neuralstock-release

Run neuralstock <command> --help for every option. r2 plan is read-only; r2 sync additionally requires the r2 extra, explicitly scoped credentials, bucket, and endpoint URL.

Python API

Version 0.1 exposes canonical endpoint constants and immutable snapshot URL construction from the top-level package:

from neuralstock import (
    CANONICAL_REGISTRY_URL,
    DISCOVERY_URL,
    SCHEMA_ORIGIN,
    registry_snapshot_url,
)

revision = "0123456789abcdef" * 4
immutable_registry = registry_snapshot_url(revision)

registry_snapshot_url accepts only a 64-character lowercase SHA-256 revision. The wheel bundles the v0.2 JSON Schemas, web-v1 profile, typing marker, and the pinned glTF validation tool, so validation does not depend on fetching schemas over the network.

Status

The Room Zero v0.1 pilot is release-verified and published to the neuralstock-public Cloudflare R2 bucket. The active public artifact origin is https://assets.neuralstock.ai, r2.dev access is disabled, and the published Room Zero registry revision is a3e851194d092bf1a06452a62ae98ba8687462ea0cbca668a9b9cc2385768523. That deployment is the infrastructure rehearsal, not the canonical package release. Its owned v0.1 schema/profile keys are immutable historical contracts and cannot receive the complete standalone MIT notices added before rollout. The canonical graph therefore uses a fresh, create-only https://schemas.neuralstock.ai/v0.2/ namespace and matching v0.2 profile prefix. The migration requires a new verified 1.0.1 asset graph and registry revision while retaining every immutable 1.0.0 manifest, v0.1 contract byte, and exact CC0 attestation object; see the namespace decision. Joseph Nordqvist is recorded as the individual CC0 dedicator for every Room Zero asset, with ownership or control of the inputs and authority to make the dedication explicitly affirmed. The release includes:

  • JSON Schema 2020-12 for the public contract;
  • Python for validation, packaging, registry generation, and publishing;
  • Blender 4.5 LTS in a pinned OCI image for source generation and export;
  • GLB/glTF 2.0 as the runtime contract;
  • TypeScript and Three.js for the reference consumer;
  • immutable, content-addressed artifacts served directly from Cloudflare R2.

Room Zero contains exactly 15 coordinated assets, including seven bounded procedural generators. All runtime files pass the Khronos validator without errors or warnings, all accepted-source rebuilds are byte-reproducible, and the real-release browser suite passes at desktop and narrow widths.

The initial registry is a static downloadable snapshot. D1, Durable Objects, Queues, Workflows, Vectorize, and public hosted generation are deliberately deferred until the static pipeline proves useful.

The Cloudflare Pages project neuralstock has preview and production deployments. Its neuralstock.ai and www.neuralstock.ai custom domains are active. The reference site gives people a direct GLB, Blender source, and manifest download for each asset; those downloads come from the R2 origin and do not pass through Pages or a Worker.

Development

Prerequisites:

  • Python 3.12+
  • uv
  • Node.js 22+ and pnpm 10+
  • an OCI runtime for the pinned Blender build

Install and run the fast checks:

uv sync --extra dev
uv run pytest
uv run ruff check .
pnpm install
pnpm test

The root pnpm test command runs the fast suites in every checkout. When dist/release/registry.json exists, or NEURALSTOCK_RELEASE_DIR points to a release, it also runs the Room Zero Playwright suite against that real static release.

Inspect the CLI:

uv run neuralstock --help

Build and verify the complete collection from the versioned accepted sources:

tools/release-room-zero.sh

The optional independent-build gate and its deliberately narrow treatment of Blender serialization and lossless PNG encoding are documented in the reproducibility guide. The end-to-end build, local publication, browser verification, and optional R2 sync are documented in the release runbook.

Rollout and operations are governed by the governance policy, rollout plan, GitHub runbook, and operations runbook. The exact v0.1 promotion gates are in the release checklist, with durable evidence recorded under docs/releases/.

Generated Blender sources belong in work/; packaged outputs belong in dist/. Neither directory is committed. Reviewed catalog metadata remains in Git while content-addressed binaries are published separately.

Contributing and security

Before proposing an asset or software change, read the contribution guide. Report vulnerabilities through the private process in the security policy, not a public issue.

License

Repository-owned software is MIT licensed. Published asset content is dedicated under CC0-1.0 and must pass the provenance policy before publication. The asset licensing policy defines that boundary precisely; vendored and generated dependencies retain the terms listed in the third-party notices.

Metadata

Release files for neuralstock 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for neuralstock 0.1.0
File Size Uploaded
neuralstock-0.1.0.tar.gz 165.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for neuralstock 0.1.0
File Interpreter ABI Platform
neuralstock-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 353.7 kB

Release files / neuralstock-0.1.0.tar.gz

Download URL neuralstock-0.1.0.tar.gz
Size 165.4 kB
Tags Source
SHA-256 checksum
How to use checksums
05d0f9b080fe91c352ee7b9cade373d5b835820803fafbca375ccd61cde4e98c
BLAKE2b-256 checksum
How to use checksums
4e2fa91302156f9479c3cd745e60dccf3dc12b0fe280691659bbc3c1783d6b51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.

Transparency log

Release files / neuralstock-0.1.0-py3-none-any.whl

Download URL neuralstock-0.1.0-py3-none-any.whl
Size 188.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6d98bc1e062a94c6c7882ae038b592d846d9a705eb3401f16946d28be9422d3
BLAKE2b-256 checksum
How to use checksums
172f179fff1179b3d712f34aa956ef915c21c05a880e9716f8d95d69cea4387d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page