Introduction
Hashbrown is an open source framework for building generative user interfaces in React.
Key Concepts
- Headless: build your UI how you want
- Hook Based: Hashbrown uses React hooks for reactivity
- Platform Agnostic: use any supported LLM provider
- Streaming: LLMs can be slow, so streaming is baked into the core
- Components: generative UI using your trusted and tested React components
- Runtime: safely execute LLM-generated JavaScript code in the client
Start Building
-
Getting started and text generation
Install Hashbrown and render text responses from instructions and prompts.
-
System Instructions
Learn the structure, how to set the role and tone, rules, and providing examples.
-
Generate user interfaces
Expose React components to the LLM for generative UI.
-
Get structured data from models
Use Skillet schema to describe model responses.