KunAgent/KunPublic

Local-first AI agent workspace for coding, writing, design, research, and automation — one runtime for desktop GUI and TUI.

AI summary: An AI agent workspace integrating requirement clarification, design, coding, and writing into a single GUI.

Stars
6.3K
+-1 today
Forks
595
Watchers
128
Open issues
5
Open PRs
5
Contributors
~37
Commits
3.1K
Branches
87

TypeScriptOtherCreated May 21, 2026Last push todayLatest release v0.3.12+-1 stars this week+47 this month

Quick answers

What is Kun?
An AI agent workspace integrating requirement clarification, design, coding, and writing into a single GUI.
What does Kun do?
This project, known as Kun, offers a next-generation coding paradigm by tightly integrating AI capabilities directly into the development workflow via a unified GUI. Built with TypeScript and Electron, it combines the power of DeepSeek, Xiaomi MiMo, and MiniMax models to handle tasks ranging from initial requirement clarification and architectural design, to actual code generation and documentation writing. It aims to provide a complete, closed-loop AI environment that handles the entire software lifecycle within a single desktop application. The system emphasizes a demand-driven workflow, utilizing AI to interactively refine requirements and plans before executing code changes. It also features a visual node-based workflow builder and extensive Model Context Protocol (MCP) support for tool integration.
Who is Kun for?
Software developers, product managers, and designers looking for an integrated, AI-first tool to manage the entire software creation lifecycle, particularly those favoring DeepSeek models. It is ideal for teams wanting to bridge the gap between requirements engineering and code generation.
How do I get started with Kun?
git clone https://github.com/KunAgent/Kun.git
How popular is Kun on GitHub?
KunAgent/Kun has 6,321 stars and 595 forks on GitHub, and gained -1 stars in the last 7 days.
What license does Kun use?
KunAgent/Kun is released under the Other license.

Star history

since Jul 28, 2026
02K4K6KJul 2026Aug 2026Sep 2026Oct 2026
6.3K stars as of Oct 3, 2026. Measured daily since Jul 28, 2026; GitHub no longer exposes earlier star timestamps.

Update history

1 recorded
  • Oct 4, 2026Previously tracked as XingYu-Zhong/DeepSeek-GUI; its 1 daily snapshot and 2 trending appearances were merged into this profile. Stars: 5,499 on 2026-07-28 under the old name, 6,321 on 2026-10-03 (+822).

Contribution activity

