Skip to main content
NSP (Nelieo Substrate Protocol) is a runtime substrate daemon that attaches to running applications and exposes their internal state and actions as typed JSON. Instead of taking screenshots and guessing pixel coordinates, your AI agent reads live data directly from the application’s runtime and calls typed functions to act on it — the same way a human developer would if they had direct access to the app’s memory.

Why Agents Fail Without NSP

Every vision-based AI agent today operates the same way: capture a screenshot, send it to a vision model, infer where to click, hope the click lands correctly, and repeat.
At 85% per-action accuracy — an optimistic figure for state-of-the-art vision agents — a 50-step task has a 0.03% end-to-end success rate. Agents don’t fail because the underlying AI is weak. They fail because the interface is fundamentally broken: screenshots are lossy compressions of structured data that already existed in memory.

How NSP Solves It

NSP attaches directly to a running application’s runtime and reads its live state as structured JSON. Your agent calls typed functions. No screenshots, no pixel coordinates, no guessing.
The result is >99% accuracy on JavaScript apps, 120 actions per minute, and continuous 24/7 operation with state verification after every action.

The Four Layers

The NSP daemon (axon-daemon) runs on the host machine alongside your applications. It has four layers that work together to turn live process memory into an agent-callable API.

Process Watcher

Continuously scans all running OS processes every 500 ms, classifies each process’s runtime (V8, JVM, CLR, or Native), and manages the full probe attachment lifecycle.

Runtime Probes

Language-specific probes attach to live processes and extract semantic state — no source code, no UI automation, and no prior instrumentation required.

Semantic Engine

Converts raw runtime data extracted by each probe into structured SSF JSON with stable, human-readable dot-notation keys.

Agent API

A REST and WebSocket server on localhost:7842 that any AI agent can call to read state, subscribe to real-time changes, and execute actions.

Runtime Coverage

NSP supports four runtime families, each with a dedicated probe strategy and measured accuracy baseline.
Native C++ accuracy is lower because compiled binaries have no metadata for semantic labeling. NSP uses Visual-Memory Grounding — a hybrid of memory layout analysis and a local vision model — to close the gap. Expect V8 and JVM accuracy on the applications your agents will use most.

Next Steps

Quickstart

Install the daemon, configure Chrome, and call your first state endpoint in under 5 minutes.

Core Concepts

Understand SubstrateState, SSF, action schemas, confidence scores, and reversibility tiers.

Python SDK

Install nelieo-nsp, attach to apps by name, and use typed helpers with full async support.

API Reference

Complete reference for every REST and WebSocket endpoint exposed by the daemon.