PlatformScience & ResearchPricingDevelopersCompanySign inGet started
HarmonEyes
Platform Science & Research Pricing Developers Company
Sign in Get started
For developers

The Theia SDK

One SDK for Python and Unity. Runs on-device on any camera-based hardware (CPU-only, no calibration) and returns every validated model in real time. Download it, drop it in, read human state from the first frames.

SDKs

Ways to integrate.

Python SDK

        
Streaming & batch · Windows, Linux, macOS, Android
Unity SDK

        
Real-time XR · Meta Quest Pro & HTC Vive Focus Vision samples
Android SDK
Coming soon

A native Android SDK is in development, with the same validated models and outputs as the Python and Unity SDKs, running on-device at the edge. Public release and docs are on the way.

Native Android · availability coming soon
Docs coming soon
MCP server
New

Connect any MCP-compatible AI agent, such as Claude, ChatGPT, or your own, to Theia through the Model Context Protocol.

Agents can read live human-state capabilities and trigger alerts, reports, and actions inside your app. For example, a game agent that slows the pace when a player’s fatigue is high.

Model Context Protocol · Alerts, reports & agentic actions
Get access → Docs coming soon
Quickstarts are illustrative. See the docs for the current API.
Validated models

Call a model. Get a result.

Every plan includes all validated models and capabilities. Each returns a real-time measurement and, where applicable, a prediction of when the state will change, with a confidence interval.

Cognitive Load

Cognitive Load refers to the amount of effort a person allocates to a task. It is recognized as an important factor in determining a person’s level of performance in a task and during daily life activities (Devos et al., 2020).

Eye tracking: Cognitive Load can be measured through physiological tools. Eye tracking is a sensitive, quantifiable, accurate real-time measure of cognitive effort via eye responses such as changes in the pupil (Fehringer, 2021), blinking (Chen, Epps, Ruiz, Chen, 2011), and other eye movements (Irwin & Thomas, 2010; Kramer, 1991; Van Orden, Limbert et al., 2001; Greef et al., 2009; Klinger, Tversky et al., 2010).

Current level
LowLow mental effort, significant cognitive reserve; if sustained for long periods, may lead to inattentiveness.
ModerateModerate mental effort: engaged, alert, attentive; some cognitive reserve, few performance effects.
HighHigh mental effort, low cognitive reserve; potential performance effects such as slow reactions and reduced decision-making capabilities.
When will the level change?

Assumes the same activity continues without intervention.

Predicted future level: Low, Moderate, or High

Time to reach the future state: seconds

Probability (%): for the current level and other levels

Confidence interval (0–1, low–high): for each output

Attention

Attention refers to how a person directs and distributes their focus during a task or activity (Nideffer, 1976). The width of a person’s attentional focus, from narrow to broad, plays a critical role in task performance. The ability to match attentional width to the demands of a situation is a key driver of success across a wide range of activities (Nideffer, 1990; Nideffer & Sagal, 2006; Wulf, 2013).

Eye tracking: Attention can be measured through eye movements. Eye tracking provides a real-time, objective window into how attention is being deployed, whether a person is locked onto a specific target or actively scanning a wide field. The HarmonEyes Attention solution captures attentional width through fixation patterns, saccade frequency and duration, and gaze distribution across the visual field.

Narrow-to-broad continuum
NarrowAttention is tightly focused on a specific, targeted object or cue. Well-suited for tasks requiring precision and concentration, such as reading or fine motor tasks. When applied to tasks requiring environmental awareness, performance can suffer.
Moderate-NarrowAttention is primarily focused but with some environmental scanning. Suited for tasks that require concentration with occasional situational awareness.
NeitherAttention is balanced between focused and distributed, neither strongly targeted nor broadly scanning. May indicate a transitional state or a task with mixed attentional demands.
Moderate-BroadAttention is largely distributed across the environment with some targeted focus. Suited for dynamic tasks that require awareness of multiple elements while maintaining some directed attention, such as driving in traffic.
BroadAttention is distributed widely across the environment. Supports rapid assessment of dynamic situations, such as monitoring a complex workspace, reconnaissance, medical triage, and physical security. When applied to tasks requiring focused concentration, performance can suffer.

