Mind the Agent: When AI Starts Reading the Room (and Your Brain)

Room.

That is where most “AI agent” discussions quietly stop.

The agent sees the screen. It reads the chat. It scans the calendar. Perhaps it hears a meeting transcript, checks a CRM record, and decides that everyone is “aligned,” which is corporate English for “no one has objected loudly enough yet.”

NeuroSkill pushes the boundary one step closer to the human body. The paper presents a local-first system that connects consumer-grade brain-computer interface devices to a real-time software stack, turning EEG, PPG, and motion streams into cognitive-state metrics, embeddings, search, sleep staging, and agent-facing API calls.1 In plain business language, it tries to make “human state” available as machine-readable context.

That sentence is also where the misunderstanding begins.

This is not a paper proving that software can read thoughts. It is not a clinical emotion detector. It is not a magical empathy plug-in for customer support bots, and if someone pitches it that way, check whether the demo also includes a fog machine.

The more interesting reading is more mechanical and more useful. NeuroSkill is an attempt to build a pipeline from raw wearable signals to local agent context:

EEG / PPG / IMU
filtering, artifact detection, spectral and nonlinear metrics
composite cognitive-state scores
ZUNA embeddings and HNSW similarity search
local WebSocket API and CLI
agent workflows that adapt to the user’s measured state

That chain matters because the business value does not live in any single word like “brain,” “agent,” or “empathy.” It lives in whether each transformation preserves enough signal to be operationally useful without pretending to be more certain than it is.

The paper is about an interface layer, not a telepathy machine

NeuroSkill’s first contribution is an integrated local EEG pipeline. The system supports devices such as Muse 2, Muse S, and OpenBCI boards, and computes more than 60 metrics per five-second epoch. These include band powers, band ratios, coherence, phase–amplitude coupling, nonlinear complexity measures, composite scores such as focus and relaxation, plus cardiovascular indicators derived from photoplethysmography.

That already sounds like a lot. It is a lot. But the important design choice is not “many metrics.” It is that the metrics are produced locally and exposed through interfaces that other software can use.

Most AI agents today are still text-bound. They wait for explicit input. A user has to type, speak, click, or upload. NeuroSkill proposes a different interaction pattern: the agent may receive a stream of contextual indicators about the user’s cognitive and physiological state. The agent can then decide whether to interrupt, wait, simplify, ask a question, trigger a protocol, or log an event.

This is not a small shift. It moves the agent from a reactive conversational tool toward a context-sensitive system. But it also creates a measurement problem. Once an agent receives “focus_score,” “cognitive_load,” or “drowsiness,” it may behave as if those fields are facts. They are not. They are model outputs derived from a chain of assumptions.

The paper is useful because it describes that chain with enough implementation detail to examine where confidence should rise and where it should stop.

The signal pipeline turns messy biosignals into machine-readable features

The pipeline begins with consumer-grade wearable data. For a Muse-style setup, raw EEG arrives from four electrodes: frontal AF7 and AF8, and temporal TP9 and TP10. Each five-second EEG window contains 1,280 samples per channel at 256 Hz. PPG and IMU streams run separately at lower frequencies.

The system then performs the usual unglamorous work that makes biosignal software possible:

Stage What it does Why it matters for an agent
Acquisition and reassembly Handles BLE packet variability, timestamps streams, tolerates limited packet loss Prevents the agent from reacting to broken telemetry as if it were user state
Filtering Applies bandpass and notch filtering to reduce drift and mains interference Makes downstream frequency metrics less contaminated
Artifact detection Flags blinks and jaw-clench events instead of discarding epochs Lets downstream applications gate decisions by signal quality
Spectral analysis Computes power across delta, theta, alpha, beta, gamma, and high-gamma bands Supplies the raw material for attention, relaxation, and load proxies
Cross-channel metrics Computes ratios, asymmetry, coherence, and phase coupling Adds relational features beyond single-electrode power
Nonlinear complexity Measures irregularity, entropy, long-range correlation, and signal dynamics Captures state changes that simple band power may miss
PPG and IMU features Tracks heart rate, HRV, SpO₂ estimate, respiratory rate, stillness, and movement Helps distinguish “brain state” from posture, motion, and physiological context
Composite scores Maps normalized features into 0–100 indicators such as focus and cognitive load Gives agent workflows simple fields to consume