commits per day, last 52 weeks
OctNovDecJanFebMarAprMayJunJulAugSepMonWedFri2025-10-05: 0 commits2025-10-06: 0 commits2025-10-07: 0 commits2025-10-08: 0 commits2025-10-09: 0 commits2025-10-10: 0 commits2025-10-11: 0 commits2025-10-12: 0 commits2025-10-13: 0 commits2025-10-14: 0 commits2025-10-15: 0 commits2025-10-16: 0 commits2025-10-17: 0 commits2025-10-18: 0 commits2025-10-19: 0 commits2025-10-20: 0 commits2025-10-21: 0 commits2025-10-22: 0 commits2025-10-23: 0 commits2025-10-24: 0 commits2025-10-25: 0 commits2025-10-26: 0 commits2025-10-27: 0 commits2025-10-28: 0 commits2025-10-29: 0 commits2025-10-30: 0 commits2025-10-31: 0 commits2025-11-01: 0 commits2025-11-02: 0 commits2025-11-03: 0 commits2025-11-04: 0 commits2025-11-05: 0 commits2025-11-06: 0 commits2025-11-07: 0 commits2025-11-08: 0 commits2025-11-09: 0 commits2025-11-10: 0 commits2025-11-11: 0 commits2025-11-12: 0 commits2025-11-13: 0 commits2025-11-14: 0 commits2025-11-15: 0 commits2025-11-16: 0 commits2025-11-17: 0 commits2025-11-18: 0 commits2025-11-19: 0 commits2025-11-20: 0 commits2025-11-21: 0 commits2025-11-22: 0 commits2025-11-23: 0 commits2025-11-24: 0 commits2025-11-25: 0 commits2025-11-26: 0 commits2025-11-27: 0 commits2025-11-28: 0 commits2025-11-29: 0 commits2025-11-30: 0 commits2025-12-01: 0 commits2025-12-02: 0 commits2025-12-03: 0 commits2025-12-04: 0 commits2025-12-05: 0 commits2025-12-06: 0 commits2025-12-07: 0 commits2025-12-08: 0 commits2025-12-09: 0 commits2025-12-10: 0 commits2025-12-11: 0 commits2025-12-12: 0 commits2025-12-13: 0 commits2025-12-14: 0 commits2025-12-15: 0 commits2025-12-16: 0 commits2025-12-17: 0 commits2025-12-18: 0 commits2025-12-19: 0 commits2025-12-20: 0 commits2025-12-21: 0 commits2025-12-22: 0 commits2025-12-23: 0 commits2025-12-24: 0 commits2025-12-25: 0 commits2025-12-26: 0 commits2025-12-27: 0 commits2025-12-28: 0 commits2025-12-29: 0 commits2025-12-30: 0 commits2025-12-31: 0 commits2026-01-01: 0 commits2026-01-02: 0 commits2026-01-03: 0 commits2026-01-04: 0 commits2026-01-05: 0 commits2026-01-06: 0 commits2026-01-07: 0 commits2026-01-08: 0 commits2026-01-09: 0 commits2026-01-10: 0 commits2026-01-11: 0 commits2026-01-12: 0 commits2026-01-13: 0 commits2026-01-14: 0 commits2026-01-15: 0 commits2026-01-16: 0 commits2026-01-17: 0 commits2026-01-18: 0 commits2026-01-19: 0 commits2026-01-20: 0 commits2026-01-21: 0 commits2026-01-22: 0 commits2026-01-23: 0 commits2026-01-24: 0 commits2026-01-25: 0 commits2026-01-26: 0 commits2026-01-27: 0 commits2026-01-28: 0 commits2026-01-29: 0 commits2026-01-30: 0 commits2026-01-31: 0 commits2026-02-01: 0 commits2026-02-02: 0 commits2026-02-03: 0 commits2026-02-04: 0 commits2026-02-05: 0 commits2026-02-06: 0 commits2026-02-07: 0 commits2026-02-08: 0 commits2026-02-09: 0 commits2026-02-10: 0 commits2026-02-11: 0 commits2026-02-12: 0 commits2026-02-13: 0 commits2026-02-14: 0 commits2026-02-15: 0 commits2026-02-16: 0 commits2026-02-17: 0 commits2026-02-18: 0 commits2026-02-19: 0 commits2026-02-20: 0 commits2026-02-21: 0 commits2026-02-22: 0 commits2026-02-23: 0 commits2026-02-24: 0 commits2026-02-25: 0 commits2026-02-26: 0 commits2026-02-27: 0 commits2026-02-28: 0 commits2026-03-01: 0 commits2026-03-02: 0 commits2026-03-03: 0 commits2026-03-04: 0 commits2026-03-05: 0 commits2026-03-06: 0 commits2026-03-07: 0 commits2026-03-08: 0 commits2026-03-09: 0 commits2026-03-10: 0 commits2026-03-11: 0 commits2026-03-12: 0 commits2026-03-13: 0 commits2026-03-14: 0 commits2026-03-15: 0 commits2026-03-16: 0 commits2026-03-17: 0 commits2026-03-18: 0 commits2026-03-19: 0 commits2026-03-20: 0 commits2026-03-21: 0 commits2026-03-22: 0 commits2026-03-23: 0 commits2026-03-24: 0 commits2026-03-25: 0 commits2026-03-26: 0 commits2026-03-27: 0 commits2026-03-28: 0 commits2026-03-29: 0 commits2026-03-30: 0 commits2026-03-31: 0 commits2026-04-01: 0 commits2026-04-02: 0 commits2026-04-03: 0 commits2026-04-04: 0 commits2026-04-05: 0 commits2026-04-06: 0 commits2026-04-07: 0 commits2026-04-08: 0 commits2026-04-09: 0 commits2026-04-10: 0 commits2026-04-11: 0 commits2026-04-12: 0 commits2026-04-13: 0 commits2026-04-14: 0 commits2026-04-15: 0 commits2026-04-16: 0 commits2026-04-17: 0 commits2026-04-18: 0 commits2026-04-19: 0 commits2026-04-20: 0 commits2026-04-21: 0 commits2026-04-22: 0 commits2026-04-23: 0 commits2026-04-24: 0 commits2026-04-25: 0 commits2026-04-26: 0 commits2026-04-27: 0 commits2026-04-28: 0 commits2026-04-29: 0 commits2026-04-30: 0 commits2026-05-01: 0 commits2026-05-02: 0 commits2026-05-03: 0 commits2026-05-04: 0 commits2026-05-05: 0 commits2026-05-06: 0 commits2026-05-07: 0 commits2026-05-08: 0 commits2026-05-09: 0 commits2026-05-10: 0 commits2026-05-11: 0 commits2026-05-12: 0 commits2026-05-13: 0 commits2026-05-14: 0 commits2026-05-15: 0 commits2026-05-16: 0 commits2026-05-17: 0 commits2026-05-18: 0 commits2026-05-19: 0 commits2026-05-20: 0 commits2026-05-21: 2 commits2026-05-22: 9 commits2026-05-23: 0 commits2026-05-24: 1 commit2026-05-25: 7 commits2026-05-26: 9 commits2026-05-27: 2 commits2026-05-28: 2 commits2026-05-29: 0 commits2026-05-30: 0 commits2026-05-31: 0 commits2026-06-01: 0 commits2026-06-02: 0 commits2026-06-03: 0 commits2026-06-04: 0 commits2026-06-05: 8 commits2026-06-06: 6 commits2026-06-07: 18 commits2026-06-08: 37 commits2026-06-09: 20 commits2026-06-10: 31 commits2026-06-11: 3 commits2026-06-12: 0 commits2026-06-13: 33 commits2026-06-14: 24 commits2026-06-15: 4 commits2026-06-16: 13 commits2026-06-17: 19 commits2026-06-18: 55 commits2026-06-19: 49 commits2026-06-20: 35 commits2026-06-21: 25 commits2026-06-22: 12 commits2026-06-23: 18 commits2026-06-24: 21 commits2026-06-25: 11 commits2026-06-26: 51 commits2026-06-27: 14 commits2026-06-28: 22 commits2026-06-29: 8 commits2026-06-30: 3 commits2026-07-01: 28 commits2026-07-02: 9 commits2026-07-03: 104 commits2026-07-04: 44 commits2026-07-05: 0 commits2026-07-06: 0 commits2026-07-07: 12 commits2026-07-08: 3 commits2026-07-09: 21 commits2026-07-10: 6 commits2026-07-11: 233 commits2026-07-12: 37 commits2026-07-13: 3 commits2026-07-14: 8 commits2026-07-15: 20 commits2026-07-16: 16 commits2026-07-17: 30 commits2026-07-18: 13 commits2026-07-19: 27 commits2026-07-20: 1 commit2026-07-21: 13 commits2026-07-22: 14 commits2026-07-23: 12 commits2026-07-24: 7 commits2026-07-25: 29 commits2026-07-26: 21 commits2026-07-27: 8 commits2026-07-28: 0 commits2026-07-29: 48 commits2026-07-30: 13 commits2026-07-31: 18 commits2026-08-01: 22 commits2026-08-02: 30 commits2026-08-03: 4 commits2026-08-04: 5 commits2026-08-05: 7 commits2026-08-06: 52 commits2026-08-07: 27 commits2026-08-08: 19 commits2026-08-09: 15 commits2026-08-10: 19 commits2026-08-11: 13 commits2026-08-12: 13 commits2026-08-13: 36 commits2026-08-14: 19 commits2026-08-15: 15 commits2026-08-16: 17 commits2026-08-17: 8 commits2026-08-18: 14 commits2026-08-19: 29 commits2026-08-20: 24 commits2026-08-21: 4 commits2026-08-22: 27 commits2026-08-23: 14 commits2026-08-24: 23 commits2026-08-25: 16 commits2026-08-26: 37 commits2026-08-27: 37 commits2026-08-28: 25 commits2026-08-29: 4 commits2026-08-30: 25 commits2026-08-31: 51 commits2026-09-01: 18 commits2026-09-02: 16 commits2026-09-03: 36 commits2026-09-04: 54 commits2026-09-05: 24 commits2026-09-06: 18 commits2026-09-07: 10 commits2026-09-08: 12 commits2026-09-09: 51 commits2026-09-10: 18 commits2026-09-11: 20 commits2026-09-12: 6 commits2026-09-13: 22 commits2026-09-14: 13 commits2026-09-15: 24 commits2026-09-16: 40 commits2026-09-17: 21 commits2026-09-18: 7 commits2026-09-19: 20 commits2026-09-20: 27 commits2026-09-21: 17 commits2026-09-22: 9 commits2026-09-23: 10 commits2026-09-24: 27 commits2026-09-25: 51 commits2026-09-26: 22 commits2026-09-27: 11 commits2026-09-28: 2 commits2026-09-29: 0 commits2026-09-30: 0 commits2026-10-01: 0 commits2026-10-02: 0 commits2026-10-03: 0 commits
2,627 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Very active

    2,627 commits in 52 weeks

  • Well documented

    High community health score

