molykit

Build cross-platform AI chat UIs in Makepad with Molykit.

1|1|Updated Apr 10, 2025
One-click install
npx skills add https://github.com/SageV1/makepad-skills --skill molykit-sagev1
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: molykit
Source: https://github.com/SageV1/makepad-skills/tree/main/skills/molykit
Command: npx skills add https://github.com/SageV1/makepad-skills --skill molykit-sagev1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Molykit provides a cohesive toolkit to build cross-platform AI chat UIs for Makepad, consolidating widgets, bot integration, and streaming UI patterns into a single framework.

Core Features & Use Cases

  • Cross-platform async utilities (PlatformSend, spawn, ThreadToken) to run AI chat flows on native and WASM.
  • Ready-to-use chat widgets (Chat, Messages, PromptInput, Avatar) for rapid UI assembly.
  • BotClient trait for AI provider integration, with an OpenAI-compatible SSE streaming client.
  • Protocol types for messages, bots, tool calls, and MCP support for model context.
  • Use cases include building AI chat interfaces, multi-bot dashboards, and cross-platform Makepad experiences.

Quick Start

Initialize Molykit in your Makepad project and bootstrap a cross-platform AI chat UI.

Frequently Asked Questions about molykit

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

FAQPage Schema
How do I build a cross-platform AI chat UI in Makepad?▼

You can build a cross-platform AI chat UI in Makepad using Molykit, which provides ready-to-use chat widgets like Chat, Messages, PromptInput, and Avatar for rapid native and WASM assembly.

How does SSE streaming work for AI providers in Makepad?▼

SSE streaming for AI providers in Makepad works through Molykit's BotClient trait, which includes an OpenAI-compatible streaming client to handle real-time message delivery across native and WASM environments.

Can I run async AI chat flows on both native and WASM platforms?▼

Yes, you can run async AI chat flows on native and WASM platforms using Molykit's cross-platform utilities like PlatformSend, spawn, and ThreadToken to manage concurrent operations.

What is the best way to integrate multiple AI bots into a Makepad application?▼

The best way to integrate multiple AI bots in Makepad is using Molykit's BotClient trait alongside protocol types for messages, bots, and tool calls to construct multi-bot dashboards.

Does Molykit support tool calls and model context protocol for AI chat?▼

Yes, Molykit supports tool calls and model context protocol (MCP) by providing built-in protocol types for messages, bots, and tool-call infrastructure within its framework.