The artifact decision is worth pausing on. NeuroSkill does not discard all artifact-containing epochs. It appends artifact counts and rates to the payload. That is a better design for agent integration than silent cleaning, because it allows policy logic to say: “Do not infer drowsiness from this window; the jaw-clench rate is high.” Quietly deleting data may look cleaner in a chart. It is less honest as an operational interface.

The composite scores are more delicate. The paper describes them as weighted linear combinations of normalized spectral and complexity features, with coefficients trained against labeled protocols such as N-back, Stroop, eyes-closed rest, mindfulness audio, passive video, and post-wakefulness drowsiness. This is a practical design. It is also the exact point where a dashboard can seduce a manager into reading too much.

A focus score of 73 is not “73% focused.” It is a relative indicator produced by a model trained on specific tasks, subjects, devices, and preprocessing choices. It may be useful for tracking change within a session. It should not be promoted into a universal human-performance truth. The paper itself makes this boundary clear. Business readers should not skip it merely because the gauge looks confident.

ZUNA makes EEG searchable, which is more useful than it first sounds

The second contribution is ZUNA, short for Zero-latency Universal Neuro-Annotation. In this paper, ZUNA is not the separate 380-million-parameter EEG foundation model released elsewhere under the same name. Here it is a lightweight 186K-parameter 1D convolutional encoder that maps each five-second, four-channel EEG window into a 32-dimensional unit-normalized embedding.

That embedding layer changes the product logic.

Without embeddings, the system is mostly a real-time dashboard: band powers, ratios, cognitive-state estimates, sleep stages, and trends. With embeddings, recorded states become searchable. The system can ask: “Which previous moments looked similar to this one?” or “Which epochs are closest to a natural-language query such as calm, focused, low anxiety?”

The paper’s search stack has three pieces:

  1. A compact encoder produces a 32-dimensional EEG embedding for each epoch.
  2. An HNSW approximate nearest-neighbor index stores embeddings incrementally across sessions.
  3. A text-projection model maps BERT-based label-name embeddings into the EEG embedding space, enabling natural-language queries.

This is not just a technical decoration. It converts biosignal history from a timeline into a retrieval system.

A meditation app, for example, does not only need to show that today’s alpha power rose. It may need to find past sessions that resembled the current state and compare what preceded them. A cognitive-load study does not only need average load by task. It may need to retrieve unusual epochs where the worker looked physiologically overloaded despite normal task behavior. A research workflow does not only need labels. It needs a way to find unlabeled moments similar to labeled ones.

That is the sensible business reading of ZUNA: not thought-to-text, but state-to-search.

The validation result reported for ZUNA retrieval is precision at five of 0.84 for same-label neighbors on a hold-out set. This is meaningful as early evidence that the embedding captures condition-relevant structure. It is not evidence that arbitrary mental states can be decoded. The labels are drawn from a limited set of experimental conditions, and the training data consists of 42,000 five-second epochs from 38 healthy adult subjects using Muse 2 headsets.

So the embedding story is promising, but bounded. It says: similar labeled EEG windows can be retrieved reasonably well in this setup. It does not say: free-form inner experience can be indexed like documents in a corporate wiki. The latter would be a fun vendor slide and a terrible procurement criterion.

The local API is where “brain data” becomes agent context

The third contribution is the interface layer: a WebSocket API and a TypeScript CLI that make NeuroSkill usable by external clients.

This is where the system becomes relevant to agentic workflows. The local WebSocket server binds to 127.0.0.1:8375 and broadcasts streams such as eeg-bands and muse-status. It also exposes commands for status, sessions, labels, search, comparison, sleep analysis, UMAP projection, polling, and export.

In business terms, the API turns the wearable into a local context server.