What Kun does

This project, known as Kun, offers a next-generation coding paradigm by tightly integrating AI capabilities directly into the development workflow via a unified GUI. Built with TypeScript and Electron, it combines the power of DeepSeek, Xiaomi MiMo, and MiniMax models to handle tasks ranging from initial requirement clarification and architectural design, to actual code generation and documentation writing. It aims to provide a complete, closed-loop AI environment that handles the entire software lifecycle within a single desktop application. The system emphasizes a demand-driven workflow, utilizing AI to interactively refine requirements and plans before executing code changes. It also features a visual node-based workflow builder and extensive Model Context Protocol (MCP) support for tool integration.

Software developers, product managers, and designers looking for an integrated, AI-first tool to manage the entire software creation lifecycle, particularly those favoring DeepSeek models. It is ideal for teams wanting to bridge the gap between requirements engineering and code generation.

  • Full Lifecycle Integration: Supports requirement clarification, design, coding, and documentation seamlessly within a unified interface.
  • Multi-Model Support: Leverages DeepSeek for reasoning, Xiaomi MiMo for multimodal tasks, and MiniMax for comprehensive media generation.
  • Demand-Driven Workflow: Focuses heavily on getting requirements right interactively, generating UI designs and plans before generating code.
  • Visual Workflow Builder: Provides a node-based orchestration canvas to design, run, and reuse multi-step Agent processes.
  • Desktop GUI Experience: Provides a rich, user-friendly Electron interface for managing complex AI interactions and file system changes.
  • Extensible Architecture: Supports installing `.kunx` extensions to add new UIs, tools, custom models, and background services.

Where teams use it

End-to-End Development

Use a single tool to go from a rough idea to fully designed and coded software.

Interactive Requirements Engineering

Utilize AI to interactively clarify ambiguous requirements before starting any implementation.

Automated Technical Documentation

Generate comprehensive design docs, readmes, and PowerPoint presentations automatically alongside the code generation process.

Rapid Prototyping

Quickly iterate on software designs and see immediate code generation results within the GUI.

Custom Agent Workflows

Build reusable, node-based automation loops to handle repetitive organizational tasks directly on the desktop.

Getting started: git clone https://github.com/KunAgent/Kun.git

README

master branch

Kun 蓝色 K 标识

Kun — 本地优先的 AI Agent 工作台

让 AI 在真实项目中规划、执行、验证并交付。
桌面 GUI 与终端 TUI 共用同一个本地运行时,任务、审批、计划和证据始终连续。

下载桌面版  ·  阅读文档  ·  GitHub  ·  English

Kun 最新 GitHub Release Kun 使用 PolyForm Noncommercial 1.0.0 许可证 支持 macOS、Windows 和 Linux 桌面 GUI 与终端 TUI 共用一个 Kun 运行时

Kun GUI 与 TUI 海报:虚构演示数据中的吉祥物、桌面 Code 界面与终端 TUI

Kun 是什么

Kun 是把 AI 从“回答问题”推进到“完成工作”的本地优先工作台。它以互补的界面组织真实工作:Code 面向软件交付,并在同一任务中提供 Design 画布;Work 面向写作、资料整理、文档分析和演示产出;Rooms 把多个 Agent 放进同一个协作空间,用私聊和群聊完成讨论、分工、执行与评审。Agent 可以读取工作区上下文、制定计划、调用工具、修改文件、运行验证,并把证据留在任务旁。

桌面 GUI 适合观察、审阅和控制过程;终端 TUI 适合专注于键盘工作。两者通过同一个本地 kun serve 运行时共享线程、目标、计划、审批和后台任务,而不是两套彼此割裂的会话。

一眼了解

