AI Chatbot is a chat web app built with vite+react+nextjs to work with the AI Command Line Tool hub service.
- AI Chatbot
- This app is implemented with Node.js/React but statically built. It can be deployed on any web/file server/CDN.
- Communication with LLMs is via a simple request/response pattern which is supported by almost any wire protocols: Websocket, REST api, gRPC, ...
- Currently, Websocket implementation is provided. AI Command Line Tool written in Golang serves as the backend.
- Various user interfaces/wrappers are provided, more on the way...
This is equivalent to running AI CLI in a native system terminal - a full shell with AI agent.
-
Install Node.js
-
Change to the component's subfolders and run:
# pnpm install
just install
# pnpm build
just build
# go run server/main.go
just startJust is for convenience/consistency only. You can run the underlying commands directly.
Check out and build AI Command Line Tool
# ai --hub --hub-address ":58080" --hub-pg-address ":5432" --hub-mysql-address ":3306" --hub-redis-address ":6379" --agent ask --verbose
just hub-
Visit UI http://localhost:18083
-
Install extensions extensions
Chrome extension
> chrome://extensions/
> Load uppacked
> extension/chrome/side/panel
Datastore client for Sqlite, PostgreSQL, and MySQL.
These tools are compatible and could be used with official PostgresSQL/MySQL/Redis servers but are setup to access the embedded/in-memory backing stores for the AI Commandline Tool Hub services.








