White Paper · April 2026

A Brain-Inspired, Privacy-First Digital Intelligence

Neuromorphic software architecture for autonomous personal AI. Spiking neural networks, predictive coding, and the free energy principle — applied to on-device intelligence that becomes yours.

"The brain does not compute. It predicts." — Karl Friston, The Free Energy Principle (2010)
Read the Paper ↓
Scroll to explore

A New Paradigm for Personal AI

The dominant paradigm — centralized cloud inference, perpetual data harvesting, and monolithic billion-parameter models — is architecturally antithetical to how biological intelligence works. The brain is a collection of specialized, tightly coupled neural circuits running in situ, processing through sparse event-driven spikes, maintaining privacy through architectural isolation, and achieving remarkable efficiency by predicting the world rather than reacting to it.

Wize is a new class of AI assistant built on this insight. Written in ~1.2MB of pure C11 (with llama.cpp statically linked), Wize runs a unified cognitive pipeline powered by a single Gemma 4 E4B model entirely on-device — no cloud, no data leaving the machine. A real spiking neural network (Leaky Integrate-and-Fire, 16 classes, pure C) serves as the intent router, classifying queries in under 1 millisecond and bypassing the LLM entirely for simple intents.

SNN
Spiking Neural Networks
Event-driven processing
PC
Predictive Coding
Anticipatory context
FEP
Free Energy Principle
Self-reflective cognition

Built Different. Thinks Different.

Wize isn't another chatbot wrapper. It's a cognitive operating system that runs on your hardware, evolves with your usage, and keeps your data where it belongs — with you.

🧬

Neuromorphic by Design

A real spiking neural network (LIF neurons, 16 classes, STDP learning) classifies intent in <1ms. A unified Gemma 4 E4B model handles complex reasoning. Three-tier routing: SNN fast-path → keyword → LLM. Not a monolith. A brain.

🔒

Structurally Private

Not "we promise not to read it." There is no network path. Inference runs in-process via llama.cpp. Your data physically cannot leave the device.

1.2MB of Pure C

No Python. No Docker. No Node.js. A single C11 binary (~1.2MB with llama.cpp linked). Starts in <1ms. Real SNN inference in pure C. Less code = less attack surface = fewer bugs = faster.

🧠

Self-Evolving

Reflects on every interaction. Discovers compound tool patterns. Refines its own prompts from experience. Builds an evolving self-narrative. Gets better without retraining.

💰

Zero Inference Cost

$0.00 per query. Forever. No API keys, no rate limits, no metered billing. Your hardware, your models, your intelligence.

🌐

Works Offline

Airplane mode? No WiFi? Wize doesn't care. Full cognitive pipeline runs on local GGUF models. Cloud is optional — never required.

Why Cloud AI Cannot Be Your Clone

The Privacy Paradox

To personalize, the system must observe. To observe through a cloud, the system must exfiltrate. Every message, screenshot, and calendar entry traverses networks you don't control, stored in databases you can't audit.

A digital clone that knows everything about you but stores that knowledge on someone else's servers is not your clone — it is theirs.

The Latency Tax

Cloud round-trips add 200–2000ms per call. For a multi-step workflow — classify → select tools → execute → synthesize — latency compounds multiplicatively. The brain completes perception → prediction → action in ~100ms. To match biology, inference must be local.

The Monolith Problem

The brain doesn't use one network for everything. It routes visual input to V1, language to Broca's area, spatial reasoning to the parietal cortex. Each region is a specialist. Wize takes the same approach.

The $150B Personal AI Market

Every major tech company is racing to build a personal AI. None of them can solve the privacy problem because their business model requires your data. Wize solves this structurally.

$150B
AI Assistants TAM by 2030
73%
Users Concerned About AI Privacy
4.4B
Devices With AI Chips (2027)

Go-To-Market Strategy

🎯 Beachhead: Power Users

Developers, researchers, journalists, security professionals — anyone who handles sensitive data and refuses to send it to the cloud.

📈 Expand: Prosumers

Knowledge workers spending $20-100/mo on AI tools. Wize replaces the subscription with a one-time local install. Zero recurring cost.

🌍 Scale: OEM Partnerships

Pre-installed on devices as the privacy-first AI layer. Every Mac, PC, and phone ships with an AI — Wize can be the one that respects the user.

💡
Regulatory tailwind: GDPR, EU AI Act, and state privacy laws are making cloud AI increasingly costly and legally risky. On-device AI isn't just better — it's becoming legally necessary.

The Cognitive Gateway

Wize is a single binary in pure C11, statically linked against llama.cpp for in-process neural inference. It serves a Vue.js dashboard via HTTP/WebSocket while accepting connections from CLI, Telegram, Discord, Slack, and native macOS overlays.

