Skip to content

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.

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.

SurfaceEntryResponsibility
Runtime@atheory-ai/kitsuneHeadless contracts, connections, scoped recovery and behavior model
Browser hostRuntime /browser/host, /browser/attachment, /browser/delivery, /browser/behaviorExplicit host/session/artifact/behavior integration
Structural elementsRuntime /browser (also /app)Registers shell/boundary/route elements; uses Lit
UI authoring@atheory-ai/kitsune-ui and /components/*Registration-free authoring/factories
Supplied catalogUI /registerExplicit default tag registration
ThemeUI /theme and /theme/tokens.cssHelpers and separately imported CSS
React@atheory-ai/kitsune-reactOptional 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.

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.

  • 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.