你需要 Kun 提供
构建、调试与发布软件 Code 模式提供项目上下文、文件编辑、终端、Git / Worktree、Diff、测试和审查。
从需求走到可实现的设计 在同一 Code 任务中切换 Design 画布,沉淀原型、设计系统和 Design → Code 上下文。
写作、整理与处理日常任务 Work 模式可编辑 Markdown,预览、引用和分析 PDF / Office 文档,分析电子表格,并从大纲创建演示文稿;Office 文件保持只读。
让多个 Agent 协作推进需求 Rooms 提供私聊与群聊、可配置成员团队与协作模式、@ 提及与提案卡片;执行任务在独立 Git worktree 中验证、评审并交付。
自动化重复流程 Scheduled tasks、Loops、Hooks、MCP、Skills 与可安装扩展。
选择模型和接入方式 订阅、计划、API、OpenAI / Anthropic 兼容服务与自托管模型均可通过 Provider 配置接入。

当前界面

以下截图均通过浏览器自动化在一次性隔离的应用配置和演示工作区中重新采集。截图内没有真实项目、账户信息、个人设置或会话记录。

Code:构建、调试与发布

Code 模式把项目、分支、Code / Design 任务入口和任务输入区放在同一工作台中。它适合阅读和修改代码、运行终端与测试、检查 Diff,以及在需要时进入 Design 画布继续完成方案。

Code 模式概览:演示项目、Code 和 Design 任务入口、分支与任务输入区

Work:写作、整理与日常任务

Work 模式用工作区文件树、任务启动器和 Work assistant 组织文档工作。可以起草 Markdown、总结或询问文档、分析电子表格、创建演示文稿,也可以用白板梳理想法。

Work 模式概览:演示文件树、文档任务启动器和 Work assistant

从目标到验收

澄清目标 → 形成计划 → 执行与协作 → 检查证据 → 交付或继续
  1. 给出目标和约束。 Agent 结合项目内容补足范围、风险和验收标准。
  2. 按计划逐步执行。 根据任务范围推进文件修改、工具调用和验证;需求变化时及时调整计划。
  3. 在可见的上下文中执行。 计划、Todo、工具调用、文件改动、浏览器/终端结果和审批都关联到任务。
  4. 以证据完成交付。 回看 Diff、测试、审查和产物;需求变化后可以继续、分叉、归档或重新规划。

需求和计划默认可以保存在项目中,因此能进入版本控制、代码审查和后续恢复流程。

Rooms:多 Agent 协作空间

Rooms 与 Code、Work 并列:创建一个房间,为成员选择 Agent 档案、模型和授权的本地仓库,然后用 IM 式的私聊或群聊推进工作。

  • 多种协作方式。 默认同行讨论由成员自行判断是否发言;协调者模式由 Coordinator 分配任务;定向协作直接点名成员或默认响应者。
  • 人保留最终决策。 Agent 可以起草提案卡片——固定约定、请求执行、添加成员——但只有你能采纳或忽略。
  • 执行隔离且有证据。 每个执行任务在独立 Git worktree 中运行,交付固定为不可变版本再交 Reviewer 评审;声明的验证检查、Diff、日志与集成面板都留在房间内。
  • 约定显式可控。 只有你明确固定的内容才成为项目约定;约定按版本冻结进任务快照,历史可回看,可随时停用或恢复。

本地优先,不等于永不联网

会话、偏好、日志和运行时数据默认保存在本机。选择云端模型后,提示、附件和任务上下文会发送给所选 Provider;使用前请确认该服务的数据政策。工具权限、敏感操作和扩展权限会在界面中明确呈现,仍由你决定是否授权。

Kun 不绑定单一模型。预设覆盖 ChatGPT / Codex、Claude、Gemini、Cursor、Ollama、DeepSeek、Kimi、GLM、Qwen、MiniMax 和 Xiaomi MiMo 等生态;登录方式、模型、地区与额度取决于当前版本和 Provider 规则。请查看 模型 Provider 文档 了解配置方式。

5 分钟开始

从 GitHub Releases 下载当前版本:

平台 安装包 架构
macOS .dmg / .zip Apple Silicon / Intel
Windows .exe x64
Linux .AppImage / .deb x64

启动后:

  1. 选择语言并配置一个模型订阅、计划、API 或自定义 Provider。
  2. 打开本地项目或创建工作区。
  3. 发送一个目标明确、范围有限、可以验证的任务。

桌面版和 TUI 可同时连接同一个运行时。在项目目录中运行:

kun

从 0.3.8 起不再单独分发 TUI 压缩包;请使用桌面应用内置的终端命令,更多配置见 Kun TUI 文档。

从源码运行

要求:Node.js 22.19+、npm,以及至少一个可用的模型连接。

git clone https://github.com/KunAgent/Kun.git
cd Kun
npm ci
npm run dev
命令 用途
npm run dev 构建运行时并启动 Electron 开发环境
npm run dev:tui 构建运行时并启动终端 TUI
npm run typecheck TypeScript 类型检查
npm run lint 运行 ESLint 与文件大小检查
npm run test 运行测试
npm run build 生产构建
npm run dist:mac / dist:win / dist:linux 构建对应平台安装包

中国大陆网络访问较慢时可使用 npm 镜像:

npm ci --registry=https://registry.npmmirror.com

文档与贡献

主题 文档
TUI、命令和运行时 docs/kun-tui.md / kun/README.zh-CN.md
Design 工作流 docs/DESIGN_MODE.md
Rooms 多 Agent 协作 docs/rooms.md
Loops、MCP 与 Skills docs/workflow-loop.md / docs/project-mcp-skills.md
Extension 平台 docs/extensions/README.md
本地开发 docs/DEVELOPMENT.zh-CN.md

欢迎贡献 bug 修复、UI/UX、运行时、Provider、扩展和文档。日常集成分支为 develop,PR 请以 develop 为目标分支;开始前阅读 贡献指南,外部贡献需要接受 CLA。

许可证

Kun 使用 PolyForm Noncommercial License 1.0.0,仅供学习、研究和非商业用途。商业使用、商业分发、SaaS / 托管服务、转售或集成到商业产品中,需要获得作者的单独书面授权。

