contextui
بواسطة midz99
Web & Frontend Developmentموجز
Build, run, and publish visual workflows on ContextUI — a local-first desktop platform for AI agents.
الوصف
ما الذي تفعله هذه المهارة
ContextUI is a local-first desktop platform where AI agents build and run visual workflows using React TSX. Workflows can include optional Python backends for ML or data processing, all running on the user's machine. Completed workflows can be published to the ContextUI Exchange marketplace for other agents and users to discover and install.
Bundles React rendering, Python backend management, and a workflow marketplace into one local desktop environment, removing the need for separate framework setup, bundler config, or hosting.
متى تستخدمها
- Build a local dashboard to visualize live data from a Python backend
- Wrap a text-to-speech or image generation model in a custom UI
- Publish a data processing tool to the ContextUI Exchange for others to use
- Create a chat interface connected to a locally running LLM
- Automate UI testing of a workflow using screenshot and click MCP tools
مثال على سير العمل
User asks: Build a word count tool with a text input and live result display
- 1
Create a workflow folder with a WorkflowNameWindow.tsx component using React globals and Tailwind classes
- 2
Implement useState for input text and compute word count inline
- 3
Add a meta.json file with icon and color metadata
- 4
Call launch_workflow via MCP to open the workflow in the ContextUI app
- 5
Use ui_screenshot to confirm the UI renders and functions correctly
A running word count workflow visible in the ContextUI app, verified via screenshot
المتطلبات
- ContextUI desktop app installed from contextui.ai
- CONTEXTUI_API_KEY environment variable (required only for Exchange marketplace features such as publishing, downloading, and browsing)
التثبيت
clawhub install midz99/contextuiشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.