A runtime for building and operating complex software systems from composable, executable capabilities.
Neuron gives software a common composition model. Capabilities expose executable contracts. Assemblies connect those capabilities through explicit relationships. The runtime operates the resulting system without taking ownership of the business logic inside each capability.
A capability can be implemented in a different language or execution environment from the Assembly that uses it. That separation lets teams compose software without forcing every implementation into one framework, process or technology stack.
A Capability is an executable unit with a declared contract. It defines the parameters it accepts and the results it returns. Its implementation may run as a native process, a WebAssembly module, or an in process built in capability supplied by N.O.R.E.
An Assembly defines the capabilities in a system and the relationships between them. Bindings connect inputs to values produced by other capabilities. Conditions can govern execution. Dependencies are derived from the data references in the composition.
An Assembly is the composition. It is not the implementation of the capabilities it connects.
A Capability Runtime provides the machinery needed to execute a capability. Neuron keeps this hosting boundary separate from the logical Assembly. Process and WebAssembly execution are supported today.
N.O.R.E. is the Neuron Operational Runtime Engine. It plans and operates registered Assemblies, schedules capability execution, manages runtime lifecycles and coordinates the execution boundaries.
The Capability Runtime makes an executable capability available. That capability can run independently or become part of an Assembly. The Assembly expresses how capabilities work together and can itself become part of a larger application. The Neuron Runtime executes both independent capabilities and registered Assemblies.
An Assembly is authored as a typed definition or as canonical YAML. TypeScript and YAML are the first class authoring surfaces today. Other languages can participate by producing the canonical Assembly manifest.
The TypeScript SDK makes data relationships visible in the authoring code. A capability that reads a prior result depends on that capability. Two capabilities that read the same earlier result can execute as independent branches. A later capability that consumes both results creates the join.
A minimal TypeScript definition uses the published @neuronruntime/sdk package:
import { Assembly, Capability, string } from "@neuronruntime/sdk";
const sayHello = Capability("say-hello")
.runtime({ name: "neuron:core:set" })
.paramsSchema<{ message: string }>()
.resultSchema({ message: string() });
const manifest = Assembly()
.paramsSchema<{ message: string }>()
.resultSchema({ message: string() })
.withParams((input) =>
sayHello.withParams({ message: input.message })
)
.result({
message: sayHello.result.message,
})
.toManifest();
export default manifest;The project configuration owns Assembly identity such as its name and version. The Assembly source defines the composition and exports its manifest.
The Assembly does not need to know where a capability runs. N.O.R.E. dispatches work through the selected Capability Runtime host.
Process hosting runs an external capability as an operating system process and communicates through the Neuron capability runtime protocol.
WebAssembly hosting runs a WASI module inside the embedded WebAssembly runtime.
The container and remote runtime types are described in the module design as planned capabilities. They are not presented here as shipped hosting options.
Neuron has one user facing Go CLI, named neuron. It builds project sources, compiles the canonical Assembly representation, resolves capability runtime requirements, freezes the selected versions and registers the result with N.O.R.E.
Install the Go based neuron executable from the release page, then clone the source repository and prepare its TypeScript SDK dependencies before running the shipped example:
git clone https://github.com/neuron-runtime/neuron.git
cd neuron
pnpm install
pnpm build:sdk
cd examples/hello
neuronThe bare neuron command performs the project build and registration, then starts the foreground project runtime. For TypeScript projects, it discovers and invokes the SDK builder as part of that build pipeline. Keep that terminal open. In another terminal, from the same project directory, execute the Assembly:
cd neuron/examples/hello
neuron run --params '{"name":"World"}'neuron run sends a synchronous execution request and prints the Assembly result. It does not stream execution events or return an execution handle. The advanced neuron instance commands provide execution inspection, signal delivery and cancellation.
Use neuron build when the goal is to build and register without leaving the foreground project runtime running.
The Go based neuron CLI owns the project build lifecycle. It detects the configured authoring language and selects the corresponding builder. For TypeScript projects, the Go builder locates the SDK build executable in the project's node_modules/.bin directory, then falls back to the system PATH. It invokes that builder internally and loads the generated manifest.
The build package applies the Assembly identity from project configuration, canonicalizes and persists the manifest, then continues through compilation, Capability Runtime resolution, version freezing and registration with N.O.R.E. Developers use neuron build; they do not run or manage a separate neuron-sdk command.
Install the project dependencies before building a TypeScript project:
pnpm install
neuron buildThe TypeScript SDK remains the authoring API used in assembly.ts. Its build executable is an internal implementation detail of the Go CLI, not another project workflow.
Neuron separates the logical capability from the runtime package that implements it.
Built in modules run in process inside N.O.R.E. They are always available and are not downloaded or installed.
External modules are packaged Capability Runtimes. The CLI resolves their requirements against configured registries, verifies the package, installs it into the local immutable store and freezes the exact selected version into the build record.
The current registry implementations are github and local. Version constraints use semantic versioning. A compatible installed version can satisfy a pinned requirement without another download. A floating requirement consults the registry to discover the current best match.
The package manifest describes the module identity, runtime type, entry point, protocol, capabilities and platform artifacts. A declared digest is checked during installation. The module store is separate from the Assembly definition and from the runtime that executes it.
A capability can complete in one invocation or, when the feature is enabled, suspend while waiting for a signal or timer. A later delivery resumes the same logical operation.
Durable instances reconcile ready dispatch intents, elapsed timer waits and execution deadlines. A resumed or retried invocation receives a fresh attempt ID while retaining its logical operation ID. Signal delivery IDs provide an idempotency boundary.
This is at least once delivery. It is not a guarantee of exactly once external side effects. Capability implementations must use the logical operation ID and delivery ID when deduplicating work.
Waiting and signal resume are additive and feature gated. Non durable instances remain event driven.
The documentation is organized around the implementation and the interfaces used to work with Neuron.
Getting started
Installation and platform support
Architecture and composition
Architecture and execution semantics
Assemblies and Capability Runtimes
Developer interfaces
TypeScript SDK source and guide
Neuron is under active development. The core model for authoring, manifest validation, compilation, dependency resolution, version freezing, project runtimes and the current process and WebAssembly hosting boundaries is implemented and exercised by the repository test suite.
The public surface continues to evolve. Waiting and signal resume are feature gated. Container and remote hosting remain planned. Check the source repository and release notes for the current state of each capability.
Neuron · Build. Connect. Run.