Optimal performance depends on matching attentional width to the task at hand. Mismatches (a narrow focus during a high-awareness task, or a broad focus during a precision task) are associated with reduced accuracy, slower reactions, and increased error rates.

Mental Readiness

Mental Readiness is a real-time, session-level metric derived from cumulative cognitive load and grounded in the mental fatigue literature, which defines mental fatigue as a decrease in mental performance resulting from cognitive overload (due to task duration and/or workload), independent of sleepiness.

It reflects how much cognitive capacity a person has left in reserve, as shaped by their cognitive load over time. People rarely operate at a single, steady level of mental effort. Cognitive load naturally fluctuates, and periods of sustained high cognitive load gradually deplete available resources (Borragán et al., 2017; Hu & Lodewijks, 2020). When mental readiness runs low, the effects are tangible: attention narrows, decision-making slows, and errors become more likely. Tracking how much of a session is spent at high cognitive load is therefore a key indicator of sustained performance, resilience under pressure, and the likelihood of cognitive overload (Boksem & Tops, 2008; Chen et al., 2018).

What percentage of the session is high vs. low or moderate cognitive load?

A running percentage of time spent in each demand state, updated every second starting one minute into a session:

Low demandTime spent in low or moderate cognitive load, mentally engaged but with capacity to spare.
High demandTime spent in high cognitive load, operating near or at mental capacity. Research shows prolonged high-demand work depletes working memory resources and leads to impaired attention, planning, and decision-making (Boksem & Tops, 2008; Chen et al., 2018).

For example, a session showing 70% Low / 30% High indicates that most of the session was spent with meaningful cognitive reserve intact.

Fatigue

Fatigue is a state of increased situational sleepiness associated with reduced alertness, slower reactions, and a greater tendency to fall asleep (Hu and Lodewijks, 2020). It impairs focus and responsiveness, especially during prolonged or repetitive tasks. Fatigue is driven by a combination of sleep debt (how long it has been since a person last slept) and the body’s internal 24-hour clock. Sleep is the most effective way to relieve fatigue.

Eye tracking: Changes in blink behavior are especially indicative of increasing fatigue (Barbato et al., 1995; Caffier et al., 2003; Schleicher et al., 2008; Cori et al., 2019; Abe, 2023).

Current level
AlertHigh alertness and responsiveness. No meaningful sleep pressure. Cognitive and physical performance are unimpaired, with substantial reserve available for sustained or demanding tasks.
Somewhat FatiguedEarly signs of sleepiness. Reductions in alertness and responsiveness may be present. Increased effort is required to maintain focus, particularly during monotonous or sustained tasks.
FatiguedElevated sleepiness consistent with fatigue. Difficulty maintaining alertness, slowed reactions, and increased risk of attentional lapses. At higher levels, individuals may be fighting sleep or experiencing brief sleep intrusions, leading to significant performance impairment and increased safety risk.
When will the level change?

Predicted future level: Alert, Somewhat Fatigued, Fatigued

Time to reach the future state: seconds

Confidence interval (0–1, low–high): for each output

More capabilities on the roadmap →
Theia Dashboard

A ready-made front end for Theia output.

An optional display layer for teams who need a front end but don’t want to build one. Configurable widgets size to your canvas and render live capability output in real time. No UI work required.

Live display

Real-time Cognitive Load and Fatigue readouts, with discrete or continuous scales and configurable widget sizing on the canvas.

In-session controls

Thresholding, refining, baselining, annotation, and prompting, all available live during a session.

Replay & review

After a session, replay results with every interaction, add annotations, and track task type.

Export & resources

Save, upload, and download session data as CSV. Built-in access to tutorials, updates, and dashboard info.

Works with

Any camera, plus dedicated eye-tracking hardware.

Phones Tablets Laptops Webcams Smart glasses XR headsets Vehicles Aircraft
Technical specifications

Runs on the hardware you already have.

