Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
51fa79e
docs(profile): redesign Neuron organization README
the-mindful-dude Dec 3, 2026
3a351a7
Preserve exact brand artwork beneath animated silver gradient
the-mindful-dude Dec 3, 2026
4ccc557
Match the original brand canvas dimensions and reduced motion
the-mindful-dude Dec 3, 2026
779567a
Polish organization profile intro markup
the-mindful-dude Dec 3, 2026
0a6adcf
Respect reduced motion in lifecycle illustrations
the-mindful-dude Dec 3, 2026
6478134
Respect reduced motion in lifecycle illustrations
the-mindful-dude Dec 3, 2026
d759414
Include TypeScript workspace setup in the quickstart
the-mindful-dude Dec 3, 2026
59c2992
Clarify single Neuron build workflow
the-mindful-dude Dec 3, 2026
87da27c
Replace broken brand mask with self-contained animated vector
the-mindful-dude Dec 3, 2026
78a76f0
Show the internal TypeScript build delegation in the Neuron pipeline
the-mindful-dude Dec 3, 2026
10819ca
Remove standalone SDK CLI profile visual
the-mindful-dude Dec 3, 2026
c7abcb5
Apply brighter restrained Neuron visual palette
the-mindful-dude Dec 3, 2026
c638af9
Apply brighter restrained Neuron visual palette
the-mindful-dude Dec 3, 2026
1305004
Apply brighter restrained Neuron visual palette
the-mindful-dude Dec 3, 2026
5ddbbf4
Apply brighter restrained Neuron visual palette
the-mindful-dude Dec 3, 2026
ffc737b
Align the original Neuron mark to its native brand geometry
the-mindful-dude Dec 3, 2026
ef871ed
Replace incorrect hero mark with Neuron brand lockup
the-mindful-dude Dec 3, 2026
5912c92
Refresh concept-model.svg visual system
the-mindful-dude Dec 3, 2026
4447b68
Refresh assembly-composition.svg visual system
the-mindful-dude Dec 3, 2026
542b0c4
Refresh runtime-hosts.svg visual system
the-mindful-dude Dec 3, 2026
d72b380
Refresh build-execution.svg visual system
the-mindful-dude Dec 3, 2026
e92a8cc
Refresh waiting-signals.svg visual system
the-mindful-dude Dec 3, 2026
089b658
Refresh source.svg visual system
the-mindful-dude Dec 3, 2026
f21c27e
Refresh docs.svg visual system
the-mindful-dude Dec 3, 2026
7773917
Use the official Neuron brand lockup in the profile
the-mindful-dude Dec 3, 2026
e288271
Refresh quickstart.svg CTA styling
the-mindful-dude Dec 3, 2026
e887fa1
Refresh releases.svg CTA styling
the-mindful-dude Dec 3, 2026
e3c3723
Refresh issues.svg CTA styling
the-mindful-dude Dec 3, 2026
ef396cd
Remove incorrect animated brand mark
the-mindful-dude Dec 3, 2026
cf66b7a
Preserve counters in the Neuron wordmark paths
the-mindful-dude Dec 3, 2026
7f3dbe2
Scope Markdown layout lint exceptions to the profile README
the-mindful-dude Dec 3, 2026
d642ba2
Refine concept-model.svg into a mature monochrome diagram
the-mindful-dude Dec 3, 2026
abf7359
Refine assembly-composition.svg into a mature monochrome diagram
the-mindful-dude Dec 3, 2026
6722c87
Refine runtime-hosts.svg into a mature monochrome diagram
the-mindful-dude Dec 3, 2026
728c61d
Refine build-execution.svg into a mature monochrome diagram
the-mindful-dude Dec 3, 2026
e447527
Refine waiting lifecycle with restrained purple and silver motion
the-mindful-dude Dec 3, 2026
fc12559
Unify navigation buttons in a restrained silver design
the-mindful-dude Dec 3, 2026
d617ca6
Unify navigation buttons in a restrained silver design
the-mindful-dude Dec 3, 2026
efbc54a
Unify navigation buttons in a restrained silver design
the-mindful-dude Dec 3, 2026
c851d33
Unify navigation buttons in a restrained silver design
the-mindful-dude Dec 3, 2026
37f72a0
Unify navigation buttons in a restrained silver design
the-mindful-dude Dec 3, 2026
d6c057e
Compact and standardize monochrome silver navigation buttons
the-mindful-dude Dec 3, 2026
add3d6b
Compact and standardize monochrome silver navigation buttons
the-mindful-dude Dec 3, 2026
c3b7722
Compact and standardize monochrome silver navigation buttons
the-mindful-dude Dec 3, 2026
2dfa11f
Compact and standardize monochrome silver navigation buttons
the-mindful-dude Dec 3, 2026
35084c4
Compact and standardize monochrome silver navigation buttons
the-mindful-dude Dec 3, 2026
b3d383d
Refine profile navigation sizing and spacing
the-mindful-dude Dec 3, 2026
2c303f5
Keep purple reserved for runtime control and wait states
the-mindful-dude Dec 3, 2026
cb8fb81
Use neutral silver for the internal SDK build step
the-mindful-dude Dec 3, 2026
da62b1c
Add restrained silver motion with reduced-motion support
the-mindful-dude Dec 3, 2026
56a03ea
Add restrained silver motion with reduced-motion support
the-mindful-dude Dec 3, 2026
5af8ad2
Add restrained silver motion with reduced-motion support
the-mindful-dude Dec 3, 2026
ff21453
Tune silver navigation shimmer to the button coordinate system
the-mindful-dude Dec 3, 2026
305da18
Tune silver navigation shimmer to the button coordinate system
the-mindful-dude Dec 3, 2026
d3427fd
Tune silver navigation shimmer to the button coordinate system
the-mindful-dude Dec 3, 2026
dda2ac4
Tune silver navigation shimmer to the button coordinate system
the-mindful-dude Dec 3, 2026
55f33cd
Tune silver navigation shimmer to the button coordinate system
the-mindful-dude Dec 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
232 changes: 201 additions & 31 deletions profile/README.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,219 @@
# Neuron
<!-- markdownlint-disable MD033 MD041 MD026 MD036 -->