~1.2MB
Binary Size
<500MB
RAM — Full Pipeline
40
Native Tools
$0
Inference Cost
PropertySpecification
LanguageC11 / POSIX — zero external dependencies beyond libc
InferenceIn-process via llama.cpp — zero HTTP overhead
StorageSQLite WAL — single wize.db with 8 tables
ChannelsCLI, Telegram (Bot + App), Discord, Slack
AuthenticationZero-config auto-pairing via one-time stdout token

The Three-Tier Neural Pipeline

The "Wize Model" is a three-tier cognitive pipeline combining a real spiking neural network for ultra-fast intent classification with a unified Gemma 4 E4B model. The SNN operates before the LLM mutex — simple queries are answered in under 25ms without ever blocking on model inference.

🧬SNN snn.c · LIF Tier 1: 16-class spike classification <1ms
↓ greeting/farewell/ack → instant response (<25ms, no LLM)
Keyword C patterns Tier 2: 60+ patterns, strftime, <1ms
↓ if no match, acquire g_wize_lock
🔧Toolwz1
🧠Reasonwz1
👁️Visionwz1
✍️Simplewz1
↓ unified model response
💬Output Coherent, context-aware response

Dual-Mutex Thread Safety

Two separate mutexes prevent contention: g_snn_lock protects the SNN's membrane/spike state (<1ms hold), while g_wize_lock protects the LLM pipeline (1-60s hold). The SNN fast-path operates before g_wize_lock, so greetings return in 21ms even while a complex query holds the LLM mutex for 30 seconds. A setjmp/longjmp crash guard per worker thread prevents a single inference fault from killing the gateway.

WIZE NEURAL ACTIVITY
LIVE
Neurons: ~800
Synapses: 847K
Step: 0
Rate: 0.00 steps/sec
COGNITIVE
DA
ACh
NE
5HT

Why Spiking Neural Networks Are the Future of Personal AI

The visualization above isn't science fiction — it's a rendering of how Wize's cognitive modules actually behave: discrete event-driven activations, sparse firing patterns, and hierarchical routing. But Wize no longer just emulates SNN principles — it implements a real spiking neural network in pure C (snn.c, 548 lines) with Leaky Integrate-and-Fire neurons, char-trigram encoding, and online STDP learning.

🔮
The SNN Thesis: Within 3 years, consumer neuromorphic chips (Apple Neural Engine v3, Intel Loihi 3) will run inference natively as temporal spike patterns — not matrix multiplications. Wize's event-driven architecture is designed to be the first personal AI to make this transition seamlessly.

Why SNNs Change Everything for Privacy

Traditional neural networks process data as dense, continuous tensors — rich, invertible representations that can be reverse-engineered to reconstruct inputs (model inversion attacks). Spiking neural networks process data as sparse, temporal spike trains — lossy, timing-dependent signals that are fundamentally harder to invert.

This means SNN-based personal AI doesn't just keep data local — it processes data in a form that is inherently resistant to reconstruction. Privacy is not a feature. It's a property of the physics.

Event-Driven = Battery-Friendly

A traditional transformer burns compute continuously during inference — every attention head processes every token. An SNN fires only when membrane potential crosses threshold. For a personal assistant that runs 24/7 in the background, this difference is the difference between 2 hours of battery life and 20.

🧬 Bio-Inspired Learning

STDP (Spike-Timing-Dependent Plasticity) enables on-device learning without backpropagation — the system adapts its routing weights in real-time from experience, just like biological synapses.

⚡ Temporal Coding

Information encoded in spike timing, not magnitude. Earlier spikes = stronger evidence. Wize's three-tier router (SNN <1ms / keyword <1ms / LLM 1-60s) implements this principle with a real SNN engine.

Predictive Coding in Software

The brain predicts what it will perceive and only processes the prediction error. Wize implements this through a 10-layer anticipatory context injection system.

1identity_inject()— Who am I? Who is talking?
2inject_identity()— Evolving self-narrative
3inject_goals()— Active objectives
4world_inject()— Environment snapshot
5episode_inject()— Past episodes
6auto_context()— Skills + errors
7inject_insights()— Self-discovered insights
8inject_addendum()— Self-refined rules
9metacog_inject()— Confidence advisories
10context_inject()— Window management
🧬
Before the model sees the query, it has already been primed with a prediction of the relevant context. The model's job is reduced to processing the surprise.

80% Context Reduction

Wize's attentional filter selects only 2-8 relevant tools per query (from 40), achieving 4× faster inference by minimizing the prediction error the model must process.

Spiking Neural Architecture in Software

Wize's gateway is event-driven — no polling loop. The system activates only in response to discrete events (spikes), consuming near-zero CPU between them.

HTTP Request (spike)
  → parse + authenticate      (membrane integration)
  → threshold: valid request?  (spike threshold)
  → classify_intent()         (thalamic routing)
  → specialist execution      (cortical processing)
  → tool calls                (motor output)
  → reflect + learn           (feedback loop)
  → quiescence                (resting potential)

Sparse Activation

Cost is proportional to stimulus complexity, not system size.