The Theia SDK turns standard eye-tracking hardware into human-state insight at a fixed per-frame compute cost. No GPU, no cloud round-trip, no calibration. Figures below reflect validated production targets.

Download the full spec sheet (PDF) →
Compute & performance
Per-frame inference budget & footprint
Compute requirement (GFLOPS)
~ 0.14
Compute requirement (TOPS)
1.37 × 10⁻⁵
Inference latency
100–200 ms
Output frequency
1 Hz (tunable)
Deterministic / real-time
Yes, fixed compute cost per frame, no cloud round-trip
SDK memory size
25 MB
SDK package size
20 MB
Processor & hardware support
Runs on devices people already use
CPU / NPU / GPU
Runs entirely on CPU (x86 and arm64), the primary validated target. No accelerator required.
Recommended CPU class
Arm64, Apple M1 or newer · x86-64, Intel 9th-gen / AMD Ryzen 3000 or newer
Supported architectures
x86-64, ARM64
Supported OS
Windows, Linux, macOS (Arm), Android, Unity
Eye-tracker input
Hardware-agnostic recommendations
Spatial (gaze) accuracy
Not required. Theia doesn’t depend on absolute gaze-point accuracy, so low-cost or uncalibrated trackers are fine.
Precision
< 2° of visual angle (recommended). Sample-to-sample precision matters; spatial accuracy does not.
Sampling rate
30 Hz minimum
Tracker type
Webcam, remote, smart glasses, XR, VR, RGB camera
Calibration
Not required. Supported to improve accuracy.
Input data format
Required: gaze coordinates, timestamp. Optional: pupil diameter, event streams.
Integration, privacy & licensing
Private at the edge
Deployment
On-device / edge, no internet connection required at inference time
Data privacy
All processing is local; no raw gaze or video data leaves the device by default
API / language bindings
Python, C++, Unity, Android
Releases

Release notes

Every Theia SDK and Theia Dashboard release, newest first.

Version 2.6

November 2026 Latest
Theia SDK · Theia Dashboard
Session

A new Session view

The Session tab now opens in Split View: what is on your screen on the left, and every reading in one Live readings panel on the right. Drag the divider between them to resize either side.

Live readings comes in three versions, and Theia remembers the one you pick:

  • Timeline: a row for each reading, with its level now and a ribbon of the levels it has been through, all on one time axis. Click a row to open that reading’s graph underneath
  • Tiles: one tile for each reading, with its level now and how long it has held
  • Scales: each reading’s whole scale, with the level now marked and a line on where it is heading

Choose how far back the ribbons look: the last 1, 5 or 15 minutes, or the whole session. The earlier layout of movable cards is still available under View › Layout › Board.

What each reading measures

Hover over a reading’s name to see what it measures. The same line heads the reading’s graph.

  • Cognitive Load: how hard your brain is working right now
  • Fatigue: how alert or sleepy you are right now
  • Attention: the breadth of your focus, from broad to narrow
  • Mental Readiness: your available mental bandwidth
Fatigue and Mental Readiness

Updated fatigue capability

Fatigue now shows its first reading in under 1 minute. It reads Alert, Somewhat Fatigued or Fatigued, and updates about every 20 seconds instead of every 2 minutes.

An updated fatigue gauge

The gauge shows the three levels with the current one outlined. A pointer and a bold, dotted line mark where your reading falls within it.

Mental Readiness accounts for fatigue

Mental Readiness now combines both fatigue and cognitive load to ensure a well-rounded reading. At high fatigue, the most a person can be mentally ready is 50%. The gauge and the Live readings row say when a cap applies.

Webcam readings

Three new readings are available with the webcam tracker: Posture, On/Off Screen and Eye Strain. Turn each on or off under View › Webcam.

Posture

Theia grades your posture while at your workstation. Posture gives a score out of 100 and a grade from Excellent to Very Poor, for the session so far and for the last 20 seconds. It is graded on up to ten ergonomic criteria, such as viewing distance, screen angle and head position. The first grade appears after a minute with your face in view, and updates every 20 seconds.