A language model does not need to understand EEG preprocessing. It only needs a tool call that returns structured fields. For example:

status → current signal quality, scores, device state
search → similar historical epochs and their labels
compare → differences between two sessions
sleep → hypnogram and sleep summary
label → event marking during a task

This is why the mechanism-first reading is better than a feature summary. The agent is not “connected to the brain” in any mystical sense. It is connected to an API that exposes processed metrics, embeddings, labels, and session analytics. The design question is then straightforward:

What should an agent be allowed to do with those fields?

For low-risk workflows, the answer can be useful:

Agent behavior NeuroSkill input Reasonable use
Delay interruption High cognitive load, low signal artifacts Avoid interrupting during demanding work
Simplify explanation Rising load and falling engagement Reduce complexity in tutoring or training software
Trigger break suggestion Drowsiness trend plus HRV context Wellness-oriented pacing, not medical advice
Mark research events Label command during task protocol Cleaner data collection for experiments
Retrieve similar moments ZUNA search results Compare current state with prior labeled sessions
Adjust feedback Focus or relaxation score stream Neurofeedback-style audio, visual, or haptic changes

The dangerous version is also easy to imagine:

Misuse Why it is weak
Ranking employees by “focus” Composite scores are relative indicators, not validated productivity measures
Detecting deception or intent The paper does not establish such capability
Making clinical sleep decisions Sleep staging is approximate and not PSG-validated
Inferring emotional truth FAA-derived mood and composite scores are proxies, not direct access to affect
Automating HR intervention Consumer EEG plus limited validation is not an employment-risk instrument

The distinction is not moral decoration. It is product design. A system like this can support adaptive interfaces when the action is reversible, low-stakes, and user-controlled. It becomes much harder to justify when the output is used to judge, discipline, diagnose, or classify people.

The validation evidence supports feasibility, not broad human-state certainty

The paper reports several benchmark-style results: around 125 ms end-to-end acquisition-to-WebSocket latency on Apple Silicon, HNSW query time under 1 ms over 10,000 indexed epochs, UMAP processing under 15 seconds for a 1,054-point A/B session pair on Apple M1, sleep agreement of Cohen’s $\kappa = 0.71$ against PSQI-concordant self-report for 24 subjects, and ZUNA retrieval precision at five of 0.84 on a hold-out set.

These are useful numbers, but they answer different questions.

Evidence Likely purpose What it supports What it does not prove
Around 125 ms end-to-end latency Implementation feasibility Real-time agent or neurofeedback loops are technically plausible Cognitive-state inference is accurate
Under 1 ms HNSW query over 10,000 epochs Retrieval scalability Local similarity search can be fast enough for interactive use Retrieved states are semantically correct in all contexts
Under 15 seconds UMAP for 1,054 points Visualization feasibility Session-level embedding projection can support exploration UMAP clusters correspond to stable psychological categories
$\kappa = 0.71$ sleep agreement vs PSQI-concordant self-report Approximate sleep validation The rule-based staging may track coarse sleep patterns Clinical sleep staging accuracy against PSG
P@5 = 0.84 same-label retrieval Embedding validation ZUNA captures useful label-related structure in the held-out set General decoding across populations, headsets, or clinical groups
63 EEG references underpin metrics Method grounding Metric choices are not invented from scratch The full composite system is clinically validated

This table is where the paper’s real contribution becomes clearer. The evidence mainly supports a working local architecture. It shows that the system can process, store, search, and expose wearable-derived indicators with low latency and practical resource use. That is valuable.

But feasibility is not the same as semantic certainty.

For business readers, the temptation is to jump from “real-time EEG metrics” to “real-time understanding of the user.” The correct intermediate phrase is less glamorous: “real-time structured proxies of user state, with known measurement boundaries.” Less exciting, yes. Also less likely to get a product team sued.

The business value is adaptive software, not brain-based authority

The strongest business pathway is not replacing user input. It is adding a second context layer to software that already interacts with users.

The immediate opportunities fall into a few categories.

