Privacy-first digital behavior modeling from interaction patterns
Synheart Behavior is a cross-platform SDK for capturing and transforming digital interaction patterns into numerical behavioral signals.
The SDK models how users interact with digital systems timing, rhythm, switching, and fragmentation without ever accessing content, text, or personal data.
These behavioral signals power downstream systems such as:
- Focus and distraction inference
- Digital wellness analytics
- Cognitive load and fatigue estimation
- Multimodal human state modeling (HSI)
Important: Synheart Behavior analyzes interaction dynamics, not what users type, read, or see.
- Privacy-by-design
- Metadata only (never content)
- Permission-scoped tracking
- On-device aggregation first
- Numerical, interpretable representations
π Privacy-First: No content, no text, no audio, no screen capture
π Behavioral Metrics: Interaction intensity, task switching, idle fragmentation, burstiness, distraction and focus proxies
β‘ On-Device Processing: Feature extraction and aggregation run locally
π― HSI-Ready: Produces structured behavioral vectors for Synheart HSI fusion
π± Multi-Platform SDKs: Flutter/Dart, Android (Kotlin), iOS (Swift)
π Consent-Gated: Fully controlled by user permission and policy enforcement
πͺΆ Lightweight: Designed for continuous background operation with minimal CPU and battery impact
All SDKs provide identical functionality with platform-idiomatic APIs. Each SDK is maintained in its own repository:
dependencies:
synheart_behavior: ^0.1.0π Repository: synheart-behavior-dart
dependencies {
implementation("ai.synheart:behavior:0.1.0")
}π Repository: synheart-behavior-kotlin
Swift Package Manager:
dependencies: [
.package(url: "https://github.com/synheart-ai/synheart-behavior-swift.git", from: "0.1.0")
]π Repository: synheart-behavior-swift
This repository serves as the canonical specification hub for shared resources across all SDK implementations:
project-name/
ββ docs/ # Necessary documents of the repo/SDK
ββ models/ # ML Models that the SDK is going to use
ββ examples/ # Examples how you can use the SDK
ββ scripts/ # where the SDK exists
ββ .github/ # Github workflow of CI/CD
β ββ ISSUE_TEMPLATE/
β ββ workflows/
ββ CONTRIBUTING.md # A guideline how to contribute on this SDK
ββ CODE_OF_CONDUCT.md
ββ SECURITY.md
ββ LICENSE # A LICENSE NOTICE
ββ README.md
Platform-specific SDK repositories (maintained separately):
- synheart-behavior-dart - Flutter/Dart SDK
- synheart-behavior-kotlin - Android/Kotlin SDK
- synheart-behavior-swift - iOS/Swift SDK
What Is Collected The SDK captures event-level interaction metadata, such as:
- Tap, typing, scroll, swipe events (timing + physical properties only)
- App foreground/background transitions
- Idle gaps and interaction pauses
- Notification and call events (event only, no content)
- Motion state (sitting, standing, moving, laying)
What Is Not Collected
- Typed characters or text
- Notification content or sender identity
- Call audio or voice data
- Screenshots or screen recordings
- URLs, app UI data, or semantics
- Clipboard, camera, or microphone data
Event An event is a single atomic interaction: tap, typing, scroll, swipe, notification, call, idle_gap. Each event contains:
- timestamp
- event type
- session ID
- non-semantic metrics (e.g., duration, velocity)
Session A session is a continuous period of interaction with an application, bounded by: app open / close, or inactivity β₯ idle threshold (e.g., 30s)
Sessions are the primary unit for short-term behavioral aggregation.
Raw Interaction Events
β
βΌ
Event Normalization
β
βΌ
Session Aggregation
β
βΌ
Behavior Feature Computation
β
βΌ
Normalized Behavioral Vector
β
βΌ
HSI Runtime / Downstream Consumers
Everything runs on-device:
- Raw events are processed locally
- Only aggregated features are exposed
- No raw interaction logs are transmitted by default
Session-level outputs:
- interaction_intensity
- task_switch_rate
- task_switch_cost
- idle_ratio
- fragmented_idle_ratio
- burstiness
- notification_load
- scroll_jitter_rate
- behavioral_distraction_score
- behavioral_focus_hint
- deep_focus_blocks
Daily aggregation produces higher-level behavioral summaries such as:
- fragmented time ratio
- screen time segments (morning / afternoon / evening / night)
- recovery-friendly minutes
- multitasking intensity
- behavioral stability score
- habit strength index
All metrics are bounded, normalized, and numerically stable.
Hard Guarantees
β No PII
β No content capture
β No keystroke logging
β No audio or visual recording
β Permission-scoped tracking only
β No tracking across unconsented apps
Connectivity Model
- The SDK does not require internet, Bluetooth, or external connectivity to operate.
- It may record a binary network availability state (online/offline) as contextual metadata.
- No network traffic, destinations, or payloads are inspected or captured.
- Any data transmission is explicitly consent-gated and configurable.
Regulatory Alignment
- GDPR / CCPA aligned
- Data minimization and purpose limitation enforced
- App Tracking Transparency (ATT) not required
- CPU: β€ 1% average
- Memory: β€ 10 MB peak
- Battery: < 0.3% per hour
- Event processing: < 500 ΞΌs
- UI: No UI thread blocking
- HSI Runtime β multimodal state fusion
- Focus & Distraction Modeling
- Digital Wellness (SWIP)
- Behavior-Emotion Correlation
- Longitudinal Habit Analysis
The Behavior SDK only activates if:
- User grants behavioral consent
- The app provides valid tenant β project β user identity
- Consent Connector SDK validates and caches policy
If user disables behavioral consent:
- Stops recording events
- Zeros out behavior features
- Marks them as
behavior_consent=false - HSI Runtime masks behavior features
- Architecture Guide - Detailed system architecture
- API Reference - Complete API documentation
- Privacy Policy - Privacy guarantees and data handling
- Contributing Guide - How to contribute (covers all SDKs)
- Changelog - Version history for all SDKs
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
Apache 2.0 License - see LICENSE for details.
- Synheart Focus - Cognitive concentration inference
- Synheart Emotion - Physiological emotion inference
- Synheart Core SDK - Unified SDK for all Synheart features
Author: Israel Goytom
Organization: Synheart Research & Engineering