Pick a track
Track A if you want a single, fused human-state signal (focus, emotion, capacity, recovery, strain, sleep) — typically because you’re building a wellness, productivity, or coaching app that already pulls data from a wearable and wants higher-level inference on top. Track B if you only need one channel of data — wearable readings, behavior events, or session frames — and want to wire it into your own pipeline. No CLI, no runtime, no platform account.Track A — Synheart Core (HSI)
Multimodal human-state inference on-device. Requires CLI, platform account, and the runtime.
Track B — Standalone module
Just
synheart_wear, synheart_behavior, or synheart_session. No CLI required.Track A
Synheart Core (HSI). Use this track when you want fused human-state output (focus, emotion, capacity, recovery, strain, sleep) from biosignals + behavior + phone context.1. Install the CLI
2. Create a platform account and register your app
Sign up at platform.synheart.ai (email + password, or Google, Apple, or GitHub). Signup is self-serve and starts on the free tier. Then create a project, add your app under Apps → Add App, and fill in App settings → SDK attestation: your bundle ID plus the Google project ID and Play Integrity decoder credential (Android) or Apple Developer Team ID (iOS). Turn on Allow development builds while you test on emulators, simulators, or debug builds. Note two values from the app page: the platformapp_id (for example app_focus_and_kB8mPx) and your organization’s org_id. Both are in the Download App Credentials (.json) file.
Mobile apps don’t use API keys. The SDK registers a hardware-backed device identity, attested by Play Integrity or App Attest, and signs every request with it. Never ship an API key or signing secret in an app bundle.
3. Authenticate the CLI
4. Install the runtime
From your project root:synheart.lock. Commit the lockfile so teammates and CI can run synheart sync. Run synheart doctor to check the installed runtime against your SDK.
Runtime install guide →
5. Initialize Synheart Core
Flutter / Dart
Flutter / Dart
Android (Kotlin)
Android (Kotlin)
Kotlin SDK 0.7.0 and earlier also need
allowUnsignedCapabilities = true next to deviceAuthConfig; without it initialize() throws. 0.7.1 fixed this.iOS (Swift)
iOS (Swift)
deviceAuthConfig and cloudConfig and set allowUnsignedCapabilities: true instead. Use that for development only.
initialize throws when the installed runtime doesn’t match the SDK (current SDKs need runtime 0.45.0 or later and recommend 0.46.0): SynheartRuntimeException on Flutter and Kotlin, SynheartRuntimeError on Swift. The error’s installCommand is the exact command that fixes it. On Flutter and Kotlin a missing runtime doesn’t throw: the SDK starts without HSI and Synheart.runtimeError says why. On Swift, a runtime that isn’t linked throws SynheartError.runtimeIncompatible.6. Test locally with mock data (optional)
Track B
Standalone module. If you only need a single signal channel and don’t need fused HSI output, install just that SDK. No CLI, account, or runtime needed.Synheart Wear
Biosignals from Apple Watch, WHOOP, Garmin, Fitbit, BLE HRMs.
Synheart Behavior
Tap, scroll, type, and motion patterns — content-free.
Synheart Session
Time-bounded sessions with HR + behavioral metrics on-device.
synheart_wear in Flutter:
How it fits together
- CLI authenticates you, manages the runtime artifact, and runs local mocks for development.
- Runtime is the native on-device engine that computes HSI. The Core SDK loads it at startup.
- Core SDK (Flutter / Kotlin / Swift) coordinates signal collection, drives the runtime, and exposes reactive streams.
- Modules (
synheart_wear,synheart_behavior,synheart_session) can be used standalone or composed under Core.
Privacy posture
On-device
Inference runs locally — no biosignal content leaves the device.
Consent-gated
Cloud uploads require explicit user consent and capability tokens.
Content-free
No text, audio, screen content, or PII is ever captured.
Next
Synheart Core
Architecture, HSI/HSV spec, capabilities, consent.
CLI reference
Mock streams, local platform, install, sync, receiver.
Modules
Wear, Behavior, Session details.
Troubleshooting
Common issues and fixes.