1. Research and UX testing: better telemetry for difficult moments

In user research, the most interesting moments are often the ones users cannot explain cleanly afterward. A participant gets stuck, recovers, becomes overloaded, or disengages. Traditional logs show clicks and time. Interviews add retrospective explanation. Biosignal telemetry can add a parallel trace.

NeuroSkill’s value here is not that it tells researchers what the participant “really felt.” It is that it can mark candidate moments worth reviewing. A spike in cognitive load during onboarding, combined with repeated cursor hesitation and a later help-click, is not proof of confusion. It is a useful flag.

This is probably one of the more credible commercial pathways because the output is interpreted by researchers, not treated as an autonomous decision.

2. Education and training: adaptive pacing without pretending to grade the brain

For e-learning, tutoring, and professional training, cognitive-state telemetry can support pacing decisions. If a user shows sustained drowsiness or overload, the system might slow down, insert a retrieval question, offer a summary, or defer a hard exercise.

The important product rule is that adaptation should be humble. “You seem overloaded; here is a simpler explanation” is acceptable. “Your cognitive capacity is low today” is both bad science communication and bad manners.

The goal is interface adaptation, not mental scoring.

3. Wellness and neurofeedback: relative change is enough

Meditation tracking and neurofeedback do not require perfect absolute interpretation. They often need stable within-person indicators. If the user is comparing sessions, labeling practices, and observing trends, relative metrics may be useful even when they are not diagnostic.

This makes NeuroSkill’s local-first design attractive. Sensitive biosignals stay on device. Users can label sessions, compare relaxation scores, retrieve similar past states, and explore trends without sending raw EEG to a cloud service whose privacy policy is longer than the average EEG epoch.

4. Agentic assistants: context-aware interruption management

An agent that knows nothing about user state interrupts badly. It asks follow-up questions during deep work, summarizes when the user is exhausted, and opens a new task when the human is already juggling five.

A local state stream could help agents decide when not to act. This is underrated. Many AI demos obsess over proactive execution. The mature version of proactivity includes restraint.

A NeuroSkill-style API could let an agent delay non-urgent prompts, simplify outputs, or ask for explicit confirmation when the user appears overloaded. The best agent may not be the one that reads your brain. It may be the one that notices the room is not ready for another “quick sync.”

Privacy is not a feature checkbox; it is the architecture

NeuroSkill’s local-first design is one of the paper’s most commercially relevant choices. The system runs offline on the edge. The WebSocket server binds to localhost. EEG data, embeddings, labels, and sleep reports remain on device unless the user explicitly exports them. The paper states that the application ships without analytics SDKs or cloud telemetry.

That matters because brain and physiological signals are not ordinary interaction logs. Even when the inference is imperfect, the data category is sensitive. It can reveal patterns of sleep, fatigue, stress, attention, and bodily state. A company collecting this at scale would need more than a cheerful consent banner and a privacy page written by committee.

Local-first architecture changes the adoption equation for research labs, wellness developers, and privacy-sensitive enterprise pilots. It reduces the need for cloud data-processing arrangements and limits the blast radius of misuse. It also makes the product less dependent on recurring server costs.

But local-first does not solve everything. Local data can still be misused locally. A workplace application can still pressure users to share exports. A poorly designed agent can still overreact to weak indicators. Privacy architecture reduces one class of risk; it does not make the interpretation problem disappear.

The limits are not footnotes; they define the product boundary

The paper’s limitations are not minor. They are the boundaries that determine where the system belongs.

First, the real-time pipeline is designed around four-channel inputs. For larger OpenBCI configurations, channels beyond the first four may be stored for offline use, but the live analysis is still driven by the four-channel format. That makes sense for Muse compatibility. It also limits spatial resolution.

Second, sleep staging is approximate. The system uses frontal and temporal electrodes, while clinical polysomnography relies on richer EEG placement plus additional physiological channels. The reported sleep agreement is against PSQI-concordant self-report, not full PSG. That is a major boundary. It can support exploratory sleep tracking, not clinical diagnosis.

