thesysdev / crayon

Generative UI SDK

Home Page:https://crayonai.org/

Repository from Github https://github.comthesysdev/crayonRepository from Github https://github.comthesysdev/crayon

crayonai

Homepage · Documentation · Thesys

License: MIT Thesys: Visit Discord: Join Deploy Status Build Status

Crayon

Generative UI SDK for your AI agents.

Crayon is a UI framework for building agentic UI interfaces beyond just text. It is a set of extensible React components, lightweight state management and hooks to help you build your own UI that seamlessly integrates with any backend.

Quick Start

Install the Crayon package:

npm install @crayonai/react-core

Create a new Crayon component:

import { type ResponseTemplate, CrayonChat } from "@crayonai/react-core";

const templates: ResponseTemplate[] = [
  {
    name: "breakdown_expenses",
    component: BreakdownExpenses,
  },
]

export default function App() {
  return <CrayonChat templates={templates}/>;
}

Packages

  • react-core: Core framework and hooks for managing state and agents
  • react-ui: Modular UI components for use with Crayon

About

Generative UI SDK

https://crayonai.org/

License:MIT License


Languages

Language:TypeScript 85.7%Language:SCSS 11.4%Language:Python 1.8%Language:CSS 0.8%Language:JavaScript 0.2%Language:Makefile 0.1%