On/Off Screen

On/Off Screen shows, second by second, whether you are on the screen, off the screen, or not in front of it, along with the share of time you were in each state. It has its own row in Live readings, and sits under the Posture chart in the Board layout.

Eye Strain

Eye Strain is a 20-minute clock for your eyes and is based on OSHA standards. Its score rises with unbroken time on the screen and reaches 100 after 20 minutes, when Theia shows that a break is due. Twenty seconds off the screen resets it. The reading also counts your breaks and your longest stretch this session.

Screen & Gaze

See where you look

With Screen Capture on, Theia can now draw more of your gaze over the capture during a webcam session:

  • Gaze Heatmap: where your gaze has rested over the last 10 seconds
  • Opacity Map: the heatmap the other way round: the screen is darkened except where you looked over the last 10 seconds
  • Scan Path: a trail of your last eight fixations
  • Gaze Metrics: fixations per minute, the K coefficient and the share of focal viewing over the last 20 seconds, and gaze entropy over the last 60 seconds

These features are currently supported for single-display setups only. They need your screen’s size and your camera’s field of view to place your gaze correctly.

One menu for Screen & Gaze

A new menu, View › Screen & Gaze, holds everything to do with the screen capture: Screen Capture itself, the screen size and camera field of view, then Gaze Overlay, Gaze Heatmap, Opacity Map, Scan Path, Gaze Metrics and Gaze-Only Boxes.

Version 2.5

November 2026
Theia SDK · Theia Dashboard
Developer access

Theia MCP server

The new Theia MCP server lets an AI agent work with your running app and read the Theia documentation. The server needs the Theia SDK installed.

Integrations › Developer access shows how to add it to each agent, with a command to run for most agentic tools.

Set up in three steps

Developer access now lays out the setup as three numbered steps: create an API key, add the Theia SDK to your app, then connect your AI agent. The SDK step gives the install command for Python, C++ or Unity and the two settings for your key, and shows when a device has activated.

API keys for the Theia SDK

Admins can create and revoke API keys for the standalone Theia SDK under Integrations › Developer access. Each key shows who created it, how many devices use it and when one last checked in. A key’s client secret is shown only once, so save it before closing the dialog.

Theia Harness

Ask in your own words

The Theia Harness now understands everyday requests, such as “set up a fatigue alert for my drivers.” It matches your words to what Theia measures, for example drowsy driving to fatigue or stressed to cognitive load. When you mention a group, such as “my pilots,” it fills in the matching group, within the people you are allowed to set alerts for.

When part of a request is out of reach, the agent builds what it can, explains the rest and says what Theia can do, instead of only replying that it can’t help.

Guardrails

Set limits on the Theia Harness

A new Guardrails screen lets admins set limits on how their organization uses the Theia Harness. Four rules are available:

  • Personal information & credentials: blocks messages that share personal information, such as a phone number or home address, or a password or other secret
  • Suspicious activity: blocks messages that try to extract secrets, override the agent’s instructions, use abusive or dangerous language, or steer the agent into inappropriate topics
  • Agent token budget: stops a person from using the agent once they use up their token budget; each budget lasts 24 hours from their first message
  • Agent request ceiling: limits how many messages a person can send to the agent in 24 hours

When a message is blocked, the chat ends and the person is told why. Rules are off until an admin turns them on, so Theia Harness usage is uncapped until then. Guardrails apply to everyone, admins included.

Review blocks and warnings

The Activity drawer on the Guardrails screen lists the last 24 hours of blocks and warnings, without what the person typed.

Integrations

Webhooks: send alerts to your own systems

Admins can register their own HTTPS endpoints under Integrations › Webhook / SDK. Any alert can then deliver to an endpoint, alongside the in-app alert, Microsoft Teams and Slack. In the alert editor, tick “Your webhook endpoint” under “Deliver to” and pick the endpoint.

Alerts

Choose when an alert fires