致谢

感谢所有提交 issue、建议、代码和文档的贡献者。

Kun 的记忆架构研究参考了 Nowledge Mem 公开文档中的 Thread / Memory 分离、来源追踪与混合检索理念;Kun 的实现保持独立,并遵循自身的单运行时和本地优先架构。

Kun contributors
View on GitHub

Recent activity

commits and pull requests

Releases and announcements

101 total
  1. Kun 0.3.12v0.3.12Sep 27, 2026320 downloads

    # Kun 0.3.12 0.3.12 在实验室中加入模型主动上下文压缩,并修复 Windows 从旧版升级后无法启动的问题。 ## ✨ 新功能 - **模型主动上下文压缩**:实验室新增「上下文压缩」。开启「模型主动上下文压缩」后,上下文预算到达 25%、50%、75% 时会提示模型处理,并提供 `compact_context`,沿用现有摘要压缩。再开启「窗口式上下文」后改为 `new_context`,不再写摘要。窗口式开关依赖总开关;关闭总开关时窗口式上下文一并关闭。设置从下一轮生效。无法执行所需工具的模型路由会在接纳时直接报错。 ## 🐛 修复与改进 - **Windows 升级启动**:从 0.3.11 之前的版本升级时,已安装扩展的路径仍保留原来的大小写(如 `C:\Users\...`),而新版本会把数据目录收成小写。启动校验把这两条路径当成不同目录,Kun 在恢复阶段退出,Retry 也会重复失败。现在只接受同一安装目录的大小写差异,并改写成当前数据目录;指向其他目录的记录仍然拒绝。macOS 与 Linux 不受影响。没有安装过扩展的 Windows 用户原本就可以启动。 ## 更新方式 通过应用内更新入口下载更新,完成后重启 Kun 安装。此更新沿用桌面应用的稳定更新通道,Kun Runtime 和终端命令随桌面应用一同更新。 --- ## English Kun 0.3.12 adds model-initiated context compression in Laboratory settings and fixes startup after upgrading on Windows. - **Model-initiated context compression**: Laboratory gains a Context compression section. With model-initiated compression on, the model is prompted at 25%, 50%, and 75% of the context budget and can call `compact_context`, which uses Kun's existing summary compaction. Enabling windowed context as well switches that path to `new_context` and does not write a summary. Windowed context requires the parent switch and turns off with it. The change applies from the ne

  2. Kun 0.3.11v0.3.11Sep 27, 202675 downloads

    # Kun 0.3.11 0.3.11 引入 Rooms 多智能体协作空间、远程移动端访问和论文研究工作区;Write 模式重构为无损 Markdown 单视图编辑器,并改进模型连接、记忆、上下文导入与全链路性能。 ## ✨ 新功能 - **Rooms 多智能体协作**:新增持久化 Agent 协作空间,支持私聊与群组讨论、内置五人初始团队、持久 Agent 身份与作用域记忆;统一的紧凑侧边栏整合 Agent 与群聊,右侧 IM 气泡为标准布局,支持 @ 提及成员选择器、已送达/输入中回执、行内重命名与自定义群头像;只读 Run 检查面板可查看 Agent 会话时间线 (#1333)。 - **Excalidraw 白板**:Rooms 支持 Excalidraw 画板与 PNG 投递,Agent 可直接在打开的画布上绘图,并提供可选的 Excalidraw 引擎。 - **远程访问与移动端**:新增远程访问设置面板,支持二维码、密码可见性切换与 Tailscale 检测;手机尺寸视口下提供完整移动端布局——远程 App 外壳、Rooms/Work 界面、可搜索的分组模型选择器、触屏友好的侧边抽屉与会话隔离。 - **Write 单视图编辑器**:Write 模式重构为无损 Markdown 编解码器驱动的单视图界面,支持块级编辑(悬停意图块菜单、子菜单与图标)、块级差异审阅、数学编辑、Mermaid、代码高亮与链接,以及共享导出渲染管线;格式工具栏新增下划线与查找选项,文档属性支持 AI 辅助生成。 - **论文研究工作区**:Work 论文模式新增多源快速检索、会议与 arXiv 发现,以及独立会话式 Agent 检索;论文池汇总结果、推荐、批量导入与 BibTeX。文库支持元数据编辑、分组、空文件夹与指定文件夹导入,并在全库范围复用已有论文。PDF 阅读器加入翻译叠层与双语镜像、批注和区域标记、引用与阅读活动视图。外部检索源的限流或失败会在结果中呈现。 - **模型连接与故障切换**:供应商支持多账户切换组、配额感知路由、按失败原因冷却与智能/轮询/最少使用策略;可分别配置 Chat Completions、Responses 和 Messages 端点,检测协议并从常用客户端导入供应商配置;本地网关支持 Anthropic Messages 兼容接口。 - **Agent 上下文导入**:新增 `/import` 命令与导入引擎,支持 Cursor、Gemini、Copilot、Windsurf、Cline、Zed、OpenCode、Kiro、Roo Code、Kilo Code、Continue、Amp、Goose 等来源的规则导入,保留作用域条件与围栏代码块,并在覆盖手改导入块前警告 (#1316, #1319)。 - **记忆反馈进化**

  3. Kun 0.3.10v0.3.10Sep 10, 20261.2K downloads

    # Kun 0.3.10 0.3.10 引入本地语音朗读、记忆语义检索与词法弃权门槛,并系统性加固会话队列、更新器与子代理运行时。 ## ✨ 新功能 - **本地语音朗读(Speak)**:内置 Kokoro 本地语音合成,答案下方新增 Speak 按钮,逐段连续播放;模型与音色按摘要校验下载,推理在 worker 线程执行不阻塞界面;录音保留在本地并可下载。可在设置 -> 媒体生成中配置本地语音提供方,支持中英文界面 (#1301)。 - **记忆语义检索与词法弃权**:引入语义记忆检索与评估门槛,弱相关的词法命中不再注入上下文,避免误召回;保留中文(CJK)词法检索下限 (#1304, #1307, #1308)。 - **自定义请求头**:供应商支持自定义请求头,自动附加 OpenCode Go 会话头,并区分行操作按钮含义 (#1299)。 - **固定自动审查模型**:审批支持配置固定的自动审查模型。 - **长文本粘贴转附件**:粘贴的超长文本自动转为附件,避免撑爆输入框。 ## 🐛 修复与改进 - **会话队列可靠性**:排队消息的准入与投递可恢复,导向(steering)投递持久化并核对队列归属;支持安全撤回排队消息进行编辑,账号会话的排队消息同样可编辑;陈旧导向目标与本地排空加围栏,重排在运行时确认后生效。 - **桌面记忆蒸馏**:允许桌面端发起蒸馏请求,并将蒸馏用量与回合边界隔离。 - **更新器与安装器**:保持升级入口可见并使用已校验的下载源;公开构件下载中断自动重试;不可验证的 current-user 安装源按陈旧处理而非中止,共享路径的次级源不再影响主源校验 (#1289, #1290, #1292, #1293)。 - **运行时稳定性**:子代理的提供方与数据服务失败可恢复;子代理记录原子化持久化;启动时对不可用 Manager 分类并验证重试恢复。 - **用量与模型**:用量按实际使用的模型归因并区分子代理作用域;尊重配置的最大输出 token。 - **界面**:引导式用户输入以回合内气泡渲染;加载页替换为极简呼吸 Kun 标志;归档会话设置区支持归档线程列表。 - **依赖与安全**:更新存在漏洞的生产依赖,升级 electron-builder 至 26.16.1;打包仅随附目标平台所需的 ONNX Runtime 二进制,减小安装体积。 ## 更新方式 通过应用内更新入口下载更新,完成后重启 Kun 安装。此更新沿用桌面应用的稳定更新通道,Kun Runtime 和终端命令随桌面应用一同更新。 --- ## English Kun 0.3.10 adds local speech playback, semantic memory retrieval with lexical absten

  4. Kun 0.3.9v0.3.9Sep 6, 2026686 downloads

    # Kun 0.3.9 0.3.9 是针对 0.3.8 的维护更新,重点修复 Windows 小窗、供应商管理和会话用量展示。 ## 修复与改进 - **Windows 小窗可正常操作**:移除覆盖整个窗口的悬停拖拽遮罩,改为独立的顶部拖拽栏。输入、点击和滚动不再被遮挡,恢复窗口按钮始终可见。 - **小窗布局与恢复**:隐藏侧栏和右侧面板的占位,保留原有工作台布局;修复从最大化窗口切换时的尺寸竞态,并在显示器断开或可用区域缩小时将窗口限制在屏幕内。 - **供应商删除**:在详情顶部提供删除入口,支持删除预置供应商、确认影响、删除中防重复操作和失败反馈。删除后不再自动补回预置项或旧凭据,并支持重新添加供应商。 - **会话用量**:修复输入框底部一直显示“暂无用量”的问题,恢复历史用量、实时 token 和缓存命中率展示,以及回合完成后的刷新(#1286)。 ## 更新方式 通过应用内更新入口下载更新,完成后重启 Kun 安装。此更新沿用桌面应用的稳定更新通道,Kun Runtime 和终端命令随桌面应用一同更新。 --- ## English Kun 0.3.9 is a maintenance update for 0.3.8. - Keep Windows mini windows interactive with a dedicated drag bar and an always-visible restore button. - Collapse sidebar containers in mini mode, preserve the workbench layout, and fix maximized-window transitions and off-screen restoration. - Restore provider deletion, including built-in providers, with confirmation, pending state, error recovery, and persistent removal. Deleted providers can be added again. - Restore the composer usage summary, including persisted usage, live token and cache metrics, and refresh after a turn completes (#1286). Download the update from Kun and restart to install. The bundled runtime and terminal commands update with the

  5. Kun 0.3.8v0.3.8Sep 6, 2026191 downloads

    # Kun v0.3.8 Release Notes 本版本聚焦于**运行时稳定性、会话队列体验**与**智能化工作台**:引入持久化的运行时队列与公平调度,重构启动加载与对话轨迹视图,新增自动计划构建、项目看板、混合记忆基础与内置 GitHub 集成,并系统性加固了 SSE 事件流、Manager 交接、自更新与凭证安全等关键路径。 ## ✨ 新功能 - **启动体验重构**:新增 Kun 吉祥物加载动画,支持随机加载场景、鸟姿态变化与动画场景道具,启动等待更友好 (#5727482c, #a40b1ecf, #050daeec, #766666be, #c1d2e5fc) - **对话轨迹视图**:新增会话内轨迹查看(trajectory),支持与 harness 对齐的交互式渲染,并修复轨迹交互、角色颜色与原始/源细节对齐 (#f94403be, #4db6cba2, #7c7aeaee1, #7e7a6747f, #0691e896d, #37b4de73f, #d0e310339, #7a5ce850e) - **自动计划构建模式**:计划支持自动构建(automatic build),接受自动模式后续输入,并抑制中途计划完成提示 (#e64539188, #da38c7949, #95f22a95e, #fa1d5c3f4) - **会话看板**:新增会话级看板,支持项目看板计划元数据缓存、批量状态更新与工作区项目 kanban (#7c14866d1, #4bad5d50c, #ff345eae7, #c319d29a8) - **混合记忆基础**:新增混合记忆 foundation,含蒸馏候选核心,修复后台回填覆盖前台更新等问题 (#1164465d4, #ba36b1c22) - **运行时持久化队列**:为 Kun 运行时引入持久化的每线程 turn 队列与公平调度器,支持队列消息编辑、取消与两阶段准入,消除幽灵任务 (#e3a05a8fc, #1cfbe8374, #9ffef2b8e, #b0a5164cc, #46fd7aa47, #df139acdf) - **排队消息体验**:采用附着在 composer 上的 QueueDock,支持折叠/展开、拖拽与键盘重排、恢复到输入框编辑和失败重试,并在每条排队消息上冻结执行设置 (#c1d2e5fc5, #42518d8ec, #73f83d230, #742192ad8, #5ca01ae6f, #f80b0a198) - **内置 GitHub 集成**:新增内置 GitHub MCP 集成,GitHub 账号授权需显式确认 (#902b780e8, #eb859c3af) - **内置技能**:内置 35 个 KunAgent 技能作为只读内置技能,并支持在设置 mock