![Neuron logo](https://raw.githubusercontent.com/neuron-runtime/.github/main/profile/brand.png)
<p align="center">
<img src="./assets/brand.svg" width="100%" alt="Neuron official angular emblem and NEURON wordmark, reproduced from the supplied brand lockup." />
</p>

### Build. Connect. Run.
<p align="center">
<a href="https://github.com/neuron-runtime/neuron"><img src="./assets/buttons/source.svg" height="44" alt="Source repository" /></a>
<a href="https://github.com/neuron-runtime/docs"><img src="./assets/buttons/docs.svg" height="44" alt="Documentation repository" /></a>
<a href="https://github.com/neuron-runtime/neuron/blob/fix/sdk-runtime-durability-hardening/docs/GETTING_STARTED.md"><img src="./assets/buttons/quickstart.svg" height="44" alt="Quickstart guide" /></a>
<a href="https://github.com/neuron-runtime/neuron/releases"><img src="./assets/buttons/releases.svg" height="44" alt="Releases" /></a>
<a href="https://github.com/neuron-runtime/neuron/issues"><img src="./assets/buttons/issues.svg" height="44" alt="Issues" /></a>
</p>

**Neuron is an open-source platform for running software independently and composing it into larger applications.**
<h3 align="center">Build. Connect. Run.</h3>

It is designed to make software reusable across different programming languages and execution environments.
<p align="center">
<strong>A runtime for building and operating complex software systems from composable, executable capabilities.</strong>
</p>

> Neuron is under active development.
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.

## The Idea
## The model

Software components should be useful on their own and composable into larger systems. Neuron provides a common execution model for both.
### Capability

```mermaid
flowchart TD
A["Capability Runtime"]
A --> B["Independent Execution"]
A --> C["Assembly"]
C --> D["Larger Application"]
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.

E["Neuron Runtime"] -. "executes" .-> B
E -. "executes" .-> C
### Assembly

style A fill:#171717,stroke:#888,color:#fff
style B fill:#171717,stroke:#666,color:#fff
style C fill:#171717,stroke:#666,color:#fff
style D fill:#171717,stroke:#888,color:#fff
style E fill:#252525,stroke:#aaa,color:#fff
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.

### Capability Runtime

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.

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.

## How it fits together

<p align="center">
<img src="./assets/concept-model.svg" width="100%" alt="Neuron conceptual model showing capability runtimes, independent execution, Assemblies, larger applications and the Neuron Runtime." />
</p>

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.

## Composition is explicit

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.

<p align="center">
<img src="./assets/assembly-composition.svg" width="100%" alt="TypeScript Assembly authoring beside the derived execution graph, with parallel risk and stock branches joining at dispatch." />
</p>

A minimal TypeScript definition uses the published `@neuronruntime/sdk` package:

```ts
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.

## Execution boundaries

The Assembly does not need to know where a capability runs. N.O.R.E. dispatches work through the selected Capability Runtime host.

<p align="center">
<img src="./assets/runtime-hosts.svg" width="100%" alt="N.O.R.E. scheduling capability executions through native process and WebAssembly WASI hosts." />
</p>

**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.

## Build, register and run

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.

<p align="center">
<img src="./assets/build-execution.svg" width="100%" alt="Neuron Go CLI build and execution lifecycle, from TypeScript or YAML authoring through manifest, compilation, resolution, version freezing, registration, foreground runtime and synchronous execution." />
</p>

Install the Go based `neuron` executable from the [release page](https://github.com/neuron-runtime/neuron/releases), then clone the source repository and prepare its TypeScript SDK dependencies before running the shipped example:

```bash
git clone https://github.com/neuron-runtime/neuron.git
cd neuron
pnpm install
pnpm build:sdk
cd examples/hello
neuron
```

The 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:

```bash
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.

## One build command

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:

```bash
pnpm install
neuron build
```

## Core Concepts
The 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.

## Modules and version resolution

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.

## Waiting and signals

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.

<p align="center">
<img src="./assets/waiting-signals.svg" width="100%" alt="Neuron feature gated wait and resume lifecycle showing a signal or timer delivery, a stable logical operation ID and a new attempt ID." />
</p>

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.

## Documentation

The documentation is organized around the implementation and the interfaces used to work with Neuron.

**Getting started**

[Installation and platform support](https://github.com/neuron-runtime/neuron/blob/fix/sdk-runtime-durability-hardening/docs/INSTALLATION.md)

[First Assembly walkthrough](https://github.com/neuron-runtime/neuron/blob/fix/sdk-runtime-durability-hardening/docs/GETTING_STARTED.md)

**Architecture and composition**

[Architecture and execution semantics](https://github.com/neuron-runtime/neuron/blob/fix/sdk-runtime-durability-hardening/docs/ARCHITECTURE.md)

[Assemblies and Capability Runtimes](https://github.com/neuron-runtime/neuron/blob/fix/sdk-runtime-durability-hardening/docs/MODULES.md)

[Built in capability contracts](https://github.com/neuron-runtime/neuron/blob/fix/sdk-runtime-durability-hardening/docs/BUILTINS.md)

**Developer interfaces**

[TypeScript SDK source and guide](https://github.com/neuron-runtime/neuron/tree/fix/sdk-runtime-durability-hardening/packages/assembly-sdks/typescript)

[Go CLI reference](https://github.com/neuron-runtime/neuron/blob/fix/sdk-runtime-durability-hardening/application/README.md)

[Go capability runtime SDK](https://github.com/neuron-runtime/neuron/tree/fix/sdk-runtime-durability-hardening/packages/executor-sdks/golang)

[.NET capability runtime SDK](https://github.com/neuron-runtime/neuron/tree/fix/sdk-runtime-durability-hardening/packages/executor-sdks/dotnet)

[Documentation site source](https://github.com/neuron-runtime/docs)

- **Capability Runtime** — A packaged unit of functionality that can be executed by Neuron.
- **Assembly** — A composition of capabilities and their relationships, defining how they work together.
- **Neuron Runtime** — The execution layer for Capability Runtimes and Assemblies.
## Project status

## Designed for Flexibility
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.

Neuron is designed to support components built with different languages and execution environments, without requiring an entire application to use the same technology.
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.

## Explore Neuron
<p align="center">
<a href="https://github.com/neuron-runtime/neuron"><img src="./assets/buttons/source.svg" height="44" alt="Source repository" /></a>
<a href="https://github.com/neuron-runtime/docs"><img src="./assets/buttons/docs.svg" height="44" alt="Documentation repository" /></a>
<a href="https://github.com/neuron-runtime/neuron/releases"><img src="./assets/buttons/releases.svg" height="44" alt="Releases" /></a>
<a href="https://github.com/neuron-runtime/neuron/issues"><img src="./assets/buttons/issues.svg" height="44" alt="Issues" /></a>
</p>

- **Source code:** [neuron-runtime/neuron](https://github.com/neuron-runtime/neuron)
- **Issues:** [Report a problem or follow development](https://github.com/neuron-runtime/neuron/issues)
<p align="center">
<sub>Neuron · Build. Connect. Run.</sub>
</p>
61 changes: 61 additions & 0 deletions profile/assets/assembly-composition.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading