runtime

Manage assistant-ui runtime state across threads and messages.

1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/012e/thesis --skill runtime-012e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: runtime
Source: https://github.com/012e/thesis/tree/main/.agents/skills/runtime
Command: npx skills add https://github.com/012e/thesis --skill runtime-012e

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provide a unified API to manage assistant-ui runtime state across threads and messages.

Core Features & Use Cases

  • Centralized runtime state access and mutation for threads, messages, and actions.
  • Event-driven updates and hooks for thread lifecycle, composer, and model context.
  • Seamless integration with references, assets, and optional scripts/components for extensibility.

Quick Start

Install the runtime and wrap your app with AssistantRuntimeProvider, then create a thread and send a message to begin generation.

Frequently Asked Questions about runtime

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage assistant-ui runtime state across multiple threads?

To manage assistant-ui runtime state across multiple threads, use a unified API that centralizes state access and mutation for threads, messages, and actions. This enables real-time updates and event-driven workflows for multi-thread conversations.

What is the best way to set up the assistant-ui runtime for the first time?

The best way to set up the assistant-ui runtime is to install it and wrap your application with AssistantRuntimeProvider. You then create a thread and send a message to begin generation, establishing centralized state access.

Does the assistant-ui runtime support event-driven updates for thread lifecycles?

Yes, the assistant-ui runtime supports event-driven updates and hooks for thread lifecycle, composer, and model context. This allows seamless integration with references, assets, and optional scripts for extensibility.

Can I inspect and mutate runtime state for messages in real-time?

Yes, you can inspect and mutate runtime state for messages in real-time. The API provides centralized state access and event-driven updates specifically designed for dynamic message and thread management.

How does the assistant-ui runtime handle extensibility through references and assets?

The assistant-ui runtime handles extensibility by supporting integration with references, assets, and optional scripts or components. This structure allows developers to extend state management and event-driven workflows seamlessly.