Third, ZUNA is trained on a relatively small and homogeneous dataset: 38 healthy adults, one headset model, eight cognitive-state conditions. That is enough to justify prototyping and early retrieval experiments. It is not enough to claim robust generalization to children, elderly users, clinical populations, or atypical EEG patterns.

Fourth, the composite scores are regression-derived indicators, not validated biomarkers. This is the most important business warning. Focus, relaxation, engagement, cognitive load, meditation, and drowsiness are convenient names. Convenient names become dangerous when non-technical users forget the measurement chain behind them.

Finally, Brain Nebula-style UMAP visualization is exploratory. A 3D cluster can help humans see patterns. It does not certify that the clusters correspond to stable psychological states. UMAP is a map, not a court verdict.

These limits do not make the system uninteresting. They make it more specific. NeuroSkill is strongest as a local research, wellness, prototyping, and adaptive-interface platform. It is weakest when treated as a clinical instrument, employment assessment tool, legal signal, or universal emotional detector.

What Cognaptus infers for business teams

The paper directly shows an architecture: local wearable acquisition, GPU-accelerated feature extraction, compact EEG embeddings, local similarity search, dashboard analytics, WebSocket/CLI access, and early validation benchmarks.

Cognaptus would infer three practical lessons from that architecture.

First, “human-aware AI” should be designed as a telemetry problem before it is marketed as an intelligence problem. The hard part is not making an agent say empathetic things. That is easy. Embarrassingly easy. The hard part is deciding which measured state signals are reliable enough to change system behavior.

Second, local context servers may become a serious pattern for agentic software. Instead of sending every sensitive stream to the cloud, specialized local services can expose structured signals to agents through narrow APIs. This is plausible not only for EEG, but also for calendar context, local documents, device state, browsing sessions, coding activity, and health telemetry. The agent becomes less omniscient and more tool-mediated. That is a good trade.

Third, business use should start with reversible assistance. The safest early applications are suggestions, pacing, visual feedback, research labeling, and personal analytics. The riskiest are classification, evaluation, discipline, diagnosis, and automated intervention. The same metric that helps a user take a break can become abusive when used by an employer to score attentiveness.

The practical decision framework is simple:

Question Good answer Bad answer
Who controls the data? The user or research subject, locally The platform or employer by default
What action follows the signal? Reversible suggestion or interface adaptation Judgment, diagnosis, ranking, penalty
How is uncertainty shown? Signal quality, artifact flags, relative interpretation Single confident score
What population was validated? Similar to intended users Assumed universal
Can the user override the agent? Always Not really, but the settings page is very pretty

The last row is not a joke. In human-state-aware systems, override is not a UX luxury. It is part of the safety model.

The real headline: agents may need bedside manners before they need brains

NeuroSkill is an early architecture for a world where AI agents do not only read instructions but also receive structured signals about the human using them. That world will produce useful tools. It will also produce magnificent nonsense.

The difference will depend less on whether the model is “agentic” and more on whether the surrounding system respects measurement boundaries. EEG features are not thoughts. Composite scores are not character judgments. Similarity search is not self-knowledge. A local API is not consent. These distinctions sound obvious until a dashboard turns them into glowing gauges.

The most valuable idea in NeuroSkill is not that AI can read the brain. It is that agents may become better when they are given carefully bounded, privacy-preserving, user-controlled context about human state. The system’s mechanism—signals to features, features to embeddings, embeddings to search, search to API, API to agent behavior—is the part worth studying.

The business opportunity is not mind-reading.

It is building software that knows when to speak, when to simplify, when to wait, and when to admit that a number on a dashboard is only a number on a dashboard.

That alone would be a considerable upgrade.

Cognaptus: Automate the Present, Incubate the Future.


  1. Nataliya Kosmyna and Eugene Hauptmann, “NeuroSkill™: Proactive Real-Time Agentic System Capable of Modeling Human State of Mind,” arXiv:2603.03212, submitted March 3, 2026, https://arxiv.org/abs/2603.03212↩︎