A deterministic character runtime

Add interactive characters to your app.

CharaWeave is a TypeScript runtime for characters that move, react to users, and interact with elements in an application. Define your character’s behavior and artwork, then connect it to your UI.

Behavior is driven by rules and session state. No language model is needed.

HOST TARGETphoto-cardavailable · visit
✳cw
RUNTIME WHATvisiteffective mass · 0.68
character → context → action

What is CharaWeave?

How characters interact with an app

A character package contains artwork, supported actions and behavior settings. CharaWeave uses those settings and the targets registered by your app to select an action. Your app handles rendering and its own callbacks.

In Studio, compare the character settings with the calculated weights, selected action, target and execution result.

How it works

From package to on-screen action

Architecture overview
01

Character Package

Character ID, artwork, available actions and animation bindings.

02

CharacterSession

Current activity, timing and recent action history.

03

Behavior Selection

Filter eligible actions and calculate their selection weights.

04

WHAT → Presentation

Execute the action and let the application render the animation.

Character Package→CharacterDefinition→CharacterSession→Behavior Selection→WHAT→Presentation→Host Adapter→Application UI

The host registers available targets. The runtime chooses an eligible action for the character.

Runtime capabilities

Behavior and interaction

Adjust a character's behavior without changing the app's target registrations.

◇

Character-specific repertoire

Choose the actions your character can perform. A supported action still needs a suitable context.

Core concepts ↗
◌

Personality and context

Set traits and preferences, then see how context, timing and recent actions affect behavior.

Behavior selection ↗
⌁

Animation and reactions

Bind clips to idle, movement, actions, touch reactions and recovery.

Presentation ↗
▣

Browser and React integration

Use browser or React APIs to register elements and connect application callbacks.

Host integration ↗
↗

Presence, Rest and Sleep

In Studio and Playground, characters can change position, rest or sleep even when no host targets are registered.

Environment behavior →

A practical example

Example: inspecting a photo card

If a package supports inspect and the app registers a suitable photo card, the runtime can select that action after checking timing and policy weights. The application decides what inspection means.

Follow the behavior pipeline
CAPABILITYinspectsupported
TARGETphoto-card · 42applicable
REPEAT STREAK1 completed inspect× 0.70
SELECTED WHATinspect→
PRESENTATIONauthored inspect clipfinite

Example trace; not a recorded execution.

Character package

What goes into a character package

Create a Character ↗
// current source schema example
{
  "schemaVersion": 11,
  "capabilities": {
    "autonomousActions": ["inspect", "rest"]
  },
  "characterActionPreferences": {
    "inspect": 0.8,
    "rest": 0.4
  }
}

V11 adds a list of supported actions and preferences for inspect, emote and rest. Animation bindings specify which clip to play for an action or state.

  • The validator checks the package and its declared resources.
  • Content returns the requested version of the data.
  • The application loads and renders the assets.
Character schema reference ↗

Author and evaluate

Create a character in Studio

In Studio Web, browse character candidates, add your artwork, arrange animation frames and test behavior before exporting a package. Desktop development builds also support editable project files and recovery.

01Validate packagePASS
02Review effective massTRACE
03Run a character actionOBSERVE
04Check finite lifecycleRETURN TO IDLE

Choose an environment

Studio and Playground

◇

Studio Web

Browse artwork, create a character, test its behavior and export a .chara package.

Open Studio Web ↗
▣

Runtime Playground

Try character movement, touch reactions and target interactions in a sample application.

Open Playground ↗
▤

Studio Desktop

Portable development candidates exist for macOS ARM64, Windows x64 and Linux x64. Native .cwproject drafts and recovery are Desktop-only. Signed public downloads are not available yet.

Desktop status and usage →

Availability

Current features and limitations

Implemented

  • Deterministic Runtime and versioned Character packages
  • Personality, scheduling, action policy, and bounded repertoire
  • Applicability, temporal/history behavior, and target contributions
  • Presentation lifecycle, touch, and Recovery
  • Presence / Rest / Sleep, Studio Web, Electron desktop candidates, and Browser/React Host adapters

Not implemented

  • AI controller or model integration
  • Cross-session long-term Character memory
  • Character marketplace
  • Arbitrary behavior scripting DSL

Studio Web and Playground are available online. Workspace packages remain private 0.0.0; the SDK is not published to npm and Desktop is not publicly available.

Getting started

Make your first character

Follow the Studio guide or connect a character to your own app.

Explore documentation