Code frequency

additions and deletions
+1.2M-1.2MWeek of 2026-05-17: +47,392 linesWeek of 2026-05-17: -1,481 linesWeek of 2026-05-24: +28,625 linesWeek of 2026-05-24: -4,303 linesWeek of 2026-05-31: +122,006 linesWeek of 2026-05-31: -30,821 linesWeek of 2026-06-07: +74,340 linesWeek of 2026-06-07: -11,427 linesWeek of 2026-06-14: +73,179 linesWeek of 2026-06-14: -9,678 linesWeek of 2026-06-21: +31,222 linesWeek of 2026-06-21: -4,392 linesWeek of 2026-06-28: +174,978 linesWeek of 2026-06-28: -50,332 linesWeek of 2026-07-05: +82,716 linesWeek of 2026-07-05: -27,103 linesWeek of 2026-07-12: +432,264 linesWeek of 2026-07-12: -35,159 linesWeek of 2026-07-19: +105,206 linesWeek of 2026-07-19: -9,252 linesWeek of 2026-07-26: +223,803 linesWeek of 2026-07-26: -29,445 linesWeek of 2026-08-02: +143,834 linesWeek of 2026-08-02: -14,750 linesWeek of 2026-08-09: +1,204,167 linesWeek of 2026-08-09: -835,633 linesWeek of 2026-08-16: +73,432 linesWeek of 2026-08-16: -10,017 linesWeek of 2026-08-23: +63,706 linesWeek of 2026-08-23: -12,311 linesWeek of 2026-08-30: +109,190 linesWeek of 2026-08-30: -25,493 linesWeek of 2026-09-06: +34,959 linesWeek of 2026-09-06: -6,227 linesMay 17, 2026Sep 6, 2026
+3M lines added, -1.1M removed over the last year.

