v1.2.0 Stable Release

Stop Building Chatbots.
Start Building Context-Aware Apps.

An edge-first AI infrastructure that observes user behavior, infers intent without prompts, and streams adaptive UIs—all with sub-second latency.

observer-worker.ts

Hybrid Event-Driven Architecture

Logic moves to the edge. Intelligence stays in the cloud.
Optimized for high concurrency and cost-efficiency.

🔍
Edge Client
Observer SDK runs in Web Workers. Filters 90% of noise via local heuristics before network requests.
Gateway
Cloudflare Workers + PartyKit. Maintains WebSocket state and manages interruption budgets.
🧠
Inference
Vercel AI SDK orchestrates LLM calls. Assembles context from Vector DB (pgvector).
🎨
Stream UI
Generative UI skeletons render in <200ms. React Server Components hydrate progressively.

A Developer-First SDK

Full type safety. Zero layout shift.

01. Declarative Rules

Define behavior triggers (like dwell time or rage clicks) using a JSON-based heuristic engine.

02. Budget Control

Prevent the "Clippy Effect." The Engine manages an interruption budget to ensure AI only appears when helpful.

03. Edge Native

Designed for Cloudflare Workers and Vercel Edge. No cold starts.

src/observer.ts
import { ObserverSDK } from '@nochatengine/observer'; // 1. Initialize SDK with noise filtering const observer = new ObserverSDK({ apiKey: process.env.NCE_KEY, heuristics: [ { trigger: 'DWELL_LONG', condition: 'time > 2000 && velocity < 0.1', emit: 'INTENT_PROBE' } ] }); // 2. Listen for Generative UI streams observer.onStream((component) => { if (component.confidence > 0.85) { renderOverlay(component.reactNode); } });

Production Metrics

<5%
CPU Overhead
Web Worker architecture ensures the main thread never blocks, even during complex event analysis.
90%
Noise Reduction
Edge-side heuristics discard irrelevant user actions before they ever reach the cloud.
<200ms
TTFB
Time to First Byte for UI streaming. Skeletons load instantly, content follows via RSC.
287B
Avg Payload
Semantic Events are highly compressed compared to raw DOM snapshots (JSON vs HTML).