Kun is a local-first AI agent workspace with GUI and TUI, written in TypeScript. It shares a single runtime for desktop and terminal, supports multi-model workflows, and has active releases. Versioned updates target i18n, graph guidance, and runtime enhancements.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
Kun is a local-first AI agent workspace that combines coding, writing, design, research, and automation in one platform. It provides a shared runtime for both GUI desktop and terminal TUI, enabling end-to-end task workflows from clarification to delivery.
How it works
Kun offers a unified runtime that connects desktop GUI and TUI interfaces. It supports modes such as Direct for simple tasks and Agent Graph for complex, cross-file workflows with task graphs, supervision, and acceptance criteria. It includes features for plans, todos, memory, sub-agents, and tool integration, managed under a common provider framework for models and providers.
Getting started
Install and run requires cloning the repo and installing dependencies:
git clone https://github.com/KunAgent/Kun.git
cd Kun
npm ci
npm run dev
For starting the TUI separately:
npm run dev:tui
If network is slow in China:
npm ci --registry=https://registry.npmmirror.com
Common development commands include: npm run dev, npm run dev:tui, npm run typecheck, npm run lint, npm run test, npm run build, npm run dist:mac, npm run dist:win, npm run dist:linux.
Recent releases
Latest listed release: v0.2.35 Kun 0.2.35 (2026-08-04) introducing i18n translations for model routes and enhanced graph settings fallbacks. Earlier: v0.2.34 Kun 0.2.34 (2026-08-02) with Graph guidance in FloatingComposer, and v0.2.33 Kun 0.2.33 (2026-07-31) with settings improvements. v0.2.32 notes describe supervised Agent Graph scheduling and shared runtime across GUI/TUI, task graphs, quotas, retries, and migrations.
Traction
5661 stars; 549 forks; 25 open issues; last push 2026-08-04. Language: TypeScript. License: none listed. Created: 2026-05-21.
Behind the repo
Kun is developed by KunAgent and targets open-source-like provider integration with multi-model support and local-first data retention.
Caveats
License listed as none; open issues 25; project created 2026-05-21. Documentation references and Chinese-LN translations exist; full licensing details point to PolyForm Noncommercial 1.0.0 in the README. The repo emphasizes local data storage with cloud-provider prompts when using cloud models.






