← All projects
Project record1 mention
Originally shared on Hacker News

PassiveIntent

A TypeScript SDK that runs a behavioral intent model entirely inside the user's browser, with no events leaving the tab, no backend, and no analytics pipeline. The core is a four-layer microkernel: a Bloom-filter-backed sparse Markov graph (FNV-1a hashing, 500-node cap with LRU eviction), a streaming anomaly detector using Welford's online algorithm for per-state mean/variance in O(1), and a typed event emitter that fires when Z-score thresholds cross. It classifies nine typed behavioral states (e.g., Conviction Buyer, Compound Hesitation), runs in under 2ms per track() call at ~11kB gzipped, and solves cold start with declarative Blueprint JSON priors so the engine boots calibrated on the first track() call. The core is AGPLv3.

Last shared
01 / The problem

What it addresses

Evaluated behavioral analytics stacks have median 3-15 minute round-trip latency, while users make churn decisions in under 3 seconds; the only solution is to put the model in the same process as the behavior.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. PassiveIntent

    A TypeScript SDK that runs a behavioral intent model entirely inside the user's browser, with no events leaving the tab, no backend, and no analytics pipeline. The core is a four-layer microkernel: a Bloom-filter-backed sparse Markov graph (FNV-1a hashing, 500-node cap with LRU eviction), a streaming anomaly detector using Welford's online algorithm for per-state mean/variance in O(1), and a typed event emitter that fires when Z-score thresholds cross. It classifies nine typed behavioral states (e.g., Conviction Buyer, Compound Hesitation), runs in under 2ms per track() call at ~11kB gzipped, and solves cold start with declarative Blueprint JSON priors so the engine boots calibrated on the first track() call. The core is AGPLv3.

    Problem: Evaluated behavioral analytics stacks have median 3-15 minute round-trip latency, while users make churn decisions in under 3 seconds; the only solution is to put the model in the same process as the behavior.

    Posted by @purushpsm147 · Original source ↗

    Source text · @purushpsm147 · · Source ↗

    PassiveIntent (passiveintent.dev) – a TypeScript SDK that runs a behavioral intent model entirely inside the user's browser. No events leave the tab, no backend, no analytics pipeline.