Fall Kit
v1.2.0 · the shared cascade · MIT
◊·κ=1 · prime 1301 · part of the AI Native Solutions estate

One cascade. Every seed. Same level.

Drop-in JS module that gives any estate seed the AI cascade and P2P mesh users now expect — T0 off (default) · T2 WebLLM in-browser (1B → 70B) · T3 BYOK frontier (Anthropic / OpenAI / Google) · plus WebRTC mesh on the canonical fall-signal channel. Inlines for sovereignty. ~16 KB.

The 3 tiers

TierWhat you getWhere the work happens
T0 · offThe seed runs fully without AI. Default for every install.Nothing downloads · zero API calls
T2 · WebLLMIn-browser LLM via WebLLM. Pick a model: 1B (700MB · any laptop) · 3B (2GB · balanced default) · 7B (5GB · capable) · 8B (5GB · common) · 70B (40GB · frontier, needs serious GPU + 64GB RAM)100% in your browser · runs offline forever after first load · zero data leaves the device
T3 · BYOKBring your own key for frontier models. Anthropic (Sonnet 4.5 · Opus 4.7 · Haiku 4.5) · OpenAI (GPT-4o · 4o-mini · o1-mini) · Google (Gemini 1.5 Pro · 1.5 Flash · 2.0 Flash)Direct fetch to provider · key stays in your browser · never proxied

Try it live

The chip is mounted at the top right of this page →

Click it to open the cascade settings. Then ask the kit to generate something with T0 (graceful null) · T2 (load a model first) · T3 (paste a key).

→ output will appear here

Embed in your seed

Two ways. Inline for sovereignty (recommended) — copy the contents of fall-kit.js inside a <script> tag in your HTML. Or reference via CDN if you trust this hosted copy:

<script src="https://sjgant80-hub.github.io/fall-kit/fall-kit.js"></script>
<script>
  FallKit.init({
    seedName: 'my-seed',
    chipAnchor: 'header .actions'  // CSS selector for where the AI chip goes
  });

  // Use anywhere you want AI assist · degrades gracefully at T0
  const draft = await FallKit.aiComplete(
    'You are a tight technical writer.',
    'Summarise this in 30 words: ' + sourceText,
    200
  );
  if (draft) showDraft(draft);
  else /* T0: fall back to your non-AI logic */;
</script>

Public API

MethodReturnsWhat
FallKit.init({seedName, chipAnchor}){version}Installs CSS · mounts AI chip · returns kit version
FallKit.aiComplete(sys, msg, maxTokens)string|nullUniversal entry. T0 → null. T2/T3 → completion. Caller MUST handle null gracefully.
FallKit.loadWebLLM(modelKey?)PromiseLazy-loads WebLLM with chosen model (defaults to user's last pick or '3b')
FallKit.openSettings()voidOpens the cascade settings modal
FallKit.meshStart({seedName, onMessage})voidActivates BroadcastChannel mesh on fall-signal
FallKit.meshPost(kind, payload)boolBroadcasts to other seeds on the channel
FallKit.helpSection()string (HTML)Returns the standard help-section HTML to inject into your seed's Help tab
FallKit.MODELSobjectRegistry of available WebLLM models with size + label
FallKit.PROVIDERSobjectRegistry of T3 BYOK providers + their models

Sovereignty doctrine

What ports cleanly

◊ Fall Kit v1.2.0 · MIT · github.com/sjgant80-hub/fall-kit · part of the AI Native Solutions estate · ◊·κ=1