What is Kitsune?
Kitsune defines how presentation components participate in an application: properties in, native events out, context at boundaries, registered module consumers and explicit adapters for effects. The host owns connection readiness, scope and lifecycle; domain systems own permissions, revisions and durable commits.
A new component can declare its requirements, object bindings and interactions and join a prepared host through that contract. Maintained renderers use TypeScript/Lit. Browser-ready JavaScript artifacts use the same attachment and exact-version delivery protocol without rebuilding the application.
Why try it?
Section titled “Why try it?”Consider adding a title suggestion component to an editor. It emits a suggestion event. A boundary maps the payload, a registered application consumer retains the draft, and optional telemetry observes it. Save remains an explicit domain operation. Removing telemetry does not require changing the renderer; removing the component releases its resources without closing the borrowed connection.
Kitsune supplies a reusable architecture for these integration relationships, plus versioned consumer skills. Its bounded behavior model validates handlers, payloads and bindings before activation and reports scoped runtime conformance. Opaque callbacks still need executed tests. A valid graph does not verify all JavaScript.
Existing frameworks can implement these patterns. Lower integration effort, fewer defects, smaller apps and better agent productivity are hypotheses to test, not established advantages. Read how we evaluate Kitsune.
What ships together
Section titled “What ships together”| Surface | Entry | Responsibility |
|---|---|---|
| Runtime | @atheory-ai/kitsune | Headless contracts, connections, scoped recovery and behavior model |
| Browser host | Runtime /browser/host, /browser/attachment, /browser/delivery, /browser/behavior | Explicit host/session/artifact/behavior integration |
| Structural elements | Runtime /browser (also /app) | Registers shell/boundary/route elements; uses Lit |
| UI authoring | @atheory-ai/kitsune-ui and /components/* | Registration-free authoring/factories |
| Supplied catalog | UI /register | Explicit default tag registration |
| Theme | UI /theme and /theme/tokens.css | Helpers and separately imported CSS |
| React | @atheory-ai/kitsune-react | Optional wrapper and React peers |
Importing a component does not prepare a host, grant authority, install modules or choose persistence. Adding it to the DOM alone does not establish its runtime participation. Components remain presentation code; application adapters own domain/vendor integration.
Preview boundaries
Section titled “Preview boundaries”This documentation describes the unpublished 0.2.0-preview.0 candidate. Registry 0.1.0 has older exports and lacks the current packaged-skill contract. Use matching local archives until a new version is published. The runtime has no general API-stability promise at this stage.
Current evidence covers selected Chromium local/remote fixtures, native forms/accessibility assertions, cleanup, conflicts and uncertain-save receipt recovery. Production transport/storage, broader browser/framework profiles and arbitrary generated components require independent validation. Artifact envelopes are not executable-code isolation. Context Engine/LMIR integration is deferred and unnecessary for the preview.
Start here
Section titled “Start here”- Quick Start — select packages and run the native event loop.
- Runtime loop — boundaries, events and registered consumers.
- Packages — explicit entries and migration.
- Evaluation — what would establish practical value.