agentscope-spark-design  by agentscope-ai

UI component library for AI chat and LLM applications

Created 5 months ago
346 stars

Top 80.3% on SourcePulse

GitHubView on GitHub
Project Summary

AgentScope Spark Design provides a UI component library and LLM conversation components, primarily targeting developers building AI chat experiences and applications within the Alibaba Cloud ecosystem. It offers enhanced UI elements based on Ant Design and specialized components for seamless integration of large language model interactions, aiming to streamline the development of sophisticated AI-powered user interfaces.

How It Works

This project utilizes a monorepo structure, housing two core packages: @agentscope-ai/design and @agentscope-ai/chat. The design package extends Ant Design 5 with custom theming and additional UI components, styled using Tailwind CSS. The chat package provides ready-to-use components for building LLM conversation interfaces, including features like Markdown rendering, streaming responses, and voice input. This approach leverages established UI frameworks while adding specialized functionality for AI applications.

Quick Start & Requirements

Installation is recommended using pnpm:

pnpm install

Development servers can be started with pnpm run start:spark-design or pnpm run start:spark-chat. Online Documentation is available at: https://sparkdesign.agentscope.io/

Highlighted Details

  • @agentscope-ai/design: Features a custom theme system built on Ant Design 5, enhanced UI components (Button, Modal, Select), mobile component support, a custom icon system, and internationalization.
  • @agentscope-ai/chat: Offers a ready-to-use LLM conversation experience, Markdown rendering with math/code support, an extensible card system, Mermaid diagram rendering, streaming response capabilities, and voice input.
  • Tech Stack includes Dumi for documentation, pnpm as the package manager, Ant Design 5, Tailwind CSS, and code quality tools like ESLint, Stylelint, Prettier, and Husky.

Maintenance & Community

The project is associated with Alibaba Cloud's Apsara Lab and Feitian Lab. Links to a GitHub Repository and Issue Tracker are implied but not directly provided in the README. No specific community channels like Discord or Slack are mentioned.

Licensing & Compatibility

The @agentscope-ai/design package is licensed under the MIT License, while the @agentscope-ai/chat package uses the Apache-2.0 License. Both licenses are permissive and generally compatible with commercial use and closed-source projects.

Limitations & Caveats

The README does not explicitly detail limitations or known issues. The project's focus appears strongly tied to the Alibaba Cloud ecosystem, which may influence its broader applicability or integration outside of that environment. As a monorepo, users requiring only a subset of the components might find the overall structure more complex than necessary.

Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
12
Issues (30d)
3
Star History
120 stars in the last 30 days

Explore Similar Projects

Starred by Sebastian Raschka Sebastian Raschka(Author of "Build a Large Language Model (From Scratch)"), Pawel Garbacki Pawel Garbacki(Cofounder of Fireworks AI), and
16 more.

chainlit by Chainlit

0.4%
12k
Framework for rapid conversational AI app development
Created 3 years ago
Updated 11 hours ago
Feedback? Help us improve.