Skip to content

RomanAlexanderW/crayon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

347 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.8%
  • SCSS 9.8%
  • Python 1.5%
  • Other 0.9%