whatisgithub

What is dai?

ykesx/dai — explained in plain English

Analysis updated 2026-07-26

1TypeScriptAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A desktop app for chatting with local AI models, writing code with AI assistance, and running deep research tasks. Everything runs on your own machine for privacy.

Mindmap

mindmap
  root((repo))
    What it does
      Chat with local AI
      Agentic coding
      Deep research tasks
    Key features
      Streaming markdown chat
      File tree and previews
      Progress with cancel
    How it works
      Needs local server
      Desktop app
      Runs on your machine
    Use cases
      Private AI chat
      AI coding assistant
      Cited research reports
    Audience
      Developers
      Privacy-focused users
      AI experimenters

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Chat privately with local AI models using markdown and image attachments.

USE CASE 2

Run AI-assisted coding sessions that preview file changes before applying them.

USE CASE 3

Generate cited research reports with live progress tracking.

USE CASE 4

Manage multiple AI chats, coding projects, and scheduled prompts from one app.

What is it built with?

TypeScriptDesktop App

How does it compare?

ykesx/dai0xkinno/neuralvault0xmayurrr/ai-contractauditor
Stars111
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatehardeasy
Complexity3/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a separate local server project called suiban to be installed and running alongside the desktop app.

So what is it?

dai is a desktop application for chatting with local AI models, writing code with AI assistance, and running deep research tasks. The name comes from the Japanese word for the display stand used to present a bonsai tree. Everything runs on your own machine, connected to a separate local server project called suiban. The visual design is meant to feel calm and readable, with ink-on-paper styling, serif headings, and monospace labels for small details. The app has two main sections: Chat and Code. Chat handles streaming conversations with a local AI model, including markdown rendering, code copying, and image attachments for vision-capable models. You can adjust how much effort the model spends on a response, and an ultra toggle lets the orchestrator hand tasks off to sub-agents. Deep research runs inside the chat view, showing progress as a percentage with elapsed time and a cancel option, then displays the finished cited report as markdown. The model picker lets you choose between your local models and external providers like Ollama or OpenAI-compatible endpoints, though external models only support chat, not research or agent features. Code is built for session-based agentic coding. You give it a task and a workspace folder, then watch as it produces a plan, shows a file tree, previews file changes, and logs its activity. Destructive actions like shell commands or file edits pause for your approval first, showing exactly what will happen. A bypass toggle exists but is marked as dangerous and stays off by default. Follow-up messages continue in the same session without starting over. The sidebar organizes everything into chats, tasks, projects, scheduled prompts, and recents. The System page shows whether models are loaded and how much video memory each GPU is using, plus server notices. Settings covers connection details, runtime behavior, quantization options, external providers, connectors, skills management, chat imports, and messaging gateways like Telegram and WhatsApp. A first-run guide appears if required files are missing, showing exact install commands and download sizes. Keyboard shortcuts include a command palette and standard send and line-break controls. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Help me set up the dai desktop app and connect it to my local suiban server so I can start chatting with my AI models.
Prompt 2
I want to use dai's Code feature to refactor a project. How do I start a coding session, pick a workspace folder, and review the AI's planned file changes before approving them?
Prompt 3
Walk me through running a deep research task in dai, including how to track progress as a percentage and read the final cited markdown report.
Prompt 4
How do I configure dai to use an external Ollama endpoint for chat, and what are the limitations of external models versus local models?

Frequently asked questions

What is dai?

A desktop app for chatting with local AI models, writing code with AI assistance, and running deep research tasks. Everything runs on your own machine for privacy.

What language is dai written in?

Mainly TypeScript. The stack also includes TypeScript, Desktop App.

How hard is dai to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is dai for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.