molykit

Community

Build cross-platform AI chat UIs with Makepad.

AuthorRoooyHe
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Molykit provides a reusable toolkit for building AI chat interfaces with Makepad, removing boilerplate and enabling cross-platform async UI flows for native and WASM.

Core Features & Use Cases

  • Cross-platform async utilities (PlatformSend, spawn, ThreadToken) to run AI chat tasks both natively and in WASM.
  • Ready-to-use chat widgets (Chat, Messages, PromptInput, Avatar) to compose AI chat UIs quickly.
  • BotClient trait for integrating AI providers and a sharable BotContext for sync UI access.
  • OpenAI-compatible client with SSE streaming support for streaming AI responses.
  • Protocol types for messages, bots, tool calls, and MCP integration for extensible context.
  • Use cases include building chat interfaces, integrating OpenAI, handling streaming responses, and multi-provider setups.

Quick Start

Install Molykit in your Makepad project and instantiate a BotContext with a concrete BotClient (for example, OpenAIClient). Then wire the Molykit widgets into your UI and start the event loop to stream responses.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: molykit
Download link: https://github.com/RoooyHe/betula/archive/main.zip#molykit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.