AI Superpowers for your apps. Install:
npm i lusat
Lusat is Rysana's open source tookit for building powerful, secure, and intuitive AI-augmented natural language applications for the web. This is the TypeScript/JavaScript version of the Lusat toolkit.
You can install Lusat with npm
, pnpm
, or yarn
:
npm i lusat
pnpm i lusat
yarn add lusat
If you want to use the Rysana AI platform, you will need to create an account and create a project. You will need the your API key to use the Rysana AI platform.
# .env
RYSANA_API_KEY=your-api-key
For details on how to build with Lusat, see the Lusat documentation.
Currently, Lusat for TS/JS is bundled into a single lusat
package on NPM.
You can import core functionality without including platform-specific code from lusat
:
import { action, app } from 'lusat'
You can import platform-specific code from independently bundled files, e.g. for React:
import { useHotkey } from 'lusat/ui/react'
or for third-party adapters:
import { gptFunctions } from 'lusat/adapters/openai'