Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Building the chat interface runtime v1.0.0

Use this resource to build the chat runtime, manage message and thread state, and connect an existing store or backend

New

  • 504 downloads
  • 210 likes
  • 157 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install chat-state-runtime-guide

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent chooses between a local runtime, an external store or a custom transport, then wires up the provider and the read and action hooks. It follows the stable selector rule to avoid needless renders. You get a runtime that drives messages, threads and attachments.

Mostly picked by

Updated November 2, 2026

Card for the “Building the chat interface runtime” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: runtime hierarchy, state hooks and selector rules
  • references/: adapters, external store, local runtime and types

Good fit for

  • Your app already has a Redux or Zustand store to connect to the chat
  • You want to manage the messages sent to the model yourself

Not for

    Tags

    • runtime
    • state
    • adapters
    • store

    About

    You say

    “Connect the chat to my existing Zustand store without losing thread handling.”

    Card for the “Building the chat interface runtime” skill

    Skill published by assistant-ui under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to build the chat runtime, manage message and thread state, and connect an existing store or backend
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/adapters.md14.5 KB
    • references/external-store.md14.9 KB
    • references/local-runtime.md14.3 KB
    • references/runtime-concepts.md12.2 KB
    • references/state-hooks.md11.6 KB
    • references/types.md6.4 KB
    • references/voice.md10.9 KB
    • SKILL.md12.9 KB

    Origin and licence

    Listed unmodified

    Author
    assistant-ui
    Source
    github.com/assistant-ui/skills/tree/b0609e66baff7e19f21053d5492464dcc22ec9c3/assistant-ui/skills/runtime
    Licence
    MIT

    Notice

    « runtime » (assistant-ui, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.