SpeedMechanismConfidenceBrain Analogy
< 1msSNN spike classificationHighest (margin > 0.15)Reflex arc
< 1msKeyword matchDeterministicSystem 1 (fast)
~1-60sLLM model inferenceVariableSystem 2 (deliberate)

Self-Reflective Meta-Cognition

Friston's Free Energy Principle: living systems minimize variational free energy — surprise. Wize implements both FEP strategies:

Perception

Update internal model → reduce prediction error. The reflection engine evaluates every interaction.

Action

Modify behavior → reduce future surprise. The evolve engine rewrites its own prompts from experience.

Confidence Monitoring

15 uncertainty markers scanned per response. Rolling 20-sample window. When confidence drops below 70%, the system injects corrective strategy — the software equivalent of the brain's error-related negativity signal.

Active Inference

Privacy by Architecture

🔒
Wize's privacy is structural, not contractual. There is no network path for data to travel.
LayerGuarantee
Inferencellama.cpp in-process. GGUF on local disk. No API calls.
MemorySQLite WAL in ~/.wize/. All local.
Tools40 tools via POSIX syscalls + local TCP.
AuthNo cloud account. No OAuth. No telemetry.

The Trust Inversion

Cloud AI: "Trust us with your data."
Wize: "Your data never enters our systems. There is nothing to trust."

The code is the proof. No HTTP client in the inference path. No telemetry. An architectural invariant.

The Digital Clone

A true digital clone requires persistent identity, episodic memory, and social awareness. Wize implements all three.

The Clone Lifecycle

1

Day 1 — Generic Assistant

Capable but impersonal. Full tools. Zero personalization.

7

Day 7 — Learning Patterns

50+ reflections, 3 episodes, a self-narrative. Knows your routines.

30

Day 30 — Contextually Aware

Discovered projects, learned skills, refined prompts. Greets you by name.

90

Day 90 — Your Digital Clone

Handles tasks autonomously. Monitors Telegram. Evolved behavioral rules matching your style.

Doing More with Less

MetricWize (M4)Cloud (GPT-4)Advantage
Greeting (SNN)21ms2–4s100–200× faster
Time query12ms2–4s200–300× faster
Tool call3.7s8–12s2–3× faster
Simple Q&A0.8s2–4s3–5× faster
Cost$0.00$0.01–0.10∞× cheaper
PrivacyStructuralPolicyIncomparable

🧬 SNN Fast-Path

Greetings answered in 21ms. Real LIF neurons, no LLM needed.

⚡ Keyword Fast-Path

60+ patterns routed in <1ms. Biological reflex arc.

🎯 Context Compression

80% fewer tokens. Unified wz1 model handles all paths.

🔒 Dual-Mutex

SNN never blocks on LLM. Fast-path always responsive.

This Is Not a Prototype. It's Working Software.

Everything described in this paper is shipped, running code — not a roadmap or a mockup.

38
C Source Files
40
Native Tools
~30
API Endpoints
21
Dashboard Views
16
SNN Intent Classes

Defensibility Layers

🧠 Cognitive Depth

Not a wrapper. 38 files of deeply integrated cognitive systems that took months to architect. Cannot be replicated by wrapping Ollama in a UI.

🔒 Personal Data Moat

Each clone gets better with use. Reflections, episodes, skills, identity — all local. The longer you use it, the harder it is to switch.

🧬 SNN IP

The only personal AI with a real spiking neural network router. Hardware SNN transition gives a 2-3 year lead over pure-transformer competitors.

The $0 Marginal Cost Advantage

Cloud AI charges per token. Wize charges nothing. The user's own hardware is the compute infrastructure.

ChatGPT Pro

$200/month
Per user. Recurring. Forever.
Your data on their servers.
Rate limited. Model changes without notice.

Wize

$0.00/month
Unlimited queries. No rate limits.
Your data on your machine. Always.
You choose the model. You own the weights.

Revenue Streams

💰 Premium Models

Curated, fine-tuned specialist model packs. Pay once, run locally forever. No subscription lock-in.

🏢 Enterprise

Fleet management, compliance dashboards, SSO/SAML. Banks, hospitals, government — sectors that cannot use cloud AI.

🔧 Marketplace

Skill packs, tool plugins, cognitive presets. Community-built, revenue-shared. The "App Store" for personal AI.

The First Prototype of a Digital Self

Wize is not an optimization of the cloud paradigm. It is a different paradigm — one designed not from data center architecture but from the most efficient information processing system known: the biological brain.

It becomes yours. Not because it stores your data on a server and calls it "personalization." Because it runs on your machine, learns from your interactions, builds its own identity, and never — structurally, architecturally, physically — shares what it knows.
📄
Verifiable. Every claim in this paper maps to a .c file in the repository. The code is the proof.
@whitepaper{wize2026,
  title  = {Wize: A Brain-Inspired, Privacy-First Digital Intelligence},
  author = {Insym LLC},
  year   = {2026}, month = {April},
  note   = {White Paper v1.0}
}