A new “Fire when” setting in the alert editor offers three choices, and shows only the settings for the one you pick:

  • It enters the level: the alert fires as soon as the level is reached
  • It stays in the level without a break: for at least a set number of minutes, for example cognitive load High for 10 minutes
  • It is in the level a share of recent time: for example, High for 80% of the last 10 minutes

Wait before alerting

“Don’t alert in the first N minutes” holds an alert back after a session starts or after a break. Once a wait is set, “Breaks last at least” sets how long a pause must be to count as a break.

Help and feedback

Send feedback

Send ideas, problems and questions straight to the HarmonEyes team from “Send feedback” at the bottom of the side navigation in the web app. Your email address is included so the team can reply.

Version 2.4

August 2026
Theia SDK · Theia Dashboard
New

Fatigue model v2.4

An updated fatigue model reports on three levels instead of four. “Neither Alert nor Fatigued” and “Rather Fatigued” are consolidated into “Somewhat Fatigued.”

Alert
Performance unimpaired, with reserve for sustained or demanding tasks.
Somewhat Fatigued
Early sleepiness. Holding focus takes more effort, especially on monotonous tasks.
Fatigued
Difficulty staying alert, slowed reactions, and risk of attentional lapses.

Version 2.3

July 2026
Theia SDK · Theia Dashboard
New

Browser-based dashboard

The dashboard runs in a web browser with no desktop install. Every user gets a private session.

Improved
  • “Mental Workload” is now “Cognitive Load,” and “Drowsy” is now “Fatigued”
  • The Mental Readiness gauge tracks changes in load more closely
  • Webcam tracking: smoother live gaze with fewer gaps and more reliable camera startup on Windows
  • Scene and webcam recordings survive an unexpected stop, so footage is no longer lost
  • Restyled update notifications, with a single press to restart and apply
  • First-run license prompt, a clickable license status indicator, and automatic entitlement refresh on startup
  • Export session predictions to Excel (.xlsx), with a ledger of every recorded value
Fixed
  • macOS auto-update is architecture-aware; an Apple-Silicon install no longer updates to an Intel build, or vice versa
  • No more backend crash after very long session runtimes
  • Mental readiness no longer reports “No predictions” in the 1-minute window
  • Sessions survive a page refresh, and Start Session disables while starting to prevent double-starts

Version 1.1.0

May 2026
Theia SDK · Theia Dashboard
New

Mental readiness indicator

A real-time mental readiness widget, with a 1-minute, 1-hour, and all-time lookback.

Attention indicator

Real-time attention classification (focused vs. distributed).

Improved
  • More time window options for the cognitive load history
  • View is now its own top-level menu, separating widget visibility from configuration
  • Submenus open as right-flyouts and stay open until you click outside

Version 1.0.0

February 2026 Initial release
Theia Dashboard · Theia Python SDK

The first release: the Theia Dashboard for real-time cognitive load and drowsiness measurement, and the Theia Python SDK for programmatic integration.

Predates the 2.3 rename: “Mental Workload” became “Cognitive Load,” “Drowsiness” became “Fatigue.” Original wording kept for the record.

Theia Dashboard
  • Live measurement: real-time cognitive load from a generalized base model, plus four-level drowsiness detection (Alert, Neither Alert nor Drowsy, Rather Drowsy, Drowsy) on a color-coded bar
  • Cognitive load graph: discrete categorical levels or a continuous scale, over a 3, 5, or 10-minute window
  • Scene camera: live video from the connected eye tracker
  • Sessions: start and stop from the footer and annotate live
  • Layout & settings: resizable panels, per-panel visibility toggles, license management, and header status indicators
Theia Python SDK
  • Real-time streaming: start and stop sessions and view included solutions
  • Requirements: Python 3.12 and Pupil Labs Neon (PL) or the mock tracker (WT) for development

Start building today.

Full SDK access on every plan. Plans from $9.99/month.

Start free trialView pricing
HarmonEyes

Bringing human-state intelligence to 8 billion devices.

HarmonEyes technology is patented. Bethesda, Maryland, USA · sales@harmoneyes.com
© 2026 RightEye, LLC (dba HarmonEyes) X LinkedIn Terms of Use Privacy Policy