Expand description
NCP reference runtime.
ncp-runtime provides the reference executor and CLI for the
Neural Computation Protocol: composable, auditable WASM Brick graphs
for agentic AI systems.
Most users start with the ncp CLI:
cargo install ncp-runtime --version 0.3.6 --locked
ncp --versionThe runtime loads graph manifests, verifies Brick digests, executes WASM Bricks through Wasmtime, routes results deterministically, and emits replayable JSONL traces.
Useful links:
Note: the CLI/runtime is stable enough for evaluation and early integration. Treat the Rust module API as reference-runtime internals until the SDK work lands.
Modules§
Structs§
- Execute
Hooks - Hooks for streaming execution events.
- Execute
Options - Options for a single execute() call.
- Execution
Report - Report from a single graph execution.
- Invoke
Metric - Per-invoke metric emitted to hooks.
- Resolved
Brick Info - Info about a resolved brick, for caller-side logging.
- Result
Counts - Execution result counts.
- Runtime
Context - Loaded + compiled graph context. Reusable across multiple execute() calls.
- Terminal
Result - A terminal result from graph execution.