Skip to content

Gorkhali is an AI assistant built with ai sdk, shadcn and ai elements enabling generative ui, web search, weather search, and lyrics search.

Notifications You must be signed in to change notification settings

twlite/gorkhali

Repository files navigation

Gorkhali

Gorkhali is an AI assistant that uses the ai sdk library to generate responses. It is built with Next.js and shadcn/ui + AI Elements. It also supports generative user interface for weather and lyrics.

Setup

Run your model locally with lmstudio. Make sure you have the following models installed:

  • openai/gpt-oss-20b
lms get openai/gpt-oss-20b
  • google/gemma-3-12b
lms get google/gemma-3-12b

Or you can install your own models and update the src/stores/model.ts and src/app/api/chat/route.ts files.

Environment Variables

Create a .env file by copying the example.env file.

cp example.env .env

and update the TAVILY_API_KEY with your own API key.

TAVILY_API_KEY=tvly-your_tavily_api_key

Run

pnpm run dev

Tools

Preview

Web search

The agent is able to search the web and provide the information to the user using the webSearchTool, which is a tool that allows the agent to search the web and provide the information to the user using tavily API.

Web search

Weather

The agent is able to provide the weather information to the user using the weatherTool, which is a tool that allows the agent to provide the weather information to the user using weather-js library.

Weather

Lyrics

The agent is able to provide the lyrics to the user using the lyricsTool, which is a tool that allows the agent to provide the lyrics to the user using lrclib library.

Lyrics

SoundCloud

The agent is able to search for tracks on SoundCloud and provide the information to the user using the soundcloudTool, which is a tool that allows the agent to search for tracks on SoundCloud and provide the information to the user using soundcloud.ts library.

SoundCloud

About

Gorkhali is an AI assistant built with ai sdk, shadcn and ai elements enabling generative ui, web search, weather search, and lyrics search.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published