Skip to main content

neuralosd — deterministic-first agentic runtime

One pip install. Two sandbox backends. Any data source. Offline. On CPU.

neuralosd is the agentic runtime for neuralOS — the 121M-parameter on-device tool-calling model. It turns any data source into a private, offline question-answering service inside hardware-isolated microVMs.

pip install neuralosd[all]

Single-file binaries (no Python required)

Prebuilt standalone binaries are attached to every release — the Python runtime, the framework, the docs and the skills are all embedded in one file:

Platform Download
macOS Apple Silicon neuralosd-macos-arm64
macOS Intel neuralosd-macos-x64
Linux x86_64 neuralosd-linux-x64
Linux ARM64 neuralosd-linux-arm64
Windows x64 neuralosd-windows-x64.exe
curl -L -o neuralosd https://github.com/DrOlu/neuralosd/releases/latest/download/neuralosd-linux-x64
chmod +x neuralosd
./neuralosd init --source data.csv --name mydata
./neuralosd ask --instance-dir ./mydata "how many rows"

The first run extracts the payload once (~10 s); later runs are cached and start in ~0.25 s. Built with Nuitka and verified by a 12-check CLI smoke suite on every platform in CI.

What it does

YOUR DATA (CSV, DB, API, logs)     THE RUNTIME                THE RESULT
──────────────────────           ──────────────            ──────────────
profile → model → generate  →   @probe + router    →    ask in English,
                         →   chains + guardrails     get verified
                         →   serve + monitor         answers, offline

Two sandbox backends

Backend Install Best for
BoxLite pip install neuralosd[boxlite] persistent service boxes, CoW clones, port publication
Microsandbox pip install neuralosd[msb] live RAM snapshots, CoW forks, declarative recreate

Both run the same probe contract. Switch by configuration, not code.

Quick start

# 1. Install
pip install neuralosd[all]

# 2. Build an instance from your data
neuralosd init --source your_data.csv --name my-analyst

# 3. Deploy into a sandbox
neuralosd deploy --name my-analyst --backend boxlite

# 4. Ask
neuralosd ask --instance my-analyst "how many records"

The @probe framework

from neuralosd import probe, Instance

@probe(
    description="Customers ranked by lifetime spend",
    triggers=["top customers", "best customers"],
    args={"limit": {"type": "integer", "min": 1, "max": 25, "default": 10}},
    pii=["email"],
)
def top_customers(limit: int = 10):
    return db.query("SELECT ... LIMIT %s", (limit,))

inst = Instance(name="my-analyst", probes=[top_customers])
env = inst.ask("top customers")
print(env["results"])

Chains (multi-step answers)

from neuralosd import chain, ChainRunner

@chain(name="genre_deep_dive", steps=[
    {"probe": "top_genres"},
    {"probe": "tracks_by_genre", "args": {"genre": "{{step_0.genre}}"}},
])
def genre_deep_dive(ctx): ...

runner = ChainRunner(probes_by_name)
runner.register("genre_deep_dive", genre_deep_dive._chain_steps)
result = runner.run("genre_deep_dive")

Meta-selector (multi-instance routing)

from neuralosd import MetaSelector

selector = MetaSelector({
    "finance": {"description": "revenue, invoices, customers"},
    "ops":     {"description": "incidents, uptime, alerts"},
})
instance = selector.route("how many open incidents")  # → "ops"

HITL guardrails

from neuralosd import ConfirmStore
store = ConfirmStore()
pending = store.create(probe_fn, args, reason="low confidence")
# ... human confirms ...
result = store.confirm(pending["confirm_token"])

MCP server (expose probes to any AI agent)

python3 -m neuralosd.mcp /path/to/instance
# or add to Claude Desktop / Cursor MCP config

License

MIT

Metadata

Release files for neuralosd 1.0.8

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

Source distribution (sdist)

Source distribution for neuralosd 1.0.8
File Size Uploaded
neuralosd-1.0.8.tar.gz 92.9 kB Details

Built distribution (wheel)

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

Total release size: 199.5 kB

Release files / neuralosd-1.0.8.tar.gz

Download URL neuralosd-1.0.8.tar.gz
Size 92.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7874d95892be2dcba349d9777df7a2e7aa561a48659bca5312ba3f8b012dd52f
BLAKE2b-256 checksum
How to use checksums
de4475e24cad7a8032da91456d515fed643ae6b714be358caac6843ad2704f68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release files / neuralosd-1.0.8-py3-none-any.whl

Download URL neuralosd-1.0.8-py3-none-any.whl
Size 106.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1015bc06710d293f78e68f846347cadb32bdcca1711dc6f32f0d46c0d4efe38c
BLAKE2b-256 checksum
How to use checksums
42f139c698d0c22af5c1dda400e5eaf000ae0e9690490fa29af9dcc07afb2ef1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11
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