Commits per week

last 52 weeks
2750Week of 2025-10-05: 0 commitsWeek of 2025-10-12: 0 commitsWeek of 2025-10-19: 0 commitsWeek of 2025-10-26: 0 commitsWeek of 2025-11-02: 0 commitsWeek of 2025-11-09: 0 commitsWeek of 2025-11-16: 0 commitsWeek of 2025-11-23: 0 commitsWeek of 2025-11-30: 0 commitsWeek of 2025-12-07: 0 commitsWeek of 2025-12-14: 0 commitsWeek of 2025-12-21: 0 commitsWeek of 2025-12-28: 0 commitsWeek of 2026-01-04: 0 commitsWeek of 2026-01-11: 0 commitsWeek of 2026-01-18: 0 commitsWeek of 2026-01-25: 0 commitsWeek of 2026-02-01: 0 commitsWeek of 2026-02-08: 0 commitsWeek of 2026-02-15: 0 commitsWeek of 2026-02-22: 0 commitsWeek of 2026-03-01: 0 commitsWeek of 2026-03-08: 0 commitsWeek of 2026-03-15: 0 commitsWeek of 2026-03-22: 0 commitsWeek of 2026-03-29: 0 commitsWeek of 2026-04-05: 0 commitsWeek of 2026-04-12: 0 commitsWeek of 2026-04-19: 0 commitsWeek of 2026-04-26: 0 commitsWeek of 2026-05-03: 0 commitsWeek of 2026-05-10: 0 commitsWeek of 2026-05-17: 11 commitsWeek of 2026-05-24: 21 commitsWeek of 2026-05-31: 14 commitsWeek of 2026-06-07: 142 commitsWeek of 2026-06-14: 199 commitsWeek of 2026-06-21: 152 commitsWeek of 2026-06-28: 218 commitsWeek of 2026-07-05: 275 commitsWeek of 2026-07-12: 127 commitsWeek of 2026-07-19: 103 commitsWeek of 2026-07-26: 130 commitsWeek of 2026-08-02: 144 commitsWeek of 2026-08-09: 130 commitsWeek of 2026-08-16: 123 commitsWeek of 2026-08-23: 156 commitsWeek of 2026-08-30: 224 commitsWeek of 2026-09-06: 135 commitsWeek of 2026-09-13: 147 commitsWeek of 2026-09-20: 163 commitsWeek of 2026-09-27: 13 commitsOct 5, 2025Sep 27, 2026
2.6K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 18 commitsSun 1:00 — 18 commitsSun 2:00 — 5 commitsSun 3:00 — 2 commitsSun 4:00 — 2 commitsSun 5:00 — 2 commitsSun 6:00 — 3 commitsSun 7:00 — 6 commitsSun 8:00 — 2 commitsSun 9:00 — 3 commitsSun 10:00 — 15 commitsSun 11:00 — 18 commitsSun 12:00 — 24 commitsSun 13:00 — 17 commitsSun 14:00 — 25 commitsSun 15:00 — 13 commitsSun 16:00 — 27 commitsSun 17:00 — 18 commitsSun 18:00 — 31 commitsSun 19:00 — 15 commitsSun 20:00 — 26 commitsSun 21:00 — 16 commitsSun 22:00 — 13 commitsSun 23:00 — 35 commitsMon 0:00 — 30 commitsMon 1:00 — 20 commitsMon 2:00 — 18 commitsMon 3:00 — 8 commitsMon 4:00 — 11 commitsMon 5:00 — 14 commitsMon 6:00 — 7 commitsMon 7:00 — 4 commitsMon 8:00 — 4 commitsMon 9:00 — 9 commitsMon 10:00 — 2 commitsMon 11:00 — 2 commitsMon 12:00 — 0 commitsMon 13:00 — 2 commitsMon 14:00 — 3 commitsMon 15:00 — 3 commitsMon 16:00 — 3 commitsMon 17:00 — 3 commitsMon 18:00 — 6 commitsMon 19:00 — 0 commitsMon 20:00 — 5 commitsMon 21:00 — 5 commitsMon 22:00 — 34 commitsMon 23:00 — 34 commitsTue 0:00 — 24 commitsTue 1:00 — 16 commitsTue 2:00 — 22 commitsTue 3:00 — 8 commitsTue 4:00 — 2 commitsTue 5:00 — 4 commitsTue 6:00 — 2 commitsTue 7:00 — 5 commitsTue 8:00 — 4 commitsTue 9:00 — 17 commitsTue 10:00 — 9 commitsTue 11:00 — 2 commitsTue 12:00 — 10 commitsTue 13:00 — 6 commitsTue 14:00 — 1 commitsTue 15:00 — 3 commitsTue 16:00 — 3 commitsTue 17:00 — 3 commitsTue 18:00 — 4 commitsTue 19:00 — 1 commitsTue 20:00 — 4 commitsTue 21:00 — 10 commitsTue 22:00 — 27 commitsTue 23:00 — 20 commitsWed 0:00 — 37 commitsWed 1:00 — 15 commitsWed 2:00 — 85 commitsWed 3:00 — 20 commitsWed 4:00 — 4 commitsWed 5:00 — 39 commitsWed 6:00 — 9 commitsWed 7:00 — 5 commitsWed 8:00 — 15 commitsWed 9:00 — 23 commitsWed 10:00 — 3 commitsWed 11:00 — 2 commitsWed 12:00 — 1 commitsWed 13:00 — 11 commitsWed 14:00 — 3 commitsWed 15:00 — 7 commitsWed 16:00 — 3 commitsWed 17:00 — 0 commitsWed 18:00 — 8 commitsWed 19:00 — 8 commitsWed 20:00 — 3 commitsWed 21:00 — 5 commitsWed 22:00 — 42 commitsWed 23:00 — 41 commitsThu 0:00 — 43 commitsThu 1:00 — 18 commitsThu 2:00 — 76 commitsThu 3:00 — 14 commitsThu 4:00 — 7 commitsThu 5:00 — 8 commitsThu 6:00 — 7 commitsThu 7:00 — 7 commitsThu 8:00 — 9 commitsThu 9:00 — 22 commitsThu 10:00 — 2 commitsThu 11:00 — 10 commitsThu 12:00 — 5 commitsThu 13:00 — 6 commitsThu 14:00 — 1 commitsThu 15:00 — 6 commitsThu 16:00 — 11 commitsThu 17:00 — 4 commitsThu 18:00 — 3 commitsThu 19:00 — 9 commitsThu 20:00 — 11 commitsThu 21:00 — 24 commitsThu 22:00 — 36 commitsThu 23:00 — 56 commitsFri 0:00 — 42 commitsFri 1:00 — 37 commitsFri 2:00 — 115 commitsFri 3:00 — 29 commitsFri 4:00 — 6 commitsFri 5:00 — 9 commitsFri 6:00 — 5 commitsFri 7:00 — 6 commitsFri 8:00 — 9 commitsFri 9:00 — 33 commitsFri 10:00 — 6 commitsFri 11:00 — 2 commitsFri 12:00 — 11 commitsFri 13:00 — 25 commitsFri 14:00 — 19 commitsFri 15:00 — 14 commitsFri 16:00 — 14 commitsFri 17:00 — 3 commitsFri 18:00 — 13 commitsFri 19:00 — 4 commitsFri 20:00 — 26 commitsFri 21:00 — 21 commitsFri 22:00 — 19 commitsFri 23:00 — 21 commitsSat 0:00 — 30 commitsSat 1:00 — 17 commitsSat 2:00 — 8 commitsSat 3:00 — 94 commitsSat 4:00 — 85 commitsSat 5:00 — 1 commitsSat 6:00 — 0 commitsSat 7:00 — 0 commitsSat 8:00 — 1 commitsSat 9:00 — 0 commitsSat 10:00 — 7 commitsSat 11:00 — 35 commitsSat 12:00 — 34 commitsSat 13:00 — 30 commitsSat 14:00 — 22 commitsSat 15:00 — 18 commitsSat 16:00 — 34 commitsSat 17:00 — 10 commitsSat 18:00 — 13 commitsSat 19:00 — 22 commitsSat 20:00 — 28 commitsSat 21:00 — 17 commitsSat 22:00 — 19 commitsSat 23:00 — 41 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.
DateListRankStars gained
Jun 8, 2026daily#19+32
Jun 7, 2026daily#9+102
  • freeCodeCamp/freeCodeCamp

    freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

    456.7K stars · TypeScript

  • openclaw/openclaw

    The AI that really does things. Any OS. Any Platform. The lobster way. 🦞

    391.3K stars · TypeScript

  • affaan-m/ECC

    The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

    272.8K stars · JavaScript

  • NousResearch/hermes-agent

    The agent that grows with you

    251.2K stars · Python

  • react/react

    The library for web and native user interfaces.

    250.9K stars · JavaScript

  • anomalyco/opencode

    The open source coding agent.

    211.7K stars · TypeScript