SpyneJS is a behavior-first frontend framework and structure built around a View–Behavior–Logic (VBL) architecture. VBL mirrors the natural language structure used to describe applications: what exists (View), when things happen (Behavior), and why decisions are made (Logic).
- spyne
The SpyneJS framework runtime - spyne-cli
Application scaffolding and structured generation of ViewStream, Channel, and SpyneTrait modules
- grammar
The SpyneJS Generative Grammar (@spynejs/grammar, formerly@spynejs/kb) — the rules an AI agent reads to write well-formed SpyneJS code: operation cards, construction records, a mental model, and task trees that route an agent to only what the task needs.AGENTS.mdis the entry point and takes precedence over the model's prior knowledge of the framework. Ships inside every application template and is read fromnode_modules, so agents work from the current release, not stale training data. Versioned with framework releases and measured against a public multi-model benchmark: benchmark-protocol
- @spynejs/cms
CMS runtime plugin for structured JSON authoring inside SpyneJS applications - @spynejs/cms-adapter
Local development adapter for safe, deterministic JSON persistence
- design.spynejs.com
The SpyneJS design system: token-based primitives for spacing, typography, color, layout, and component-level controls, so visual changes stay compatible with AI-assisted generation and long-lived applications. Developers can theme and customize applications without breaking their structure.
Template: application-shell - templates.spynejs.com
One application shell drawn by interchangeable themes. The pages, navigation and components are written once under neutral names and tokens, and a theme supplies the values and styles, so a design system can be applied without rewriting the application. The default theme is based on Carbon (the open design system from IBM); more themes are being added.
Template: application-shell-templates - material.spynejs.com
Material Design 3 (the open design system from Google) rebuilt as SpyneJS components and ported to VBL. Developers can build Material Design applications using generated code; many components are available now, more are being added.
Template: application-shell-material
- spyne-plugin-console
Live visualization of channel streams and outputs for inspecting, creating, and capturing application behavior - plugin-starter
Starter template for building SpyneJS plugins
